This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Emulator Error in the middle of Module Test

Hi,

We have CCS 5.2.1.00018 version and during our module Tests in the middle of MT execution we get following error

Trouble Writing Memory Block at 0x7000008c on Page 0 of Length 0x4:
Error 0x00000002/-1060
Error during: Memory,
An unknown error prevented the emulator from accessing the processor
in a timely fashion.
It is recommended to RESET EMULATOR.  This will disconnect each
target from the emulator.  The targets should then be power cycled
or hard reset followed by an emureset and reconnect to each target.

Once we hard reset the EVM everything works fine; any idea about this error code.

Best Regards,

Raju.

  • Raju,

    Per your description it seems this error happens during runtime, is that so?

    If so, it is possible the running code reached a point where it is keeping the processor locked: it could either be waiting on a peripheral to be ready, or multiple devices are trying to access memory, which would cause a bus contention. Another possibility is that it may be also reach a point where invalid code is executed and the processor is simply resetting.

    Both cases will cause the emulator to lose connection to the target and it is near impossible to re-connect and try to recover from this situation (as the error message says).

    Debugging such scenarios is very difficult, but if you add debugging messages or indicators in your code that could help. Also, if your processor has exception handling mechanisms (C6000 and ARM cores), you could try to configure these and see if you get additional insights.

    It is not much, but hopefully this gives some additional ideas on how to pursue this problem.

    Regards,

    Rafael

     

  • Hi Rafael,

    thank you very much for your initial analysis;

    Now we are facing issues in Emulator reset but with different error code

    Running CPU: C64XP

    SEVERE: C64XP: Trouble Reading Memory Block at 0x29a0100 on Page 0 of Length 0x4: Error 0x00000002/-1139 Error during: Memory,  Device driver: Emulation Connection Loss Detected on Target CPU. It is recommended to RESET EMULATOR.  This will disconnect each  target from the emulator.  The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target. 

     

    SEVERE: C64XP: GEL: Error while executing OnTargetConnect(): target access failed      at (*((int *) 0x029A0100)&=~(0x00000001)) [DSKTCI6482.gel:243]    at init_PLL() [DSKTCI6482.gel:45] at OnTargetConnect() .

     

    SEVERE: C64XP: Failed Software Reset: Error 0x00000020/-1139 Error during: Execution,  Device driver: Emulation Connection Loss Detected on Target CPU. It is recommended to RESET EMULATOR.  This will disconnect each  target from the emulator.  The targets should then be power cycled or hard reset followed by an emureset and reconnect to each target. 

     

    SEVERE: C64XP: Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected. 

    And again if we power reset the EVM everything starts working fine.

    any clues?

    Raju