Hi,
I tried the following with the MDK-Lite version 4.21 Evaluation software,
1. Created a simple application in C for ARM CORTEX M3 using simulator and compiled the code. But the compilation failed with the errors,
MyProj2.axf: Error: L6320W: Ignoring --entry command. Cannot find argument 'Reset_Handler'. MyProj2.axf: Warning: L6320W: Ignoring --first command. Cannot find argument '__Vectors'.
2. To overcome this, manually included the startup code available at Keil\ARM\Startup\ARM for Cortex M3 and compiled. (Note: While creating the application, it did not ask for any startup code to include).
3. Now the compilation is success but it results in access violation error while running the application.The control doesn’t come to main( ).It results in the following error, "*** error 65: access violation at 0xFFFFFFF4 : no 'write' permission"
Kindly help us in resolving the issue. Thank You.
You need to spend time learning the tools!
Start here: http://www.keil.com/support/man/docs/gsac/
http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm
Plenty of examples - including some tutorials - here:
http://www.keil.com/download/list/arm.htm