All times are UTC - 5 hours [ DST ]


Forum rules


Please do not post questions about data recovery cases here (use this forum instead). This forum is for topics on finding new ways to recover data. Accessing firmware, writing programs, reading bits off the platter, recovering data from dust...



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: NAND Decoder available as Trial for all
PostPosted: September 5th, 2019, 4:31 
Offline
User avatar

Joined: December 29th, 2016, 18:13
Posts: 141
Location: Poland
Hello guys,

Feel free to use our NAND Decoder which we use for NAND technological pinout discovery - you can find it at https://multi-recovery.com/decoder_beta.php. Coomparing to others , ours offer some benefits as:

- additional filtering by Read ID command (90h)
- huge database ID which is updated monthly
- additional filtering by Read Page command (30h) - not available in TRIAL

For what are those ?
Well..... if you are trying to find NAND technological pinout you will for sure stop at position where you need to sort in correct order data lines. In basic cases and ID you can use even Excel for this which will allows you decode Binary to HEX according what you read from Logic Analyzer. In some more complex situations you will you can get in some situations case where multiple lines switch is needed to get correct ID. In such cases filters by Read ID command and more advanced Page Read can give you 100% informaiotn what need to be switched on your Data Line order.

Image
Link: https://multi-recovery.com/decoder_beta.php

Got ideas about what can be addedd more ? Feel free to contact me.

_________________
Best regards,
Boguslaw Rzepka,
Multi-COM Ltd., Poland


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 5th, 2019, 19:16 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3844
Location: Adelaide, Australia
Nice, thank you for helping the community!

You may want to fix the spelling mistake on the second purple button. "Decode NAND ID From (not Form) BIN


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 6th, 2019, 4:12 
Offline
User avatar

Joined: December 29th, 2016, 18:13
Posts: 141
Location: Poland
@HaQue: Thx - fixed

_________________
Best regards,
Boguslaw Rzepka,
Multi-COM Ltd., Poland


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 6th, 2019, 16:59 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
I just tried to ID this NAND from an ST500LM000 SSHD, but it wasn't recognised:

Code:
Flash Statistics:
BridgePSMDriverID = 0x0009
FlashID 98D7 8493 72D7
Flash Manufacturer: Toshiba19nm
Flash Capacity = 00008 GB MLC

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 7th, 2019, 3:24 
Offline
User avatar

Joined: December 29th, 2016, 18:13
Posts: 141
Location: Poland
Hm... I checked and it's there 98D78493

To explain - let's assume that after connecting LA you decode data byes lines as 0x19 0x77 0x41 0x33, enter those and you will see your real ID and Data lines order so 0x98D78493 and

LINE: 0 -> DATA: 7
LINE: 1 -> DATA: 0 DATA: 1
LINE: 2 -> DATA: 6
LINE: 3 -> DATA: 3
LINE: 4 -> DATA: 4
LINE: 5 -> DATA: 0 DATA: 1
LINE: 6 -> DATA: 2
LINE: 7 -> DATA: 5

This means that your LINE 0 is in fact IO7/Data7, Line 1 can be IO0/Data0 or IO1/Data1, Line 2 are IO6/Data6.... etc.
To filter possibility od Data0/Data1 in this case we can use 90h ID command filter or additionaly available in Fullversion Page read filter (30h) - then hit are 100% without any additional need for checking possiblities.

If you will find any ID that are not available let me know - since we are also using this tool we are updating database once it's possible ;)

_________________
Best regards,
Boguslaw Rzepka,
Multi-COM Ltd., Poland


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 7th, 2019, 11:57 
Offline
User avatar

Joined: August 15th, 2006, 3:01
Posts: 3464
Location: CDRLabs @ Chandigarh [ India ]
Bolo wrote:
Hm... I checked and it's there 98D78493

To explain - let's assume that after connecting LA you decode data byes lines as 0x19 0x77 0x41 0x33, enter those and you will see your real ID and Data lines order so 0x98D78493 and

LINE: 0 -> DATA: 7
LINE: 1 -> DATA: 0 DATA: 1
LINE: 2 -> DATA: 6
LINE: 3 -> DATA: 3
LINE: 4 -> DATA: 4
LINE: 5 -> DATA: 0 DATA: 1
LINE: 6 -> DATA: 2
LINE: 7 -> DATA: 5

