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

Access violation even after declaring .ini file.

Hi,

I use LM3S9B90 eval (cortex M3) board. When i run the code, I get an error when the code reaches the first executable statement after main(), which is used to configure the clock settings.

ERROR 65: access violation at 0x400FE000: no 'read' permission.

the execution stops there and when i run again i get a series of access violation errors and each time execution is stopped.

when i check hw_memmap.h file, i see that it is the base address of system control registers.

Iam using Keil IDE.

I also made a ini file using "options for target > Debug > Initialization file.

I compiled it using "debug > function editor" and it shows the address range in "Debug > memory map".

But still it gives the error: access violation.

Please help me to understand what is causing this problem and how to solve it.

regards,
vivek