STMCubeProgrammer does not program STM32L55
Hello,
I am working on NUCLEO-L552ZE board which has STM32L55 Cortex M33 MCU.
I can program the device using Keil IDE using ST-Link Debugger option.
But I would like to program the device using ST-Link Utility or STMCubeProgrammer.
ST-Link Utility cannot even connect to the board, I tried different options (Normal, Under reset etc) but failed to connect.
STLink Utility seems deprecated and maybe does not support, so I tried with STMCubeProgrammer.
If I program the device using Keil IDE, I can read the flash content using STMCubeProgrammer, but if I try to program using the STMCubeProgrammer, it says success but the device content is 0xFFs. It seems it erases but cannot program. But there is no error.
Is it something about TrustZone. There is some commands in STMCubeProgrammer like
"-tzenreg" that removes TrustZone protection by disabling TZEN from 1 to 0, but I would expect STMCubeProgrammer to handle it while it does not provide an interface to choose this option.
Any idea on that?
Thanks
Murat