This means that your LINE 0 is in fact IO7/Data7, Line 1 can be IO0/Data0 or IO1/Data1, Line 2 are IO6/Data6.... etc.
To filter possibility od Data0/Data1 in this case we can use 90h ID command filter or additionaly available in Fullversion Page read filter (30h) - then hit are 100% without any additional need for checking possiblities.

If you will find any ID that are not available let me know - since we are also using this tool we are updating database once it's possible ;)


Hello,
Can you make a small demo for this please ,Would be really helpful

_________________
Regards
Amarbir S Dhillon , Chandigarh Data Recovery Labs [India]
Logical,Semi Physical And Physical Data Recovery
Website-> http://www.chandigarhdatarecovery.com


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 8th, 2019, 10:35 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3844
Location: Adelaide, Australia
I think it is pretty clear : in above example, if the chip doesn't ID as 98D78493 with:

LINE: 0 -> DATA: 7
LINE: 1 -> DATA: 0
LINE: 2 -> DATA: 6
LINE: 3 -> DATA: 3
LINE: 4 -> DATA: 4
LINE: 5 -> DATA: 1
LINE: 6 -> DATA: 2
LINE: 7 -> DATA: 5

then rewire to switch LINE 1 & LINE 5 to:

LINE: 0 -> DATA: 7
LINE: 1 -> DATA: 1
LINE: 2 -> DATA: 6
LINE: 3 -> DATA: 3
LINE: 4 -> DATA: 4
LINE: 5 -> DATA: 0
LINE: 6 -> DATA: 2
LINE: 7 -> DATA: 5

sounds like a paid version may be able to take away that small problem as well. The actual finding of the data lines in the first place would be something a lot may be stuck on.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 8th, 2019, 13:24 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
@Bolo, thanks, I see what your tool does now.

I revisited this thread:

https://forum.hddguru.com/viewtopic.php?f=10&t=38304

Your tool produced the same result as I did, but the OP was unsuccessful with it. :?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 8th, 2019, 15:49 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
ISTM that the tool(s) would be more useful if it/they were to additionally support the 90/20 READ ID command. This command returns an "ONFI" text string.

AISI, the two READ ID commands would enable us to identify the lines corresponding to data bits 0, 3, 5 and 6. There would be two possible line combinations for data bits 4 and 7, and two combinations for bits 1 and 2. The final result would be 4 possible combinations for the real flash ID.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 8th, 2019, 17:22 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
fzabkar wrote:
AISI, the two READ ID commands would enable us to identify the lines corresponding to data bits 0, 3, 5 and 6. There would be two possible line combinations for data bits 4 and 7, and two combinations for bits 1 and 2. The final result would be 4 possible combinations for the real flash ID.

I think I made a mistake. ISTM that it should be possible to do better than that.

https://user.eng.umd.edu/~blj/CS-590.26/micron-tn2919.pdf

Attachment:
READ_ID_90h_20h.gif
READ_ID_90h_20h.gif [ 18.78 KiB | Viewed 16864 times ]

There are 28 possible combinations of lines 0 - 7 corresponding to the 90h/00h READ ID command. One combination will produce a 4-byte/5-byte ID. This identifies the two lines corresponding to data bits 4 and 7, but not necessarily in that order.

There are now 6 remaining lines, one of which corresponds to data bit 5. We now execute the 90h/20h READ ID command until we get a result. This identifies data bit 5, and it gives a result which we know is an "ONFI" text string.

Comparing "ONFI" bytes 0 and 1 gives us the line corresponding to data bit 0.

Now that we have identified data bits 0, 4, 5, 6 and 7, it only remains to find bits 1, 2, and 3.

Comparing the "F" and "I" bytes gives us the line corresponding to data bit 1.

Comparing the "N" and "F" bytes now gives us the lines corresponding to data bits 2 and 3.

Now we know all the data bits except for 4 and 7, but this leaves us with only two possible combinations.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 8th, 2019, 19:40 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15461
Location: Australia
Data bit 6 is identified by performing a bitwise AND of all four "ONFI" bytes. That is, bit 6 is the only bit which is set in all 4 bytes.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: NAND Decoder available as Trial for all
PostPosted: September 9th, 2019, 2:17 
Offline
User avatar

Joined: December 29th, 2016, 18:13
Posts: 141
Location: Poland
ONFI is not the way.... it's becouse only Micron and Intel handle it correctly as it schould - if you will get Samsung then forget about decoding ONFI. We already thinked about this way

_________________
Best regards,
Boguslaw Rzepka,
Multi-COM Ltd., Poland


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group