Skip to main content
Explorer II
August 2, 2024
Solved

STM32G491RE MCU getting struck

  • August 2, 2024
  • 3 replies
  • 1672 views

Hi,
I am working on stm32g491re custom board.
I am using STM32cubeide  and segger jlink debugger with serial wire debug.
After flashing the firmware program getting struct at intialization
like HAL_GPIO_INIT()
and HAL_TIMER_init()
if I try to suspend the running/restart the controller through IDE i am getting issue like below
No source available for "(gdb[18].proc[42000].threadGroup[i1],gdb[18].proc[42000].OSthread[1]).thread[1].frame[0]"
and 
Break at address "0x1fff469a" with no debug information available, or outside of program code.
Break at address "0x1fff408e" with no debug information available, or outside of program code
In GPIO i am using one exti gpio if i comment it's executing remaining program.
Same happens with timer interrupt also.
Is there thing missing for interrupts and its not happening every time 8 out of 10 times its happening.  Any one can suggest


Thanks

    This topic has been closed for replies.
    Best answer by TDK

    Looks like it's in the bootloader. Is BOOT0 tied low?

    3 replies

    TDKAnswer
    Super User
    August 2, 2024

    Looks like it's in the bootloader. Is BOOT0 tied low?

    Explorer II
    August 2, 2024

    @TDK ,

     

    Yes,i checked Boot pin is  in low state only

    Thanks

    Super User
    August 2, 2024

    Do you set SCB->VTOR to the correct vector table address in flash?

    ST Employee
    August 2, 2024

    Hi @sireevenkat1 

     

    This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

     

    Regards,

    Billy

    Graduate II
    August 2, 2024

    Struck with what? Lightening?

    If it's going into ROM you need to check BOOT0 and the content of the words written at 0x08000000, invalid content will cause it to ignore FLASH content

    Use STM32 Cube Programmer and show us a dump of the memory block at 0x08000000 should be the stuff read in by default.

    Attach Screen Shot, Attach .HEX file