Nitrokey 3 LPC55 devices (NFC variants) updating doesn't work
Nitrokey App: 2.3.3 Nitrokey 3 v1.7.2 LPC55 Linux Mint 22 Cinnamon 6.2.9
-> Stick Nitrokey 3 into USB, open App, Check for Update, "Do you want ... 1.8.0", "Ok", "Do not remove...", "Ok", "Press Nitrokey" = Update failed
Ok, updating through nitropy nk3 update doesn't work too. I give up with Nitrokey 3 on Linux. Problems right from the start.
nitropy nk3 update
Command line tool to interact with Nitrokey devices 0.7.3
Do you want to download the firmware version v1.8.0? [Y/n]: y
Download v1.8.0: 100%|█████████████████████| 1.08M/1.08M [00:00<00:00, 1.79MB/s]
Current firmware version: v1.7.2
Updated firmware version: v1.8.0
Please do not remove the Nitrokey 3 or insert any other Nitrokey 3 devices during the update. Doing so may damage the Nitrokey 3.
Do you want to perform the firmware update now? [y/N]: y
Please press the touch button to reboot the device into bootloader mode ...
Critical error:
An unhandled exception occurred
Exception encountered: SPSDKConnectionError()
--------------------------------------------------------------------------------
Critical error occurred, exiting now
Unexpected? Is this a bug? Would you like to get support/help?
- You can report issues at: https://support.nitrokey.com/
- Writing an e-mail to [email protected] is also possible
- Please attach the log: '/tmp/nitropy.log.qbdqae93' with any support/help request!
- Please check if you have udev rules installed: https://docs.nitrokey.com/nitrokeys/nitrokey3/firmware-update#troubleshooting-linux
did u setup udev rules? https://docs.nitrokey.com/software/nitropy/linux/udev
yip, NitrokeyApp2 currently has a bug updating lpc55 (nfc-device) Nitrokeys. But pynitrokey/nitropy should work w/o issues, please check if you have installed the udev rules as @kizm0 said (your error indicates that once the device switched over to bootloader, it cannot be found (no permissions) by nitropy)
Updating with NitrokeyApp2 2.3.3 failed for me at first as well, but setting up the udev rules allowed me to update from v1.2.0 to v1.8.0.
However, after updating NitrokeyApp2 did show an error, but it seems the update did succeed anyways. (Running nitropy nk3 test shows v1.8.0 and all 5 tests succeed.)
@hkienle This is expected when first updating to firmware version v1.3.1 or newer, see the release notes.
@hkienle This is expected when first updating to firmware version v1.3.1 or newer, see the release notes.
Thanks for clearing this up. I assume you are referring to "Directly after the update, nitropy nk3 test or nitropy nk3 status may report an IFS or EFS error. "? So "EXTERNAL_FLASH_ERROR (0x4)" is a IFS or EFS error.
yes, "EXTERNAL_FLASH_ERROR" refers to EFS error
(updated title of issue to better describe the underlying issue)