Menu

#348 How to run debug session on bank 2 STM32G4?

0.10.0
new
nobody
None
2022-04-27
2022-04-27
Julien
No

Hello,

I have the impression that the debug does not work when the code executes in bank 2 on STM32G4 ?

Julien

Discussion

  • Tarek BOCHKATI

    Tarek BOCHKATI - 2022-04-27

    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

     
  • Julien

    Julien - 2022-04-27

    Hello Tarek,

    Thank you for your prompt response. The option bytes BFB2 is enable, my program boot on bank 2.
    I have no direct error coming from openocd. When I start debug session, the program is flashed on bank 1 instead of bank 2.

    To make it work, I have to flash manually the program on bank 2.

    Julien

     

Log in to post a comment.