2025-10-13 6:35 AM - edited 2025-10-13 6:42 AM
Hello,
I am using the discovery kit with STM32L562QE MCU (UM2617). I tried to disable the TrutZone following the instructions in this article : https://community.st.com/t5/stm32-mcus/how-to-disable-trustzone-on-stm32u5-series/ta-p/49793
However, after doing Step 3 (in the article), I can no longer interact with my card. When I try to connect to it using STM32CubeProgrammer or by flashing, I always have the same error : ST-LINK error : DEV_TARGET_NOT_HALTED
I found some persons with the same problems :
But the solutions described do not seem to work for me. Here is what I've tried :
- Power off / Power on
- Update STLink
- Set NRST to high (because there are many NRST on the board, maybe I did not set the right ones)
- Switching to boot mode (same thing than above)
Has anyone an idea on how to solve this problem ?
Thanks in advance for your help,
Maxence V
2025-10-13 6:39 AM
Hello @MaxenceV,
Try connecting in hotplug mode with Boot0 pin at VDD.
Aziz
2025-10-13 6:47 AM - edited 2025-10-13 6:47 AM
Hello,
Just to be sure that we are talking about the same thing. Here is the only reference I found about boot0 in the doc.
After setting, boot0 at 3V3 (I did the same setup as the doc), and trying to connect in Hot plug mode the error has changed. Now I have this :