2024-10-29 11:44 AM
When using STM32CubeProgrammer v2.17.0 to write a user key via STM32_Programmer_CLI for a WB55, if we are connected via usb1 (DFU) we see the selected key index of the written key. However, if we run this over SWD, no key index is returned. In an environment where DFU is not available and we need to write user keys, how can we view the index the key was written to? We can confirm that the key is being written as when we toggle back and forth with the nucleo board between SWD and usb1, the usb1 output shows an incremented key index.
Example with -c port=usb1
./STM32_Programmer_CLI -c port=usb1 -wusrkey some_key.bin keytype=1
Example with -c port=SWD
./STM32_Programmer_CLI -c port=SWD -wusrkey some_key.bin keytype=1
Thanks!
Solved! Go to Solution.
2024-11-14 02:14 AM
Hello @js2985542,
I have submitted a ticket to our team requesting to add the key index return when using SWD.
Internal ticket number: 196289 (This is an internal tracking number and is not accessible or usable by customers).
Thanks,
Amine.
2024-11-14 02:14 AM
Hello @js2985542,
I have submitted a ticket to our team requesting to add the key index return when using SWD.
Internal ticket number: 196289 (This is an internal tracking number and is not accessible or usable by customers).
Thanks,
Amine.