2022-05-02 03:13 PM
Hi,
I have a simple application that I flashed to 0x0800 0000 and 0x0801 0000 using STM32CubeProgrammer. With BFB2 unchecked, the app runs correctly from bank1 but when I check BFB2 to boot from bank2 it looks like the board get stuck somewhere as the LD2 on the board becomes very dimly lit.
Am I missing step?
2022-05-02 06:01 PM
The 192KB parts has banks at 0x08000000 and 0x08018000
2022-05-03 09:12 AM
Ah yes, silly typo on my part. Even then that didn't seem to have fixed the problem. When booting from Bank1, I see my binary gets mapped correctly to 0x00000000 but with BFB2=1 I see a whole lot of 0x1FF0035F5 for the first 192 bytes followed by random data.
2022-05-03 09:37 AM
Sounds like the Boot ROM decided the content is non-valid
Show the first dozen vectors a 0x0800 0000 and 0x0801 8000
2022-05-03 10:01 AM
Both locations should be identical. I've flashed the same .bin in both locations using STM32CubeProgrammer: