This PR adds a command to display the flash unique id from boards currently in BOOTSEL mode. (This PR replaces #80)
Since the bootrom RPC interface does not have a way to directly issue flash commands such as CMD_RUID, the only way I found to fix this is to copy the fash_get_unique_id function to RAM and use the EXEC command to read out the unique id.
the code blob uploaded to the pico was compiled using the following C and ASM code:
This PR adds a command to display the flash unique id from boards currently in BOOTSEL mode. (This PR replaces #80)
Since the bootrom RPC interface does not have a way to directly issue flash commands such as
CMD_RUID
, the only way I found to fix this is to copy thefash_get_unique_id
function to RAM and use theEXEC
command to read out the unique id.the code blob uploaded to the pico was compiled using the following C and ASM code: