All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Samsung SSD 850 EVO
PostPosted: March 6th, 2019, 18:14 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Cant access my SSD and Samsung tools cant detect it, is there another way to flash the firmware that probably are corrupt?


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 6th, 2019, 22:27 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
I would first eliminate the possibility of a hardware problem. If you can upload detailed photos of each side of the PCB, I can show you the voltage test points.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 5:15 
Offline

Joined: August 13th, 2016, 17:10
Posts: 192
Location: Vienna, Austria
The EVO 840 (predecessor of your model) provides a SAFE mode where you can also do a firmware update through SATA.
(The third method is theoretically through the UART interface, but it's too unstable to be usable)
Additionally we developed a firmware update method through JTAG.

You might be interested in trying my SSD diagnostic tool https://github.com/thesourcerer8/SSDdiag , it has not been ported to EVO850 yet, but it might give some insight anyway, since most of the hardware in the controller is still the same.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 11:11 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Pictures of both sides.
Attachment:
IMG_2296.JPG
IMG_2296.JPG [ 1.27 MiB | Viewed 33711 times ]

Attachment:
IMG_2297.JPG
IMG_2297.JPG [ 1009.33 KiB | Viewed 33711 times ]


I read through the EVO 840 PDF and saw that about the SAFE mode, but I didn't found how I update the firmware by the SAFE mode?


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 16:03 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
These appear to be the voltage test points:

Attachment:
850_evo_regs_1.JPG
850_evo_regs_1.JPG [ 233.11 KiB | Viewed 33682 times ]
Attachment:
850_evo_regs_2.JPG
850_evo_regs_2.JPG [ 164.75 KiB | Viewed 33682 times ]
Attachment:
850_5V_e-fuse.JPG
850_5V_e-fuse.JPG [ 57.08 KiB | Viewed 33682 times ]

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 17:51 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Voltages seems ok?

VBoost = 12V
V1 = 1,1V
V2 = 1,8V
V3 = 1,2V
V4 = 3V
V5 = 1,8V
V6 = 1,1V
5V Efuse = Ok


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 17:53 
Offline

Joined: August 13th, 2016, 17:10
Posts: 192
Location: Vienna, Austria
In SAFE mode (when you shorten the 2 pins next to the 5 pins), the EVO840 provides a 500 MB RAM-disk on the SATA interface, and you can do the normal firmware update (UPLOAD MICROCODE) over SATA. If Samsung Magician does not recognize the SAFE mode SSD, you have to decrypt the firmware and send it with hdparm.

But the biggest question is: Does it come available on SATA when you shorten the SAFE mode pins? (Or is the controller completely dead?)


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 18:01 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Could this two be for the SAFE mode? One is GND and the other is 1,8V.
Attachment:
Samsung850EVO SAFE.PNG
Samsung850EVO SAFE.PNG [ 548.66 KiB | Viewed 33654 times ]


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 18:31 
Offline

Joined: August 13th, 2016, 17:10
Posts: 192
Location: Vienna, Austria
No, I think it is the 2 pins right below the 5 pins on this photo.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 7th, 2019, 19:10 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15440
Location: Australia
The voltages look OK to me.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 8th, 2019, 6:51 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
sourcerer wrote:
In SAFE mode (when you shorten the 2 pins next to the 5 pins), the EVO840 provides a 500 MB RAM-disk on the SATA interface, and you can do the normal firmware update (UPLOAD MICROCODE) over SATA. If Samsung Magician does not recognize the SAFE mode SSD, you have to decrypt the firmware and send it with hdparm.

But the biggest question is: Does it come available on SATA when you shorten the SAFE mode pins? (Or is the controller completely dead?)


I shorted the two pins (next to the five) and started the PC but no difference, are you shore about the pins?

According to the 840EVO PDF:
The 2 pins right next to the JTAG (0V, 1.8V) pins are activating the “SAFE Mode” when shorted. The other 2 pins (marked 1,815 V and 1,819V) are a UART port, which provides debugging functionality in SAFE Mode.

The two smaller pins (marked) I have 0 and 1,8V and the two pin next to the five, its 1,8 and 1,8V = UART port?
Image


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 9th, 2019, 10:41 
Offline
User avatar

Joined: December 4th, 2012, 1:35
Posts: 3844
Location: Adelaide, Australia
Probably like this... Serial or JTAG plus safe mode, firmware mode or whatever you want to call it:
Attachment:
untitled.png
untitled.png [ 427.12 KiB | Viewed 33538 times ]


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 12th, 2019, 14:40 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Notis today that if I wait for a time the disk will show up in windows, but with no info. Is the firmware still the suspected candidate? Anyone ho has the firmware in a hdparm format?

In hdparm:
/dev/hdc:

Model=, FwRev=, SerialNo=
Config={ HardSect SoftSect NotMFM Fixed Removeable }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=no
IORDY=no
PIO modes: pio0
AdvancedPM=no

Samsung Magician:
Attachment:
Samsung850EVO magician.JPG
Samsung850EVO magician.JPG [ 44.56 KiB | Viewed 33393 times ]


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 13th, 2019, 5:16 
Offline

Joined: August 13th, 2016, 17:10
Posts: 192
Location: Vienna, Austria
Please provide the relevant "dmesg" output. How long does it take to start the SSD? It's interesting that it actually shows the capacity correctly (it is 120 GB, isn't it?)


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 13th, 2019, 14:13 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Is there a "dmesg" for windows? I Think it takes about 5 minutes Before it will show up in windows. The size is correct in magician.


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 18th, 2019, 17:17 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
It seems that the --fwdownload command in the windows version of hdparm are not working?

I installed Ubuntu on the same PC and the disk is not detected, tried with another disk and it's detected, something that I have missed?


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 22nd, 2019, 14:01 
Offline

