I built espruino_2v24_stm32f4discovery.elf which this command line:
~/Espruino > BOARD=STM32F4DISCOVERY DEBUG=1 make
my .gdbinit:
## on load
b Reset_Handler
b SystemInit
b main
monitor reset halt
When I try to load .elf file into the gdb I got some strange address binding for source code lines:
0x3930 (without startup_stm32f4xx.s link)
0x58324
0x35076
It looks like address bindings to Flash ROM are totally incorrect.
At the same time, when I build my own empty startup code (generated by latest CubeMX), there are no any problems with addresses or source code.
Next, another problem is I always got system stopped at 0x800076c address that looks like start of EXTI0_IRQHandler
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Good day
I built
espruino_2v24_stm32f4discovery.elf
which this command line:my .gdbinit:
When I try to load .elf file into the
gdb
I got some strange address binding for source code lines:0x3930 (without startup_stm32f4xx.s link)
0x58324
0x35076
It looks like address bindings to Flash ROM are totally incorrect.
At the same time, when I build my own empty startup code (generated by latest CubeMX), there are no any problems with addresses or source code.
Next, another problem is I always got system stopped at
0x800076c
address that looks like start ofEXTI0_IRQHandler
1 Attachment