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.

MSP430 external memory access

Other Parts Discussed in Thread: MSP430WARE, CCSTUDIO

TI staff,

My platform contains basically:

-          MSP-TS430PM64 Kit [REV.: 1.1] with the TI MSP430169 MCU.

-          FETP430IF 1.4 Flash Emulator

-          The IAR Embedded Workbench IDE [v5.60.2]

-          PC running on Windows 7

Objective: supervise the MSP memory space and plot the content of MSP memory using a graphical interface (developed on C, C++ or JAVA).

Question: it’s possible?

There is a way to do something like that?

  • Delared said:
    Question: it’s possible?

    Sure. You need a software that reads the memory content and sends it to the PC by any possible way. Most likely a serial connection, using the MSPs hardware UART to a PC COM port or an USB/Serial converter.

    How to use an UART can be found in various forum threads, and there is demo code available (MSP430ware etc.)

  • Jens-Michael,

    Thanks for your help.

    you're right. we can do this through the serial interface. however, I adopted the C-SPY macros solution provided by IAR IDE, and which seems to be optimal. Like the load/save memory utility on CCStudio IDE. I can supervise my memory by plotting its content in an external file (.txt). 


    So, there are no need for a serial interface which requires an additional software and hardware work :)

  • C-Spy works without any MSP cooperation.
    You already have the macros to do the access, so the problem here is just the PC frontend. And therefore a question of PC programming.

    Now IAR and C-Spy are no TI products, so for help, you should ask IAR, it's their baby.

    Please note that accessing the MSP memory through JTAG causes the CPU to be halted for the access. It interferes with program flow and is unexpected and undetected by the CPU. This may cause problems which do not appear when the MSP actively tells you the memory contents through a serial connection.

    Also, the C-SPY variant requires an IAR license and a FET. This might be okay if it is just for your internal development, but definitely nothing for a release product.

  • Jens-Michael,

    Thank you for your support :)

    >> accessing the MSP memory through JTAG causes the CPU to be halted for the access...

    Yes you're right, however, this is just for my internal development, and I accept it for the moment.

    >> "Now IAR and C-Spy are no TI products, .. Also, the C-SPY variant requires an IAR license and a FET".

    I'm trying to do this with TI product [using CCStudio v5.5], but I can't find how to save [automatically] a memory content to an external file using macros or another way!!

    may I ask if  thre is a guide or a document about that.

     

  •  Hi Delared, I am not sure this can help your goal, on IPcore an MSP430 exist and is accurate enough, you can add dual port memory interface, after first full dump using a buffer can transfer just what is changing (read write or event driven) and help trace real time of all memory.

     This require a lot of VHDL coding, some peripheral need to be constructed and still some interface to a real DMA MSP can be necessary to get analog and or other processor information.

**Attention** This is a public forum