All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Samsung activate firmware slot via PCI commands
PostPosted: October 7th, 2019, 23:09 
Offline

Joined: October 7th, 2019, 23:00
Posts: 7
Location: New York
Hello, I did a bad firmware flash on a Samsung SSD NVME. I have a backup of the data so that is not the issue. I would like to start using the bricked drive again. I put bad firmware in slot 2 and activated slot 2. Slot 1 still has the good firmware. But the device does not complete initialization as /dev/nvme on Linux anymore (same under Windows). Only a PCI endpoint shows up in lspci -v:
09:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd Device a801
Flags: fast devsel, IRQ 16, NUMA node 0
Memory at df100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable- Count=8 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158] Power Budgeting <?>
Capabilities: [168] Secondary PCI Express <?>
Capabilities: [188] Latency Tolerance Reporting
Capabilities: [190] L1 PM Substates

so I can't simply use nvme-cli to switch to the Page 1 firmware. How can I switch this drive, mostly bricked but still showing up in the PCI device tree, back to the factory firmware in Slot 1? Either via this endpoint, PCI registers or perhaps using a serial recovery console or even jtag? I hope I clearly described the problem. Thanks for any help.


Top
 Profile  
 
 Post subject: Re: Samsung activate firmware slot via PCI commands
PostPosted: October 8th, 2019, 18:45 
Offline

Joined: October 7th, 2019, 23:00
Posts: 7
Location: New York
I am going to see if I can activate safe mode.

Which of the contacts in this photo

https://i.ebayimg.com/images/g/bGcAAOSw ... -l1600.jpg

should I short in order to get the drive into safe mode? Bonus points if you know the jtag pinouts and the serial port recovery console pins as well :D


Top
 Profile  
 
 Post subject: Re: Samsung activate firmware slot via PCI commands
PostPosted: October 8th, 2019, 23:58 
Offline

Joined: October 7th, 2019, 23:00
Posts: 7
Location: New York
This drive doesn't have the line of 7 holes/vias that most previous Samsung SSDs have for jtag and safe mode. Instead at the end there are 2x5 (jtag most likely) and 2x3 pins. Also on the sides there are 2x1 pads top and bottom. If anyone knows which of these trigger safe mode let me know!


Top
 Profile  
 
 Post subject: Re: Samsung activate firmware slot via PCI commands
PostPosted: October 13th, 2019, 15:40 
Offline

Joined: October 7th, 2019, 23:00
Posts: 7
Location: New York
Thanks to sourcerer I have now figured out how to get this SM961 into safe mode. But I cannot get it to switch back to the factory firmware using DC toolkit or nvme-cli, I think I need a firmware file. If anyone has a firmware file of version CAX7***Q (HP version SM961) please let me know. Lenovo version is easy to find but that is the one that got me into this trouble. Thanks!


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

All times are UTC - 5 hours [ DST ]


Who is online

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