Skip to main content
Senior
August 2, 2024
Solved

STM32G491RE MCU getting struck

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.
TDK
TDKBest answer
August 2, 2024

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

"If you feel a post has answered your question, please click ""Accept as Solution""."

7 replies

TDK
TDKBest answer
August 2, 2024

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
Senior
August 2, 2024

@TDK ,

 

Yes,i checked Boot pin is  in low state only

Thanks

TDK
August 2, 2024

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

"If you feel a post has answered your question, please click ""Accept as Solution""."
Billy OWEN
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

Tesla DeLorean
Guru
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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..