We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Hello Vivek G,
I guess you are using the simulater when you start your debug session. After you started the simulator debug session type the command map in the uVision command line to see the currently used mapping. You can add additional mapping with the command map 0x400FE000 , 0x400FFFFF read write. You can add this line also to your .INI file. Please notice that currently this device is not simulated.
Best Regards, Martin Guenther