This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compiling, Running the code in ARM Cortex M3

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.