Skip to main content
AlexS
Associate
May 2, 2022 10:13 PM UTC
Question

Unable to boot from bank2 with L073RZ

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?

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
May 3, 2022 1:01 AM UTC

The 192KB parts has banks at 0x08000000 and 0x08018000

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AlexS
AlexSAuthor
Associate
May 3, 2022 4:12 PM UTC

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.

Tesla DeLorean
Guru
May 3, 2022 4:37 PM UTC

Sounds like the Boot ROM decided the content is non-valid

Show the first dozen vectors a 0x0800 0000 and 0x0801 8000

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
AlexS
AlexSAuthor
Associate
May 3, 2022 5:01 PM UTC

Both locations should be identical. I've flashed the same .bin in both locations using STM32CubeProgrammer:0693W00000Np7TnQAJ.png0693W00000Np7U2QAJ.png