Trying out TI LM4F120XL Launchpad: processor does not support Thumb mode
Hello!
I used to work with my LM4F120XL Launchpad on the previous ( v2.3.X) versions of CrossWorks for ARM with Stellarisware libraries and CTL tasking libraries. It was tricky to setup correctly at first, but I figured it out.
Now I upgraded and evaluated for 30 days for the latest release of the IDE, set up my older project, but I can not debug, and program my launchpad at all, because I always get the following assembler messages:
"Assembling LM3S_Startup.s
Assambler messages:
selected processor does not support Thumb mode 'vmrs r0,fpscr'
selected processor does not support Thumb mode 'vmsr fpscr,r0' "
I tried to set the preprocessor definitions, added the followings:
gcc
NESTED_INTERRUPTS
CTL_TASKING
USE_PROCESS_STACK
STARTUP_FROM_RESET
PART_LM4F120H5QR
Also I tried to set the correct User Include Directories:
$(PackagesDir)/libraries/libctl/include
$(TargetsDir)/LM3S/CMSIS
$(TargetsDir)/CMSIS_3/CMSIS/Include
$(STELLARISWARE)/
The processor-related project properties look like this:
Target processor: LM4F120H5QR
ARM architecture: v7EM
ARM core type: Cortex-M4
ARM debug interface: ADIv5
ARM FPU type: FPv4-SP-D16
I installed the latest CMSIS package, Stellaris CPU support package and Stellarisware updates for CrossWorks for ARM package, EK-LM4F120XL board support package, Cortex_M support package, ARM CPU support package, even the TIVA CPU support package for trying.
I also tried to create a new project in the new IDE, because maybe it is not backward compatible or something like this, but the new solution worked the same, like any other. Then I tried to build a Sample project from the EK-LM4F120XL board support package, but it was the same.
When I need to rebuild a library (like the Stellarisware) I don't have this problem, only when it is LM4F-related of course.
With these project properties on the earlier releases of the IDE, it worked flawlessly. But I don't have a license any more.
By the way, I run it from Windows 8.1 x64 but I don't think it's related.
I really don't know what to do now.
Help me please
Please sign in to leave a comment.
Comments
1 comment