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.

MSP430Flasher and BSL

Other Parts Discussed in Thread: MSP430F5309

I am able to use the MSP430Flasher application to program application code to an MSP430F5309 with no problems.

I also have a custom BSL that I am able to program to the same device using CCS 4.2.5.

When I try to program the BSL using the MSP430Flasher application, it fails as follows:

Evaluating additional triggers...done
Initializing interface on USB port...done
Checking firmware compatibility...done
Reading FW version...done
Reading HW version...done
Powering up...done
Configuring...done
Accessing device...done
Reading device information...done
Unlocking BSL memory...done
Loading file into device...
 * ERROR : File data error
Unable to load file.
Resetting device...done
Refreshing registers...
/* ----------------------------------------------------------------------------
 * UseCase     : MSP430Flasher.exe
 * Arguments   : -n MSP430F5309 -m SBW2 -v -g -b -w BSL.hex -i USB
 * ----------------------------------------------------------------------------
 0,0,0,0,0,0,0,-1,0
 * ERROR : No error
 # Exit: 11
 # ERROR 1014: No error
 * Disconnecting from device...
 * ----------------------------------------------------------------------------
 * Driver        : closed (No error)
 * ----------------------------------------------------------------------------
*/

The application is launched with the following arguments

MSP430Flasher -n MSP430F5309 -m SBW2 -v -g -b -w BSL.hex -i USB

These are the exact same arguments that work when programming application code except for the -b (unlock BSL)  trigger.

Does someone know what I am doing wrong?

Has anyone else used the MSP430Flasher application to program the a custom BSL?

Thanks,

-Jeff

**Attention** This is a public forum