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.

Re Flash MSP430 with Raspberry Pi 3 Model B+

Other Parts Discussed in Thread: MSP-FET, UNIFLASH

Hello

I would like to simply wire up the GPIO header of the Pi directly to the MSP430 UART that the MSP-FET normally connects to and run a CLI tool on the Pi to flash an image from its local file system into the MSP430.

Can you provide with any pointers or advise on how to do this please?

  • Hi

    You can refer to the demo code of BSL host with MSP430P401 www.ti.com/.../getliterature.tsp

    Gary
  • Hi

    We also have the tool of uniflash that support CLI. Do you install the Linux in the Raspberry Pi 3? If so you can install the uniflash to do that.

    Best regards
    Gary
  • uniflash may be useful – I’ll look into it, thanks. It looks like (without me modifying the code) it will still require a FET, which is a shame. I was hoping to bypass that and connect the Raspberry Pi GPIOs direct to the tdi, tdo, tms, tck, rst, and tst pins.

    I’ve had a play with a fork of the mspdebug project which in theory would allow me to talk direct to the JTAG interface on the chip without requiring a FET (by bashing the GPIO on the RPi directly). Unfortunately, I couldn’t obtain any sort of response on the tdo line and couldn’t see any obvious reasons (on the scope or in the software) as to why, any Ideas of why this might be?

  • Hi

    Why do you need to use CLI in the Pi? Why the the demo code of BSL host with MSP430P401 not work with you? The BSL can flash an image to MSP430.

    Best regards
    Gary
  • We've used the Pi 3 to program MSP430's via BSL.  You need to tie the UART lines of the Pi to the BSL lines of the MSP430 and then use Pi GPIO to drive the TEST and RST lines.

    There is a python project that should help. 

    https://pypi.org/project/python-msp430-tools/

    Best of luck,

    Barry

**Attention** This is a public forum