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

Error message appear when run MSC1210 A/D example code

Dear all,

I want to try the example code provided by Keil web site (http://www.keil.com/download/docs/msc1210_adc.zip.asp) and run that in debug mode. But every time when I try to run the program, it always show a message:
"error 65: access violation at c:0x0000 : no 'execute/read permission"
and the program can't run.
Why this message appear and how can I fix that? I need more example code for know more about how to program with Keil C for MSC1210, who can tell me where can I find more example code for the MSC1210?

Thanks!

Parents
  • The problem you are having is caused by the use of the MSC1210 ROM routines. Aparently, the MSC1210 has 2K of on-chip ROM routines that are located at fixed addresses in the upper part of CODE memory.

    Here is the documentation I found for that:

    http://www-s.ti.com/sc/psheets/sbaa085a/sbaa085a.pdf

    When you use a REAL device, these ROM routines are present. However, when using the simulator, these routines are NOT present.

    The warning you get from the simulator is telling you that there is nothing that uses that memory space and accessing it is PROBABLY an error.

Reply
  • The problem you are having is caused by the use of the MSC1210 ROM routines. Aparently, the MSC1210 has 2K of on-chip ROM routines that are located at fixed addresses in the upper part of CODE memory.

    Here is the documentation I found for that:

    http://www-s.ti.com/sc/psheets/sbaa085a/sbaa085a.pdf

    When you use a REAL device, these ROM routines are present. However, when using the simulator, these routines are NOT present.

    The warning you get from the simulator is telling you that there is nothing that uses that memory space and accessing it is PROBABLY an error.

Children
No data