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 Flasher

Hi

I've got a design based on a F2122 in production and to flash it we use Lite FET -Pro430 from Elprotronic. This works great, after a unit is flashed we use a custom gui on the PC to serially send some configuration options (i.e. which particular variant it is etc.) and start the self test and calibration routines. This also works well.

What I would like is to use the custom gui to start the FET flashing, then if successful, automatically send the data to start the calibration etc. From what I have read about the MSP430 Flasher software, the only information about the success or otherwise is in the log file. Is this correct?

Ideally I'd like a return value when calling the MSP430 Flasher executable to allow me to work out if it was successful or not. I've not had a great deal of experience with making the gui on the PC so I'd rather not have to parse through a log file in the gui software.

Thanks

Steve

  • According to the Wiki here: http://processors.wiki.ti.com/index.php/MSP430_Flasher_-_Command_Line_Programmer

    The download includes the source files for the command line utility. If this is correct (disclaimer: I didn't install the files myself) I would imagine that you could modify the utility to return a code specifying various success/failure statuses.

  • I could also imagine a scenario where you rename the main() function to something else and include the files in your project and just call the function to perform the programming process and get the return code directly rather than spawning an executable through the shell.

  • Thanks

    That is what I suspected, integrating the software is not ideal as the custom gui is VB and my experience of any type of gui programming is very limited. I might have a go at some point but for now it looks like we'll have to keep going as we are.

    Steve

  • I'll point out that you could still modify the application to provide return codes you need. Visual Studio Express 2010 is free download from Microsoft.

**Attention** This is a public forum