Topic : Can't debug in RAM mode (RIDE7 - STRx)

Forum : ARM

Original Post
Post Information Post
January 16, 2008 - 11:21am
Guest

Hello,

when i want to debug in Ram mode i'get some error messages reported by the linker.

Equipment:
-RLink Pro + StarterKit REva v2.10 + DB STR912F
-using standard startupscript and linker files

In FLASH mode i can debug, only RAM mode seems to be not working.

Running : LD
\"E:\Programme\RIDE7\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=arm9tdmi -Wl,-T -Xlinker "E:\Torsten Dittrich\Raisonance_RIDE7\PICFLASH\picflash.elf.ld" -u _start -nostartfiles -Wl,-Map -Xlinker "E:\Torsten Dittrich\Raisonance_RIDE7\PICFLASH\picflash.map"
E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(str9x_IO_putchar.o): In function `__io_init':
str9x_IO_putchar.c:(.text.__io_init+0x1a0): relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_uidiv' defined in .text section in e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1\libgcc.a(_udivsi3.o)
str9x_IO_putchar.c:(.text.__io_init+0x1ec): relocation truncated to fit: R_ARM_CALL against symbol `__aeabi_ldivmod' defined in .text section in e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1\libgcc.a(_aeabi_ldivmod.o)
E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o): In function `_rename':
syscalls.c:(.text._rename+0x4): relocation truncated to fit: R_ARM_CALL against symbol `__errno' defined in .text section in e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-errno.o)
E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o): In function `_system':
syscalls.c:(.text._system+0xc): relocation truncated to fit: R_ARM_CALL against symbol `__errno' defined in .text section in e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-errno.o)
E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o): In function `_sbrk':
syscalls.c:(.text._sbrk+0x40): relocation truncated to fit: R_ARM_CALL against symbol `abort' defined in .text section in e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-abort.o)
e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-abort.o): In function `abort':
abort.c:(.text+0xc): relocation truncated to fit: R_ARM_CALL against symbol `_exit' defined in .text._exit section in E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o)
e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-signalr.o): In function `_getpid_r':
signalr.c:(.text+0x4): relocation truncated to fit: R_ARM_CALL against symbol `_getpid' defined in .text._getpid section in E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o)
e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-signalr.o): In function `_kill_r':
signalr.c:(.text+0x2c): relocation truncated to fit: R_ARM_CALL against symbol `_kill' defined in .text._kill section in E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o)
e:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text+0x18): relocation truncated to fit: R_ARM_CALL against symbol `_sbrk' defined in .text._sbrk section in E:\Programme\RIDE7\Lib\ARM\STR91x_io_putchar.a(syscalls.o)
collect2: ld returned 1 exit status

Furthermore I wonder why i can't see in FLASH debug mode some values in memory view. For example when i want to look at some registers (for example spp data register, using right address in view of datasheets)???

need help.

best regards...
Torsten Dittrich

Replies
Post Information Post
+1
0
-1
January 16, 2008 - 12:01pm
Raisonance Support Team

Hi,

We will need more information for helping you. Please fill this form and send your answers to 'support@raisonance.com' :
http://www.raisonance.com/Forum/punbb/viewtopic.php?id=2231

Since you have two problems, please fill it two times.

Best Regards,

Vincent

+1
0
-1
February 1, 2010 - 9:06am
Guest

I have the similar linker output when linking with BOOT MODE=RAM and was looking for help here.
Setting "Project-Properties-LD linker-Scripts-Starter kit limitation" to NO instead of default YES solved that.