XGecu Programmer Forums's Archiver

STALKER_71 发表于 2020-11-29 00:07

EMMC Samsung ISP detect bug

Hello. XGecu T56 dont detect KMQE60013M-B318 via isp connection. Other EMMC work fine. Did you check this?

admin 发表于 2020-11-29 09:47

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=397&ptid=126]1#[/url] [i]STALKER_71[/i] [/b]

[size=14px]In this case, the reason can not be determined. All the algorithms of EMMC are universal and can not work through ISP. In general, it is reason of the main board.[/size]
[size=14px]power on the motherboard, and check the [/size]RST_ N[size=14px] of EMMC  Whether RST_N pin is high level, if RST_ N is 0. It is necessary to pull up the pin, otherwise EMMC will not work. [/size]

STALKER_71 发表于 2020-11-29 17:36

I solder directly to the emmc chip. But it not detect. I tried on three single chips. I will try to pull up RST_n to high level.

admin 发表于 2020-12-1 17:00

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=401&ptid=126]3#[/url] [i]STALKER_71[/i][/b]
[b]it maybe  VCCQ Problem .[/b]
[b]if this chip not supported by VCCQ=3.3V.  you must use VCCQ=1.8V.[/b]
[b]and you need an external  1.8V power.
[/b]

STALKER_71 发表于 2020-12-1 21:22

Yes I applied 1.8 with external power. Pull Up RST_n dont change anything. Chip dont detect. When i add pull up resistors 22k to cmd and dat0. Chip detect, but with wrong csd and sid, and dont read and erase. I cant test it with adapter BGA221 because i cant find it to buy.

STALKER_71 发表于 2020-12-17 22:58

I tested many samsung and hynix chip bga221 EMMC v5.1 and all have detect problem. Only EMMC v5.1 have this problem. All lower version detect and read normal. Maybe this bug of programmer software.

admin 发表于 2020-12-19 11:25

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=448&ptid=126]6#[/url] [i]STALKER_71[/i] [/b]


   thanks I will test about  these EMMC.

admin 发表于 2020-12-24 09:43

I got a KMQE60013M-B318
I tested adapter and ISP  .
ALL is Normal.

[b][size=4]ADAPTER TEST[/size][/b]
[attach]220[/attach]

[b][size=4]ISP TEST[/size][/b]
[attach]221[/attach]

admin 发表于 2020-12-24 09:59

[size=14px]When you build your own circuit and do ISP testing,[/size][size=14px] pay attention to the following points:[/size]


[size=14px]1. External power supply voltage must be accurate, using linear regulated power supply.[/size]
[size=14px]2. all EMMC GND and VCC  VCCQ must be connected.[/size]
[size=14px]3. you can buy EMMC bga221 adapter from dealer.[/size]


this is EMMC Pins:

[attach]222[/attach]



this is EMMC bga221 adapter PCB: refer to it

[attach]223[/attach]



[size=14px][b]BOM :[/b][/size]
[size=14px]   C1 C2                10uf/10V/1206  [/size]
[size=14px]   C3                     2.2uf/10V/1206 [/size]
[size=14px]   C4/5/6/7/8/9       0.1uf/50V/0603  [/size]
[size=14px]   C10                   15P/50V/0603[/size]
[size=14px]   R1 R2                33  ohm  /0603[/size]
[size=14px]   U4  LDO           XC6206-1.8V[/size]

STALKER_71 发表于 2021-1-8 09:18

Can you show your isp connection board. Maybe i do something wrong. And can you add link for buying bga221 adapter on ebay or alixpress.

admin 发表于 2021-1-8 13:09

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=500&ptid=126]10#[/url] [i]STALKER_71[/i] [/b]

[url=https://www.aliexpress.com/item/1005001989509124.html]https://www.aliexpress.com/item/1005001989509124.html[/url]

[b]you only use external power VCC=3.3 V on the adapter .  VCCQ and Rstn  not connect[/b][b] then do testing ISP(VCCQ=1.8V)[/b]

[img]http://forums.xgecu.com/attachment.php?aid=MTMxfGFmYjg2ZDc4fDE2MTAwODI2ODh8MmFmNzNxVVErY09nQVVrbE8xeUNVbE92M1NxVCtEaTBwWmlkcUY5Q2lVSlJXdHc%3D&noupdate=yes[/img]

STALKER_71 发表于 2021-5-4 00:11

Over ISP I applied vccq and vcc external power accuracy stabilized. But samsung emmc detecting unstable. Please show your isp connection. Take a photo if possible.  maybe something is wrong with my connection. But hynix, kingston, sandisk bga221 detect normal.  even bga254 reads and writes well.  Problems only with bga221.  I can test a lot at your request.

STALKER_71 发表于 2021-5-4 00:21

BGA221 isp pinout I using
https://ibb.co/b6V9NkJ

admin 发表于 2021-5-4 10:12

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=693&ptid=126]13#[/url] [i]STALKER_71[/i] [/b]

