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.

Linux: Android App for programming with msp430

Other Parts Discussed in Thread: MSPDS, MSP430F5329

Tool/software: Linux

I need to make an Android application to upload a firmware to a microcontroller, it will be possible, I have researched and found an app that recognizes MSP430fetinfo‏ the FET, shows the fw version, my app is a bit beyond that since it has to program the microcontroller, if someone could guide me.

Thank you.

  • Hello Francisco,

    If you just want to program MSP430s, you can do this with the BSL interface instead of JTAG. We already have an example of the Host side of BSL for Linux in the following app note: http://www.ti.com/lit/slaa760

    If you want/need full debug as well as programming, then you will need to use the JTAG or SBW interface and integrate the MSP Debug Stack into your app: MSPDS .
  • Francisco Hernandez5 said:

    I need to make an Android application to upload a firmware to a microcontroller, it will be possible, I have researched and found an app that recognizes MSP430fetinfo‏ the FET, shows the fw version, my app is a bit beyond that since it has to program the microcontroller, if someone could guide me.

    Are you sure that MSP430fetinfo exchange data with FET? I didn't check, but maybe fw version is available in USB device descriptor, from OS side after enumeration.

    I never found SBW / JTAG flashing Android example. Exchanging data by CDC is covered by http://www.ti.com/lit/an/slaa630/slaa630.pdf  Android Applications With MSP430 USB on Mobile Devices

    My plan is to port my flasher (that is working on any Linux I tried, with CDC OS native drivers) to Android, one day. It is written in FPC (https://www.freepascal.org) that can be compiled for Android target (http://wiki.freepascal.org/Android). It doesn't use any custom drivers or dll's.

  • If I saw the article about BeagleBone, but I'm not sure that I have it, I basically need to create an app on Android that with a file previously exported to .txt update the fw of msp430f5329 where I do not have access to a computer to connect it then the only thing we have are android devices, what I tried was to compile mspdebug as a shared object but I did not succeed in importing this library in android studio to be able to use its methods and I'm not sure if the drive would work in android
  • Francisco,

    Again, if you are just trying to download an image to the MSP430 that has already been compiled, the BSL interface is your best resource and the linked resources above are your best bet for Linux based system.

**Attention** This is a public forum