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 connection problem

Hi All,

We have designed our board with 6678 dsp with XDS100 type emulation capability.

We were able to work with no problem until yesterday. For two days, I started to get an error from CCS when I try to load gel file. Here is what I am doing:

  • I am launching my configuration file. Then I see core list treeview at debug profile.
  • I load related gel file. I see at the console that the 'setup memory map ...Done' .
  • I connect to core 0.

But after a series of  comments on the console, there appears an emulation error. And connection to the debugger cut.

The error is : 'Trouble reading memory block at 0x231011c on page 0 of length 0x4'. Here is error dialog box :

 

The address that cause trouble is changing time to time. But they are all in 0x02310000 - 0x02700000 range.

Do you have any idea about this problem ? Is there a problem in the DSP ?

 

thanks in advance,

koray.

  • Koray,

    The range you mentioned contains several peripheral registers, including the PLL controller (the address shown in the error message above).

    This makes me wonder a few things:

    • The device initialization performed by the GEL may be causing instability on the device, thus preventing the emulator from keep executing its steps.
    • One (or multiple) initialization step (s) may be causing a power line to bounce and either resetting or causing an instability on the device itself.
    • The JTAG clock speed may be too fast and noise can be causing a loss of communications.

    In any case above, I would suggest you to check the troubleshooting steps of this page, as it contains some good advice and a strategy to debug the emulator connectivity.

    I will keep checking to see if I can find some additional tips to help you.

    Hope this helps,

    Rafael

  • Hi Rafael,

    We changed DSP and it seems to be working now. But there is another point that I don't understand. The total current that our board consumpts increased by 0,4 mA. Do you have any idea about the cause of this situation ?

    Regards,

    koray.

     

  • Koray,

    I am glad you could connect to the board.

    Regarding the additional power consumption (400 microampères, is that right?), again that can be caused by several factors - my guess is that a subsystem on the device was not being powered properly, therefore the working board would show that extra current consumption.

    An exact estimate is difficult to get, but you could check the device datasheet for an overall device power consumption.

    Best regards,

    Rafael