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.

Trouble Reading Memory Block ???



hello all;

i am running  a project in my EVMK2H12 in whitch i execute a code in my ARM(linux) in parrallel with a project whitch i run in DSP0 in debug mode with CCS.

after some seconds of  running the both codes i get this error :

Trouble Reading Memory Block at 0xa0810a0c on Page 0 of Length 0x4:
(Error -1202 @ 0xA0810A0C)
Device core is hung. The debugger will attempt to force the device to a ready state to recover debug control. Your application's state will be corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further.
(Emulation package 5.1.232.0)

thank you.

  • Hi,
    Please make sure that you are not accessing the ARM address space (Linux) in DSP code.
    Actually this is not recommended procedure to access the ARM (Linux) and DSP(CCS debug mode)
    May I know please why do you want try like that ?
  • Hi Captaine,

    How are you loading and running images on DSP? MPM or  CCS.

    By default, the DSP cores are powered down by u-boot at the time of EVM boot. After kernel is running, MPM can be used to load and run DSP images from Linux command-line/utility.

    Rather than using MPM, if you want to use CCS to load and run DSP images, then set the following setting in u-boot prompt:

    setenv debug_options 1
    
    saveenv
    
    reset

    This will not power down DSPs at startup and CCS/JTAG can connect to the DSP for loading and debugging. This option is useful if you want to boot Linux on ARM and then use JTAG to manually load and run the DSPs. Otherwise you may see "held in reset" errors in CCS.

    Note: The above step is not needed if you want to load DSP cores using MPM and subsequently use CCS to connect to DSP.