compiling this first try with uVision:
AREA x,CODE,Readonly
ENTRY
mov r0,#1
END
results in:
*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Target 1'
linking...
.\Objects\myproject.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'.
.\Objects\myproject.axf: Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 1 warning and 1 error messages.
".\Objects\myproject.axf" - 1 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed: 00:00:00
What am i doing wrong?
Hi,
it looks like you are creating an image without a Reset_Handler symbol in the image. The linker is trying to put the code for Reset_Handler at the beginning (as for Cortex-M specifications) but because it cannot find it, it fails.
Have you tried to start with an example project ? You can find more information at this link http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
Best Regards,
Stefano
Hi Stefano,
The SAM E70 had no examples, so used
other and it compliled! THanks. All documents i have
gathered more look like reference guides then
tutorials.
I am looking for a study book or document that
step by step introduces and explains ARM registers,modes,memories, interrupts, directives and ASM instructions
with examples, for uVision or other free ASM IDE.
Can you recommend?
Kind regards,
Gert
Hi Gert, you can find different books about Cortex-M, I personally found this very useful: "The Definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors" by jyiu.
I would also suggest to look at the specific documentation from Atmel about SAM E70: SAM E MCUs
Extra links can be also found here: Getting started with ARM Microcontroller Resources
Hope this helps.
Best Regards,Stefano
On Keil website: MDK5 Software PacksYou can see version 1.0 of Atmel SAM E software pack. Please download this and install in your Keil MDK and this should helps.
regards,
Joseph