cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Linker when changing to thumb mode, in examples

fa
Associate II
Posted on November 01, 2005 at 06:39

Error in Linker when changing to thumb mode, in examples

2 REPLIES 2
fa
Associate II
Posted on October 31, 2005 at 11:15

IAR Universal Linker V4.59N/386

Copyright 1987-2005 IAR Systems. All rights reserved.

Error[e18]: Range error, ARM branch to unaligned (or thumb) address

Where $ = T0TIMI_Addr + 0xCC [0x400000CC]

in module ''?RESET'' (C:\str710\examples\ST examples\STR71x\STR71xLibrary\examples\uart\interrupt\Debug\

Obj\71x_vect.r79),

offset 0xCC in segment part 0, segment INTVEC

What: Undefined_Handler & 3 [0x1]

Allowed range: 0x0 - 0x0

Operand: Undefined_Handler [0x400005a1]

in module 71x_it (C:\str710\examples\ST examples\STR71x\STR71xLibrary\examples\uart\interrupt\Debug\Obj\

71x_it.r79),

Offset 0x1 in segment part 2, segment CODE

Total number of errors: 1

Total number of warnings: 0

How to get over this, in thumb mode?

Best regards,

Frank Andersen

fa
Associate II
Posted on November 01, 2005 at 06:39

Thanks, it now compiles i Thumb mode as well.

I thougth that this would produce a smaller code size, but it does not, does the code run faster in Thumb mode or whar is the advantage?

Best Regards,

Frank Andersen