2024-06-21 06:41 AM
I am getting error while connecting ST-link with cube-programmer in STM32H7s78-DK.
ERROR:
error: cannot connect to access port 0 if you are trying to connect to a device with trustzone enabled please try to connect with hotplug mode
Solved! Go to Solution.
2024-06-24 12:29 AM
hello @Imen.D
Its successfully read the ST link because I have not updated version. Currently I have updated STM32 Cube Programmer and it is read all information from MCU.
Thanks for your support. :)
2024-06-21 11:42 AM - edited 2024-06-21 11:55 AM
Hello @Himanshuparmar and welcome to the Community :)
Check NRST pin connection.
Try connecting in "Hot plug" mode and change the port number access.
Via STM32CubeProgrammer CLI, you can use: STM32_Programmer_CLI -c port=SWD mode=HOTPLUG --shared
(please refer to UM2237 for more details)
2024-06-23 10:21 PM
Hello @Imen.D, thank you for the connecting.
As you can see that the NRST Pin is open. I have also tried with "Hot plug" mode but the getting same error.
2024-06-24 12:29 AM
hello @Imen.D
Its successfully read the ST link because I have not updated version. Currently I have updated STM32 Cube Programmer and it is read all information from MCU.
Thanks for your support. :)