Msp430 Serial Bootloader
Posted : adminOn 2/26/2018Inspiration:So I'm looking at making a small msp430fr5739 based board. Install Linux Mint To Usb. I was thinking that I would be able to use the msp430 launchpad to program them. You can think of it as a bootloader that happpens to use the Remote Serial Protocol. This allows you to load new programs on that chip without the need for a launchpad or an FET. All you need is a usb->serial port dongle. You can find these on ebay from $2-$10. They all go faster than the 9600 baud the virtual serial port the msp430 launchpad provides.
Dear Sir Thank you. I will follow your suggestions. After downloading the BSL code to the MSP430F5438 using JTAG, then how to download my application code to the MSP430F5438 using BSL(Serial port),for this which flash software i have to use. Please help me. Regards Sunil ---------- Post added at 17:18 ---------- Previous post was at 17:05 ---------- Dear Sir Thank you.
I will follow your suggestions. After downloading the BSL code to the MSP430F5438 using JTAG, then how to download my application code to the MSP430F5438 using BSL(Serial port),for this which flash software i have to use. Please help me. Crj Maintenance Manual. Regards Sunil ---------- Post added at 17:26 ---------- Previous post was at 17:18. I think that the original BSL already supports Serial Downloading. The software you can use to download the code trought BSL is BSL_Scripter, and you can download it from here: it is the.exe file located in that zip folder under BSL_Files/BSL Scripter, where you have a user manual. You also have demo examples of scripts for code downloading.
Just copy the executable to the demo folders, and run it from there. I will post here some sample scripts from that file: Download App code: Download App code and verify: Dear Sir, when i double click on' BSL_Scripter.exe', black screen will come and disappear. Can you tel me the solution for this. Sir i am not understanding the following codes.
Download App code: MODE 5xx COM1 MASS_ERASE RX_PASSWORD RX_DATA_BLOCK Big_File.txt CRC 5C00 1000 982B Download App code and verify: MODE 543x_family COM1 MASS_ERASE RX_PASSWORD RX_DATA_BLOCK Big_File.txt CRC 5C00 1000 982B please help me. When i double click on' BSL_Scripter.exe', black screen will come and disappear. You need to run it from command prompt Under windows press 'Alt+R', and in the run dialog, write cmd (if in windows xp or above) Now navigate with DOS commands to folder where you have the BSL_SCripter stored. Execute it from there by typing - BSL_Scripter myScript.txt and press enter. ('myScript.txt' the name of the fille containing the script that will be interpreted). The code need to in.txt format TI-TXT for generating the compiled.txt ROM you can use code composer studio. How to Generate Binary-Format Files (TI-TXT and INTEL-HEX) The CCS installation includes the hex430.exe conversion tool.
It can be configured to generate output objects in TI-TXT format for use with the MSP-GANG430 and MSP-PRGS430 programmers, as well as INTEL-HEX format files for TI factory device programming. The tool can be used either standalone in a command line (located in ccsv5 ccs_base tools compiler msp430 bin) or directly within CCS.
In the latter case, a post-build step can be configured to generate the file automatically after every build by selecting predefined formats such as TI-TXT and INTEL-HEX in the 'Apply Predefined Step' pull-down menu (Project → Properties → Build → Build Steps Tab → Post-Build Step → Apply Predefined Step). The generated file is stored in the Debug directory. Volo View Express 2.01 Free.
For more info check the user manual Check the manual given with BSL_Scripter for the understanding of the scripting commands and parameters. But basically: MODE 543x_family COM1. Dear Sir Thank you. I will follow your suggestions. Regards Sunil ---------- Post added at 11:57 ---------- Previous post was at 11:49 ---------- Dear Sir. Thank you so much.i ll Follow your Suggestions. I have one doubt that.