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.

PEEK/POKE operations on a pre-programmed F28335

We are testing an F28335 chip on a custom board and have access to the JTAG interface. We have specific (static?) memory addresses that we would like to PEEK/POKE while the program runs (though understandably we'll have to halt the chip) but as we aren't the party who built/programmed the board, we don't have access to the source nor can we reprogram the chip, say, in debug mode. Note that I believe the program is custom as well and does not use any DSP/BIOS or RTA/RTDX libraries.

Is it possible to perform these simplistic memory PEEK/POKE operations on such a setup? I have an impression that in order to do the standard CCS "Memory Browser" type operations we need to have the source and build it in Debug mode, then program, though hopefully that isn't the case. We are a little familiar with DSS, so using this is possible as we may want to automate these tests going forward.

To restate the question (hopefully more simply), is it possible to do simple memory read/writes to specific addresses via the JTAG interface on a chip that is already programmed and cannot be reprogrammed?

Thanks!

  • Hi,

    EDS said:
    To restate the question (hopefully more simply), is it possible to do simple memory read/writes to specific addresses via the JTAG interface on a chip that is already programmed and cannot be reprogrammed?

    Generally the chips are CSM locked once programmed for production. If CSM locked, then the password is required to unlock the flash to read/write memory locations.

    Regards,

    Gautam

  • Gautam Iyer said:

    Generally the chips are CSM locked...

    Sorry for the confusion, but I don't believe this to be the case here. We want to avoid reprogramming the device because it isn't the test procedure, not because they are locked production units. In other words, we can reprogram them, we just don't want to. We want to test the program already on them.

    I suppose the root of my question is: Is it possible to run Code Composer, start a debug session, browse to a predetermined memory address, and manipulate the data at this address without also having Code Composer push a program to the device?

    While re-reading this reply I realize this might be more of a CCS rather than a C2000 question, but I also would like to make sure same is possible on this particular device. :)

  • EDS said:
    While re-reading this reply I realize this might be more of a CCS rather than a C2000 question, but I also would like to make sure same is possible on this particular device. :)

    Yup, CCS team would be of more help. I'm directing this to a CCS expert.

    Regards,

    Gautam

  • EDS said:
    Is it possible to run Code Composer, start a debug session, browse to a predetermined memory address, and manipulate the data at this address without also having Code Composer push a program to the device?

    Yes - C28x devices have a "real-time debug" mode that allows you to update and view memory while the device runs.  You could open a memory window, enable realtime, turn on realtime refresh for the memory window and go.  You don't have to load a program to do this.  There is some information for CCS 4 here - it may have moved in the menus on CCS 5. 

    Gautum is correct that if the device is CSM locked you won't be able to do this.

    http://processors.wiki.ti.com/index.php/Real-Time_Mode_Debug_with_CCStudio