Card error trying to decrypt after changing PIN on RP2350 boards (works fine on RP2040) #27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello Pol,
Again: thanks a lot for sharing this nice piece of code!
I've discovered a strange behavior.
I tried to:
On 3 different HWs:
The operation works perfectly fine on Pico and fails on both Pico2 and Tiny2350.
I called the script below 3 times (github prevents me to attached it sorry...) with 3 different HW connected to my machine:
The 3 logs are attached in case.
Have you already seen such issue?
Any idea how to debug?
Are you using gpg to change the pin or another tool?
Thanks for your help!
BR,
Pascal.
RP2350 use an OTP key to encrypt the secret keys, while RP2040 doesn't. Perhaps it's something broken for RP2350.
Just for the record, flash_nuke.uf2 from rpi repo is only for Pico board 2M. You can find nuke firmwares for all boards at https://github.com/polhenarejos/pico-nuke/releases
Wow! That was fast!
Thanks for the hint! This will save me hours of future debugging ;-)
I can confirm that
abb4d2326csolves the issue!./bpin.sh pimoroni_tiny2350 | tee log_pimoroni_tiny2350.txtlog_pimoroni_tiny2350.txt
Many thanks!