All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: January 18th, 2017, 19:27 
Offline

Joined: August 13th, 2016, 17:10
Posts: 113
Location: Vienna, Austria
Hi,

I developed a new tool to quickly analyze Samsung Evo 840 SSDs which do not start up properly through JTAG.

It has the following features:
It detects the firmware version from the running code.
It looks whether the SATA PHY is able to see a SATA connection, and whether the firmware was able to establish the connection.
It checks the 8 Flash channels
It analyzes Stack-Traces
It analyzes the Inter-Process-Communication between the ARM cores, and explains their meaning

You can get it at:
https://github.com/thesourcerer8/SSDdiag


Top
 Profile  
 
 Post subject: Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: February 6th, 2017, 17:37 
Offline

Joined: November 7th, 2008, 19:52
Posts: 6
thank you


Top
 Profile  
 
 Post subject: Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: January 1st, 2021, 14:51 
Offline

Joined: August 29th, 2013, 4:28
Posts: 15
Location: Hungary
It's a great tool, I managed to get some information about my dead 850 PRO using an OrangePI's sysfsgpio interface.
https://forum.hddguru.com/viewtopic.php?f=10&t=40765

I'm not an expert of ARM debugging, but is there any way to watch some realtime UART message? According to the log the flash chips are healthy, however this one just rejects the MICROCODE_UPDATE.
Some lines from the non-safe mode debug log:
Code:
Illegal hexadecimal digit 'u' ignored at ssddiag.pl line 300.
Error: Timeout waiting for InstrCompl=1
Timeout waiting for InstrCompl=1
Illegal hexadecimal digit 'u' ignored at ssddiag.pl line 307.
Current SSD time 1KHz: 4294967296 (unknown) uptime: 4294967 seconds => 71582 minutes => 1193 hours
Current SSD time 4KHz: 4294967296 (unknown) uptime: 1073741 seconds => 17895 minutes => 298 hours
Encryption Ranges table:
Error: Timeout waiting for InstrCompl=1


Safe mode:
Code:
GPIO register: 00000050
Flash Channel #0 Status: GOOD (ffff0000)  4-Status: 0 (540016920) (203C005C:00000000)
Flash Channel #1 Status: GOOD (ffff0000)  4-Status: 0 (540082456) (203C005C:00000000)
Flash Channel #2 Status: GOOD (ffff0000)  4-Status: 0 (540147992) (203C005C:dbf850b8)
Flash Channel #3 Status: GOOD (ffff0000)  4-Status: 0 (540213528) (203C005C:0b4bc927)
Flash Channel #4 Status: GOOD (ffff0000)  4-Status: 0 (541065496) (203C005C:00000000)
Flash Channel #5 Status: GOOD (ffff0000)  4-Status: 0 (541131032) (203C005C:00000000)
Flash Channel #6 Status: GOOD (ffff0000)  4-Status: 0 (541196568) (203C005C:302645c0)
Flash Channel #7 Status: GOOD (ffff0000)  4-Status: 0 (541262104) (203C005C:8a15951c)
Current SSD time 1KHz: 1 (ffffffff) uptime: 0 seconds => 0 minutes => 0 hours


Top
 Profile  
 
 Post subject: Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: January 1st, 2021, 15:23 
Offline

Joined: August 13th, 2016, 17:10
Posts: 113
Location: Vienna, Austria
The first report looks like a communication problem with the JTAG interface so those values are useless, the second report looks like some real values from the hardware.


Top
 Profile  
 
 Post subject: Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: January 1st, 2021, 15:39 
Offline

Joined: August 29th, 2013, 4:28
Posts: 15
Location: Hungary
sourcerer wrote:
The first report looks like a communication problem with the JTAG interface so those values are useless, the second report looks like some real values from the hardware.


Yes, the first lines are the normal boot with those problems. I'm reading your manual at the moment, I need to find some 1,8V UART device to watch the logs.


Top
 Profile  
 
 Post subject: Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840
PostPosted: January 1st, 2021, 18:12 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 13017
Location: Australia
vinibali wrote:
I need to find some 1,8V UART device to watch the logs.

This looks suitable:
https://www.amazon.com.au/gp/product/B07WX2DSVB/

_________________
A backup a day keeps DR away.


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 14 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