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

XC164CM program cannot run under debug mode of uVision3

Hello,

I'm using uVision3 and ULINK to develop programs for XC164CM.

While compiling a program there is a warning:

*** WARNING L5: SECTION LOCATED OUTSIDE CLASS AREA SECTION: ?ND0?DLLMAIN
CLASS: NDATA0

This code is still downloaded into the device, but cannot run in debug mode with this error:

*** error 65: access violation: addr=0x0000C000

The referred line is:

0000C000 0000      ADD      R0,R0

My project uses two CAN interfaces. I don't know if this is the reason.

Best Regards,
Senmeis

Parents
  • These are two un-related problems.

    WARNING L5: is caused by the fact that you run out of memory in your target system (or that a CLASS is incorrectly defined).

    error 65: access violation occurs because you are running in the simulation mode. Most likely you must configure the simulator as explained here: http://www.keil.com/support/docs/2896.htm

    For debugging with ULINK however you need to select the correct target driver.

Reply
  • These are two un-related problems.

    WARNING L5: is caused by the fact that you run out of memory in your target system (or that a CLASS is incorrectly defined).

    error 65: access violation occurs because you are running in the simulation mode. Most likely you must configure the simulator as explained here: http://www.keil.com/support/docs/2896.htm

    For debugging with ULINK however you need to select the correct target driver.

Children