2025-07-21 9:15 AM - edited 2025-07-21 9:16 AM
Hi @Jocelyn RICARD,
im trying to enable the secure user memory on my custom bootloader for STM32H755 and STM32H7B3 MCUs.
The bootloader is on the first bank and the app on the second bank. The secure user memory is enabled successfully on bank 1 but jumping on Bank 2 with the follwing instruction works. But the debug port is not reopened before jumping to the application. I can see that the app is running (through a blinky led) but i cannot attach using cube programmer in hotplug mode:
RSS_API->exitSecureArea(userAppAddress, RSS_ENABLE_JTAG_AT_EXIT);
My question is, what is the value of RSS_ENABLE_JTAG_AT_EXIT ? Is it mcu dependent?
The reference Manual does not give any info about the value of the macro:
Could you help?
Thank you!