2010-04-30 07:40 AM
STM32 and IAR Compiler doubt [SOLVED]
#arm-thumb-stm32-cortex-m32011-05-17 04:49 AM
It is because the STM32 runs thumb code so the least significant bit of a code address must be 1. Trying to jump to an even address would raise an exception because the Cortex-M3 cannot run ARM code.
Giovanni --- ChibiOS/RT http://chibios.sourceforge.net2011-05-17 04:49 AM
The low bit of the PC must be set to 1 to indicate the function is in Thumb, the STM32 (Cortex-M3) doesn't support ARM which would have the bit set to 0.
2011-05-17 04:49 AM
Thanks a lot guys!