cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5 DA Discover error: Failed to communicate with target

adrianpop
Associate

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: 

adrianpop_0-1733301099969.png

When I saw this I open STM32CubeProgrammer in order to made a DA discover from there but I received also from there an error: 

adrianpop_1-1733301155233.png

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: 

adrianpop_2-1733301339532.png

Do you have any idea how can I recover my board ? 

Thanks in advance!

Adrian Pop

 

1 REPLY 1
Maryem
ST Employee

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.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.