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.
Tool/software: TI C/C++ Compiler
Hi,
I want to use the Factory USB BSL code that resides in BSL memory. I am using a 16Mhz XT2 clock, so I know I have to change the divider etc in the code that tests for 4,8,12 or 24Mhz crystals. My plan was to read out the BSL code on startup of my program(512 bytes), then erase the 512 byte segment, then rewrite the original code back into it with the proper clock divider parameters(2 bytes)(I know this will work from another post that I just was in).
My question is how do I reload the factory USB BSL back into the device, as I erased it during testing? Do I have to get a separate .txt file and download it first, or is there an option in CCS7 to do that automatically?
Thanks,
Jerry
I probably should have left this in the uP 430 forum. I just need to know where on the web site I can get the text files for the BSL for both the MSP430F5659 and 6659(using both)
Thanks
Use MSP-Flasher to export original BSL sector to txt file. Than erase BSL. Do modification on txt file, and write it back to device. All of this can be done with any SBW / JTAG tool. For read/write BSL must be unlocked first. I prefer this way with FET (it is safe, just don't overwrite fuse values with something else than 0FFFFh or 00000h), and not the one where code on target device changing it.
I have MSP430F5659 so I can dump original BSL and attach it here, but maybe your device silicon / BSL version is different than mine.
I am using my software / tool so don't know exactly how MSP-Flasher command line should be for this.
Thanks Gary,
I did have those files, but they are confusing as to which one to use. I use CCS7, and there is no source files for USB operation. The images have both flash and ram based versions. I used the flash based that comes with the IC, but It looks like the PC app downloads files to ram to ultimately download the txt file.
Good news is I have something working and I can download new firmware using the VS app that TI has.
Regards,
Jerry
Yes BSL_USB_GUI Ver 1.3.1
BSL_USB_GUI.sln - this project recompiles the USB Field Firmware code|
| This project does not require Microsoft WDK to recompile.
**Attention** This is a public forum