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.
I am a bit of a nubee, but I use LaunchPad and MSP430 Flasher to program MSP430F5438A successfully with 23kB Bootloader hex file via SBW and works fine. Problem is Flasher reports error 59 File Data Error when I try to program complete MSP memory using 727kB hex file successfuly used by another group with MSP-Gang Programmer. Is there some limitation of low cost Flasher versus MSP-Gang flash utility or is what I am trying to do totally reasonable? Or does MSP-Gang use file type-format incompatible with the LaunchPad MSP430 Flasher utility. I cound not find source code in Flasher download for MSP430_VerifyFile(const char* File) function which might lead me to what Flasher is complaining about. Suggestions ?
Hi Brett,
I'm assuming that the 727kB is the size of the file in Windows, and not the size of the data being programmed into the part (because that would be too big).
1. What file extension is the hex file that the other team uses with the MSP-GANG? Is it .txt, .hex, or something different? Can you find out how the other group generated this file (did they use CCS or IAR to generate the hex file? or do something different?)
2. Which version of MSP430Flasher do you have? I'm seeing in the readme some fixes that might be related (e.g. "- Fixed a bug where upper case file extensions would not be recognized properly". )
The MSP-GANG typically programs from a standard TI-txt or Intel-hex file format generated by CCS or IAR, just like the MSP430Flasher. However the MSP-GANG also has some modes like "from image" where you can use an MSP-GANG image that includes not just this binary file but also some other programming settings, but these files have types like .mspgangbin or something and look different.
For MSP430_VerifyFile() I can see that this function is coming from the library MSP430.dll which is why you are not seeing the source in there. However we do release the MSP Debug Stack Developer's Package (MSPDS) with an open source version you could try looking in - that has files that build to create that DLL.
Regards,
Katie
Hi Brett,
You mentioned that you are using the MSP-EXP430G2 Launchpad as your debugger. I have found that this is your root cause - this eZ-430 debugger does not officially support MSP430F5xx devices - it was not designed to and is not tested with them. Please see http://www.ti.com/lit/pdf/slau278 table 1-1, and the MSP-EXP430G2 user's guide. I can take my .hex file and load it with the MSP-FET just fine, but if I try the same .hex file with the same MSP430Flasher commands and try to use the MSP-EXP430G2 programmer, then I get error 59 exactly as shown in your window.
You need to use a hardware programmer that supports your device. You could use MSP-FET, or one of the launchpads that has the newer eZ-FET or eZ-FET lite programmer on it, like the MSP-EXP430F5529LP or the MSP-EXP430FR5969. I tried one of these (MSP-EXP430F5529LP) and it works perfectly to program the part with 430flasher, just like the MSP-FET did. These launchpads do support F5xx devices - please see the MSP-EXP430F5529LP or MSP-EXP430FR5969 user's guides - these new Launchpads do support most MSPs (basically any MSP that has SBW).
Regards,
Katie
**Attention** This is a public forum