HDD GURU FORUMS
http://forum.hddguru.com/

SSDdiag: New diagnostic tool for Samsung SSD EVO 840
http://forum.hddguru.com/viewtopic.php?f=7&t=34852
Page 1 of 1

Author:  sourcerer [ January 18th, 2017, 19:27 ]
Post subject:  SSDdiag: New diagnostic tool for Samsung SSD EVO 840

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

Author:  Alhalal555 [ February 6th, 2017, 17:37 ]
Post subject:  Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840

thank you

Author:  vinibali [ January 1st, 2021, 14:51 ]
Post subject:  Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840

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

Author:  sourcerer [ January 1st, 2021, 15:23 ]
Post subject:  Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840

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.

Author:  vinibali [ January 1st, 2021, 15:39 ]
Post subject:  Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840

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.

Author:  fzabkar [ January 1st, 2021, 18:12 ]
Post subject:  Re: SSDdiag: New diagnostic tool for Samsung SSD EVO 840

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/

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/