I did ISP testing with the BGA221 adapter.
[attach]503[/attach]

STALKER_71 发表于 2021-5-4 15:11

OK.  I will test this method and write down the results.

STALKER_71 发表于 2021-5-4 16:04

Yes with such a connection it works, but it does not work if you connect a device with emmc samsung to isp directly. This is the problem I'm trying to solve. I add pull up resistor 22k to cmd and dat0. It solve problem whith detecting hynix but not sovled problem with samsung.

admin 发表于 2021-5-4 16:23

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=697&ptid=126]16#[/url] [i]STALKER_71[/i] [/b]

U4  is LDO . you Can not use LM1117-1.8,
or test ISP 3.3V  ,   connect VCC and VCCQ both to 3.3V power.

STALKER_71 发表于 2021-5-4 20:05

When VCC and VCCQ 3.3V i see in log

Failed -- CMD1 Respond error Status: 40FF8080

admin 发表于 2021-5-8 09:44

[quote]Yes with such a connection it works, but it does not work if you connect a device with emmc samsung  ...
[size=2][color=#999999]STALKER_71 发表于 2021-5-4 16:04[/color] [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=697&ptid=126][img]http://forums.xgecu.com/images/common/back.gif[/img][/url][/size][/quote]
It should be the signal interference of the CLK line.

The function of the two GND wires is to shield the clock signal, you need to find a way to handle the clock signal wire

STALKER_71 发表于 2021-5-8 18:30

I adding this resistors to my isp adapter.

[url]https://ibb.co/sPqvHmP[/url]

Hynix emmc work excellent in 50MHz speed.

[url]https://ibb.co/BGGK5xC[/url]

But this samsung take this in log

[url]https://ibb.co/jz8HsWh[/url]

If you can see in log PNM, Product Date wrong. And it saying DAT0 is BUSY

Z3X work with this emmc fine over this isp adapter. And dont have any detecting problem. I have not idea about this trouble. Some Samsung BGA221 detecting and work fine, and some of it dont detect.

Maybe some of this ic needed lower detection speed in MHz.

STALKER_71 发表于 2021-6-3 17:57

I solved my problem with this IC. It's only detect when VCCQ 3.3V. Some other emmc also working only when VCCQ 3.3V. I dont now why. Z3X work fine with this IC when VCCQ 1.8V.

I would also like to ask you to add a choice which userdata size read. For example, FULL, 256MB, 512MB, 1GB. It is not always necessary to read a full dump and such a choice would be convenient. At the moment, to make a value through "multiple partition" for reading long and not convenient.

I also want to ask if you are planning to add work with the EMMC file system sections as in the example in the screenshot. It is necessary when you need to erase \ write some of the file system partitions and you have to read the dump and work with file system in other programms to do. It is not comfortable. I could become a tester for these functions.

https://ibb.co/Hx03bqS

admin 发表于 2021-6-4 12:27

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=797&ptid=126]21#[/url] [i]STALKER_71[/i] [/b]

you must use a external VCCQ power when VCCQ=1.8V,   
   [attach]647[/attach]

STALKER_71 发表于 2021-6-4 15:38

Admin please dont post stupid answer. When vccq 1.8 i always use external power. And I writed about it.  How about other my question?

admin 发表于 2021-6-4 16:43

Sorry:
[quote]add a choice which userdata size read. For example, FULL, 256MB, 512MB, 1GB. [size=2] [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=805&ptid=126][img]http://forums.xgecu.com/images/common/back.gif[/img][/url][/size][/quote]it is easy. This function will be added in the next version.

But the file system of processing is too complicated, and I have not enough knowledge in this area.

STALKER_71 发表于 2021-6-4 17:50

[quote]Sorry:
it is easy. This function will be added in the next version.[/quote]

Ok. It's nice.

STALKER_71 发表于 2021-6-4 17:57

About filesystem, maybe in future you can adding this. Because it wery needed function for emmc working.

STALKER_71 发表于 2021-7-10 00:50

Thanks for adding userdata reading size. It's great and very usefull. Admin you best! And i have question about jtag adding. I wait this many time from previous year.

admin 发表于 2021-7-11 08:40

[b]回复 [url=http://forums.xgecu.com/redirect.php?goto=findpost&pid=925&ptid=126]27#[/url] [i]STALKER_71[/i] [/b]

JTAG is only a low-level interface, and the upper-level application software is not universal.
We have tested the hardware and low_level and there is no problem.

STALKER_71 发表于 2021-7-11 16:41

It's good news. Maybe a working method like rt809h will do.

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.