2024-01-15 04:08 AM - edited 2024-01-15 04:34 AM
Hi everyone,
The MCU on my custom board is an STM32U585. I put RDP mode to 0.5 in order to debug the product application with CubeIDE (our custom bootloader is in secure world).
RDP regression to level 0.5 works fine (non-secure memory is fully erased (and not write protect) and RDP byte value is 0x55), I can read internal flash on non-secured address but I can't write nothing inside non secure memory (using CubeProgrammer v2.15.0 I try both to write single byte and write a binary in Reliable an Fast connection mode).
I can only connect the stlink probe in "hot Plug" Mode. In all other mode I’ve got the error message: “DEV_TARGER_NOT_HALTED).
Can someone help me?
Thanks
Have a good day.
GRANGE Aurélien
PS : I can't sned the source code of secure part.
Solved! Go to Solution.
2024-01-23 06:39 AM
Hi,
I have resolved this issue this morning.
MCU need to be in user mode in order to let Cubeprogrammer the right to write inside non-secured memory.
Thanks.
Have a good day.
2024-01-16 07:41 AM
Hi @Aurelien1
The forum moderator had marked your post as needing a little more investigation and direct support. An online support case has been created on your behalf, please stand by for just a moment and you will hear from us.
Regards,
Billy
2024-01-23 06:39 AM
Hi,
I have resolved this issue this morning.
MCU need to be in user mode in order to let Cubeprogrammer the right to write inside non-secured memory.
Thanks.
Have a good day.