Search found 6 matches

by No5
Thu Oct 20, 2011 8:11 am
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

Re: No support for Cortex-M0?

Brilliant. I've managed to give it a test with a fully-fledged M0 application and I'm pleased to say it compiles and runs fine. :)
by No5
Wed Oct 12, 2011 7:35 pm
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

Re: No support for Cortex-M0?

Its some coincedence but it looks as though there really is also a problem with devkitARM and the M0... I've attached another test case, this time hopefully compiled for the M0 :-) If you look at address 0x28 in the binary, it is a BLX instruction. Nothing wrong with that, but it's being used with a...
by No5
Sun Oct 09, 2011 8:33 am
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

Re: No support for Cortex-M0?

Thankyou - you've spotted the source of my problem. I'm using Eclipse with a plugin called "GNU ARM Eclipse" which automatically sets include paths and customises the build settings screen for different toolchains (CodeSourcery, Yagarto, devkitPro etc.). There must be a bug in this plug-in...
by No5
Thu Oct 06, 2011 8:57 pm
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

support for Cortex-M0?

If there's anything else I can do to help, please let me know.

Thanks,
Tim
by No5
Tue Oct 04, 2011 9:34 pm
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

Re: No support for Cortex-M0?

Hi,

I've made a test case for you.

Its one line of C and it produces instructions that are not part of the M0 set.

To build, just do a "make all" in the root directory.
Hope this helps.
by No5
Sun Oct 02, 2011 10:26 pm
Forum: devkitARM
Topic: No support for Cortex-M0?
Replies: 10
Views: 13516

No support for Cortex-M0?

Hi, Please can anyone confirm if devkit works with the M0? I've been wrecking my brain trying to work out why my code keeps jumping to the Hard Fault vector and have realised that its doing it at a MOVW instruction, which is not actually part of the M0 instruction set (its an M3 instruction).... I'm...