Skip to main content
Visitor II
May 2, 2022
Question

Unable to boot from bank2 with L073RZ

  • May 2, 2022
  • 3 replies
  • 1109 views

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.

    3 replies

    Graduate II
    May 3, 2022

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

    AlexSAuthor
    Visitor II
    May 3, 2022

    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.

    Graduate II
    May 3, 2022

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

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

    AlexSAuthor
    Visitor II
    May 3, 2022

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