I see that you are using "interface/stlink.cfg" we recommend using "interface/stlink-dap.cfg" to work with cortex-M33 on Access Port != 0
please test using this patch https://review.openocd.org/c/openocd/+/7694
I will push a gerrit change in a few minutes with the needed cfg file
Hi Julien, could you please check the the boot option bytes ? also could you please provide OpenOCD log with the error you have encountered Tarek
could you please give the full log, also it would be helpful to have the command line you have used to launch openocd + custom cfg files if any.
Thanks Patrik ! hopefully #6538 : flash/stm32l4x: fix dual bank support for STM32L552xC devices is already merged awaiting the merge of #6546 : tcl/stm32l5x|u5x: support HLA adapters in non-secure mode only then I will close the ticket.
STM32L5 wrong page size
Hi Patrik, could you please check if the following changes fixes your issues: https://review.openocd.org/c/openocd/+/6538/3 https://review.openocd.org/c/openocd/+/6546/3