You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a similar problem to #10 but that solution doesn't work for me. (I'm already using arm-none-eabi-gdb and connected to the stlink process.)
$ arm-none-eabi-gdb minimum-CM4.axf
GNU gdb (GNU Tools for ARM Embedded Processors) 7.4.1.20130913-cvs
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=arm-none-eabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/chris/stm32/gcc-arm-none-eabi-4_7-2013q3/share/gcc-arm-none-eabi/samples/src/minimum/minimum-CM4.axf...done.
(gdb) target extended localhost:4242
Remote debugging using localhost:4242
0x080ec790 in ?? ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) load
Loading section .text, size 0x9c lma 0x0
Load failed
(gdb)
I'm trying to make the program 'minimum' from gcc-arm-none-eabi-4_7-2013q3/share/gcc-arm-none-eabi/samples/src work.
I've altered the ../../nokeep.ld script to use the addresses and sizes I got from the STM32 datasheet. It now begins:
Closing due to inactivity of issuer, please test against latest tools in master or v1.2.0 (at time of writing). Feel free to open a new issue if the problem still exists.
I'm having a similar problem to #10 but that solution doesn't work for me. (I'm already using
arm-none-eabi-gdb
and connected to the stlink process.)I'm trying to make the program 'minimum' from
gcc-arm-none-eabi-4_7-2013q3/share/gcc-arm-none-eabi/samples/src
work.I've altered the ../../nokeep.ld script to use the addresses and sizes I got from the STM32 datasheet. It now begins:
I've also altered the ../makefile.conf to use
CORTEX_M=4
instead of 3.Where can I find more information on why the load is failing?
Thanks,
Chris.
P.S. Using
readelf
I noticed that several symbols are being put into very low addresses i.e. not those blocks which I've defined as FLASH or RAM.Have I made a broken elf that will never install onto my board?
The text was updated successfully, but these errors were encountered: