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

Can not simulate any program!

Hi, i'm new to Keil and unfortunately got a lot of problems with it!
I create a new, empty project for my AT91SAM7X256 MCU as my target. add a new source file and write just the main function. (the startup code as already add by keil)
there is no compiler error, but when i start the debugger to simulate the MCU, it shows an error:
*** error 65: access violation at 0x00000000 : no 'execute/read' permission

this is also true for any sample applications provided by keil (like blinky).

Thanks for your help

Parents
  • I have no experience with your selected device, but I just opened a 'Blinky' file with your device type. The Memory Map looks very strange and incomplete.
    In the Simulator, you can set memory ranges for read, write or execute.
    In the Simulator, have you looked at the memory map at Debug -> Memory Map?
    Sorry this is not much help but I would need to find the device data sheet to determine the device memory map. I'll let you review the data sheet in more detail.
    Bradford

Reply
  • I have no experience with your selected device, but I just opened a 'Blinky' file with your device type. The Memory Map looks very strange and incomplete.
    In the Simulator, you can set memory ranges for read, write or execute.
    In the Simulator, have you looked at the memory map at Debug -> Memory Map?
    Sorry this is not much help but I would need to find the device data sheet to determine the device memory map. I'll let you review the data sheet in more detail.
    Bradford

Children