Cortex-M4 Support?
CompletedAre there plans to fully support the ARM Cortex-M4, particularly the LPC43xx series, in CrossWorks?
-
The LPC4300 won't be available until Q4 2011, it seems. The production Keil board I have on order, which should have arrived this month, is now delayed to Q4. NXP are intruducing the flashless versions first, but no word on integrated flash introduction.
The Cortex-M4 is really raw at this stage--no hardware with FPU to speak of, as Michael says. The test LPC4300 we have does include an FPU, so all is not yet lost.
-
We have the same hardware - the released CPU support package works on these boards give it a try.
I need to do some work on the DSP/SIMD instruction support in the debugger/simulator before we can support the parts as Cortex-M4's rather than as Cortex-M3's.
There isn't an FPU on the K60 supplied on the Tower board we have - my understanding is that the FPU is only on the 120Mhz parts.
-
-
You'll need v2.1.2 which haven't released yet - the nightly build is available here
linux
http://www.rowleydownload.co.uk/snapshots/arm_crossworks_crossworks_v2_linux_x86.tar.gz
macosx
http://www.rowleydownload.co.uk/snapshots/arm_crossworks_crossworks_v2_macos_x86.dmg
windows
http://www.rowleydownload.co.uk/snapshots/arm_crossworks_crossworks_v2_win_x86_setup.exe
Regards
Michael
-
Thanks,
I installed this version and wrote a little program.
But I get the message:
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libm_v7em_t_le.a: No such file or directory
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_t_le.a: No such file or directory
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libcpp_v7em_t_le.a: No such file or directory
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libdebugio_v7em_t_le.a: No such file or directory
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_targetio_impl_v7em_t_le.a: No such file or directory
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-elf/bin/ld: cannot find D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_user_libc_v7em_t_le.a: No such file or directory
Build failedAll files are the specified folder.
Have you any idea?
Also I get not working the FPU for STM32F407 microcontroller.
Here I get the message:
C:/Users/ML/AppData/Local/Rowley Associates Limited/CrossWorks for ARM/packages/targets/STM32/STM32_Startup.s:1:0: sorry, unimplemented: -mfloat-abi=hard and VFP
Build failedIs there anything wrong with my settings or is the compiler not ready for FPU.
Thanks for yout help
Michael
-
Hello Michael,
first problem is solved.
With the FPU I get the folowing error:
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: error: D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(__vfprintf_int.o) uses VFP register arguments, THUMB Debug/Executable_1.elf does not
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: failed to merge target specific data of file D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(__vfprintf_int.o)
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: error: D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(__vfscanf_int.o) uses VFP register arguments, THUMB Debug/Executable_1.elf does not
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: failed to merge target specific data of file D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(__vfscanf_int.o)
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: error: D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(libc2.o) uses VFP register arguments, THUMB Debug/Executable_1.elf does not
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: failed to merge target specific data of file D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(libc2.o)
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: error: D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_user_libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(user_libc.o) uses VFP register arguments, THUMB Debug/Executable_1.elf does not
D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/gcc/arm-unknown-eabi/bin/ld: failed to merge target specific data of file D:/Program Files (x86)/Rowley Associates Limited/CrossWorks for ARM 2.1/lib/libc_user_libc_v7em_fpv4_sp_d16_hard_t_le_eabi.a(user_libc.o)
Build failedSettings:
ARM FP ABI Type Hard
ARM FPU Type FPV4-SP-D16
C-Program:
int main()
{
float a,b,c;
a = 22.3;
b = 2456.56578;
do
{
c = a + b;
}
while(1);
return 0;
}Thank you
Michael
Please sign in to leave a comment.
Comments
28 comments