Joined: March 22nd, 2019, 8:13
Posts: 2
Location: New York
sourcerer wrote:
The EVO 840 (predecessor of your model) provides a SAFE mode where you can also do a firmware update through SATA.
(The third method is theoretically through the UART interface, but it's too unstable to be usable)
Additionally we developed a firmware update method through JTAG.

You might be interested in trying my SSD diagnostic tool https://github.com/thesourcerer8/SSDdiag , it has not been ported to EVO850 yet, but it might give some insight anyway, since most of the hardware in the controller is still the same.

I'm having:
SAMSUNG SSD 840 EVO 1TB, still able to boot in SAFE MODE with FIRMWARE: UNKNOWN
SAMSUNG SSD 840 EVO 120GB, in good standing with FIRMWARE: EXT0DB6Q

SAMSUNG SSD 840 EVO 120GB, EXT0DB6Q, I was able to upgrade from EXT0BB6Q to EXT0DB6Q by this command in REGULAR MODE
Code:
hdparm --yes-i-know-what-i-am-doing --please-destroy-my-drive --fwdownload EXT0DB6Q /dev/sda

so, the process is kind of working to upgrade the firmware, while I'm trying to move from EXT0DB6Q to EXT0BB6Q back it gives me this kind of error:
Code:
hdparm --yes-i-know-what-i-am-doing --please-destroy-my-drive --fwdownload EXT0BB6Q /dev/sda
/dev/sda:
fwdownload: xfer_mode=3 min=1 max=2048 size=512
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 04 51 e0 00 21 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
. Done.

I'm trying to upgrade SAMSUNG SSD 840 EVO 1TB, still able to boot in SAFE MODE with FIRMWARE: UNKNOWN to EXT0BB6Q or EXT0DB6Q with the same result of sda hanging and not answering anymore forcing to shut down by holding power for 5 sec
I have this message and stuck
Code:
/dev/sda:
fwdownload: xfer_mode=3 min=1 max=2048 size=512
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Ordered Altera USB Blaster cable...

Any ideas?


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: March 23rd, 2019, 14:33 
Offline

Banned User

Joined: March 22nd, 2019, 17:02
Posts: 39
Location: London
Do you need the data off the drive?

_________________
[spam removed]


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: June 1st, 2019, 14:50 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Why does not Ubuntu detect the disk? In w10 the disk is detected but not readable.

Here is dmesg for the disks.

sudo dmesg | grep sd
[sudo] password for ...
[ 1.329864] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 1.329906] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[ 1.329914] sd 0:0:0:0: [sda] Write Protect is off
[ 1.329916] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.329934] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.390306] sda: sda1 sda2 < sda5 > sda3
[ 1.390582] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.406608] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 1.406654] sd 2:0:0:0: [sdb] 250069680 512-byte logical blocks: (128 GB/119 GiB)
[ 1.406667] sd 2:0:0:0: [sdb] Write Protect is off
[ 1.406669] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 1.406689] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.409893] sdb: sdb1 sdb2 sdb3 sdb4
[ 1.410210] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 2.768352] sd 6:0:0:0: Attached scsi generic sg3 type 0
[ 2.768523] sd 6:0:0:1: Attached scsi generic sg4 type 0
[ 2.768678] sd 6:0:0:2: Attached scsi generic sg5 type 0
[ 2.768825] sd 6:0:0:3: Attached scsi generic sg6 type 0
[ 2.768996] sd 6:0:0:4: Attached scsi generic sg7 type 0
[ 2.909807] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[ 2.912305] sd 6:0:0:1: [sdd] Attached SCSI removable disk
[ 2.915025] sd 6:0:0:2: [sde] Attached SCSI removable disk
[ 2.917484] sd 6:0:0:3: [sdf] Attached SCSI removable disk
[ 2.919929] sd 6:0:0:4: [sdg] Attached SCSI removable disk
[ 3.137200] sd 7:0:0:0: Attached scsi generic sg8 type 0
[ 3.137797] sd 7:0:0:0: [sdh] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[ 3.138793] sd 7:0:0:0: [sdh] Write Protect is off
[ 3.138794] sd 7:0:0:0: [sdh] Mode Sense: 28 00 00 00
[ 3.139794] sd 7:0:0:0: [sdh] No Caching mode page found
[ 3.139797] sd 7:0:0:0: [sdh] Assuming drive cache: write through
[ 3.199661] sdh: sdh1
[ 3.202793] sd 7:0:0:0: [sdh] Attached SCSI disk
[ 117.030332] audit: type=1400 audit(1559411397.647:47): apparmor="DENIED" operation="connect" profile="snap.udisks2.udisksd" name="/run/dbus/system_bus_socket" pid=1198 comm="pool" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0


Top
 Profile  
 
 Post subject: Re: Samsung SSD 850 EVO
PostPosted: June 2nd, 2019, 3:14 
Offline

Joined: January 30th, 2013, 11:22
Posts: 12
Location: Sweden
Could this be the problem? Is it possible to extend the timeout?

[ 6.400032] ata5: link is slow to respond, please be patient (ready=0)
[ 11.080033] ata5: COMRESET failed (errno=-16)
[ 16.432036] ata5: link is slow to respond, please be patient (ready=0)
[ 21.112034] ata5: COMRESET failed (errno=-16)
[ 26.464032] ata5: link is slow to respond, please be patient (ready=0)
[ 56.164046] ata5: COMRESET failed (errno=-16)
[ 56.164054] ata5: limiting SATA link speed to 1.5 Gbps
[ 61.216034] ata5: COMRESET failed (errno=-16)
[ 61.216042] ata5: reset failed, giving up


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

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