Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't find firmware for "WD PC SN740 SDDPTQD-1T00" #9

Open
shelvacu opened this issue Jun 28, 2024 · 6 comments
Open

Can't find firmware for "WD PC SN740 SDDPTQD-1T00" #9

shelvacu opened this issue Jun 28, 2024 · 6 comments

Comments

@shelvacu
Copy link

Running NixOS on a Framework 16

$ wd_fw_update -vv
[[2024-06-28 13:46:13]] DEBUG:wd_fw_update.main:Namespace(loglevel=10)
[[2024-06-28 13:46:13]] INFO:wd_fw_update.main:Starting firmware update process.
Western Digital SSD Firmware Update Tool

[[2024-06-28 13:46:13]] DEBUG:wd_fw_update.main:Getting device list.
[[2024-06-28 13:46:13]] DEBUG:wd_fw_update.main:Asking for device: ['/dev/nvme0n1', '/dev/nvme1n1']

[?] Select the NVME drive you want to update: 
   /dev/nvme0n1
 > /dev/nvme1n1

[[2024-06-28 13:46:21]] DEBUG:wd_fw_update.main:Getting device properties.
[[2024-06-28 13:46:21]] INFO:wd_fw_update.main:Model name: WD PC SN740 SDDPTQD-1T00
[[2024-06-28 13:46:21]] DEBUG:wd_fw_update.main:Getting firmware url.
[[2024-06-28 13:46:21]] DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): wddashboarddownloads.wdc.com:443
[[2024-06-28 13:46:21]] DEBUG:urllib3.connectionpool:https://wddashboarddownloads.wdc.com:443 "GET /wdDashboard/config/devices/lista_devices.xml HTTP/11" 200 45945
Traceback (most recent call last):
  File "/tmp/tmp.B5xaB9c0ui/bin/wd_fw_update", line 8, in <module>
    sys.exit(run())
             ^^^^^
  File "/tmp/tmp.B5xaB9c0ui/lib/python3.11/site-packages/wd_fw_update/main.py", line 555, in run
    main(sys.argv[1:])
  File "/tmp/tmp.B5xaB9c0ui/lib/python3.11/site-packages/wd_fw_update/main.py", line 545, in main
    wd_fw_update()
  File "/tmp/tmp.B5xaB9c0ui/lib/python3.11/site-packages/wd_fw_update/main.py", line 481, in wd_fw_update
    relative_urls = get_fw_url(model=model)
                    ^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/tmp.B5xaB9c0ui/lib/python3.11/site-packages/wd_fw_update/main.py", line 169, in get_fw_url
    raise RuntimeError("No Firmware found for this model. Please check your selection / model.")
RuntimeError: No Firmware found for this model. Please check your selection / model.

It seems SN740 isn't in the usual list at all, I'm not sure where to find firmware files for this drive.

@not-a-feature
Copy link
Owner

Yes the 740 firmware isn't supported.
I haven't figured out if/where there is version that could be integrated.

For windows, dell provides an updater: https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=d5c6n&lwp=rt

@shelvacu
Copy link
Author

https://community.frame.work/t/notes-from-attempting-to-extract-wd-pc-sn740-firmware-from-dell-updater-exe/58376

@shelvacu
Copy link
Author

shelvacu commented Oct 2, 2024

I was able to install fw version 731120WD (labeled as for SN770) and it seems to be working just fine

$ sn740=nvme0
$ cat /sys/class/nvme/$sn740/model
WD PC SN740 SDDPTQD-1T00
$ cat /sys/class/nvme/$sn740/firmware_rev
731120WD
$ sudo nvme fw-log /dev/$sn740
Firmware Log for device:nvme0
afi  : 0x2
frs1 : 0x3030303031313337 (73110000)
frs2 : 0x4457303231313337 (731120WD)

@not-a-feature
Copy link
Owner

Thanks for diving into this.

According to a few sources the SN 740 is an OEM version of the SN 770.

While the NAND Flashs have different part numbers, the SN 770 and the SN 740 share at least the same controller.

While it seems to work in your case, I'm not confident to include these findings into the updater.

@shelvacu
Copy link
Author

shelvacu commented Oct 3, 2024

I totally agree you shouldn't install the firmware automatically; Could you include a link to more information when this model is detected so the user can make their own choice?

@not-a-feature
Copy link
Owner

Sounds good. If i have some spare time i'll implement that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants