2024-12-04 12:38 AM - edited 2024-12-04 12:46 AM
Hi,
I'm just starting to play with a NUCLEO-H563ZI and I have some problems with DA discover using my dev boards.
I started to do the following steps:
Step 1: Create the provisioning file (.obk file)
--> STM32TrustedPackageCreator_CLI.exe --obk H5\Config\DA_ConfigWithPassword.xml
Step 2: Program the application binary
-->STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -d H5\Binary\MyProject.elf -v
Step 3: Move to the PROVISIONING state.
--> STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -ob PRODUCT_STATE=0x17
Step 4: Provisioning the .obk file
--> STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG -sdp H5\Binary\DA_ConfigWithPassword.obk
And after these steps I just tried the following command:
--> STM32_Programmer_CLI.exe -c port=SWD mode=HOTPLUG debugauth=2
but here I received the following error:
When I saw this I open STM32CubeProgrammer in order to made a DA discover from there but I received also from there an error:
In this step from what I saw I'm able to made a connection between STM32CubeProgrammer and my dev boars only if I will use "HotPlug" mode.
For testing purpose I tried to revert the PRODUCT_STATE to 0xED but I received the following error:
Do you have any idea how can I recover my board ?
Thanks in advance!
Adrian Pop
2024-12-19 05:32 AM
Hello @adrianpop ,
I apologize for the delayed response.
I attempted to reproduce the issue on my side but everything worked as expected.
Could you let me know if you've had the chance to test with v2.18.0? If so, did you encounter the same issue there as well?
Maryem.