2025-01-29 02:02 AM
Dear All,
I am having difficulty with the Bootloader on an STM32469.
It is on a custom PCB (which works fine in all other respects), and I can use the SWD interface via J-Link perfectly OK (with both STM32CubeIDE and STM32CubeProgrammer).
My starting point is a board where the Readout Protection was set to Level 1. Note that this is true for all hardware I have access to, so I cannot try with a board that has never had Readout Protection applied.
I can reset the Readout Protection to Level 0 (0xAA) via J-Link. This erases Flash (expected behaviour).
I can check the FLASH peripheral registers via STM32CubeProg, and they all look OK.
I would now expect to be able to connect via UART with STM32CubeProgrammer.
However, when I reset my board with BOOT0 set high, and attempt to connect via UART, I get this:
I also get four popup error boxes:
1. Initialising the Option Bytes failed
2. Uploading Option Bytes bank 0 failed
3. READ command not acknowledged at address: 0x1fffc000
4. READ command not acknowledged at address: 0x1fffx008
You can see from the above dump that the Bootloader is operational and connected, but is not responding correctly.
I have verified this process on a NUCLEO-F401RE board to check my expectations are correct, and everything works as expected.
Please help.
Thanks,
Chris.