cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Download non-secure image into stm32U5 using Stm32CubeProgrammer

AkashSaini
Associate

Hi,

I am using STM32U575 MCU in my project.

I had enabled trustzone and using secure and non-secure memory.

I am successfully able to download my secure/nonsecure images into MCU using IAR, But when i download using STM32CubeProgrammer.exe or from STM32CubeProgrammerCLI.exe, it fails in verification.

when i debug further i noticed that first nonsecure address never get write/verify successfully.

Note: When i configure the entire memory as secure for testing using OPTIONBYTE_WMSEC, i am able to write my non-secure image as well.

Please guide me, is there any option to write non-secure image using STM32CubeProgrammer with out altering option bytes.

Thanks in Advance !!

 

0 REPLIES 0