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 have one MSP430F5529LP. I want to update firmware by UART BSL.
I try those method, but still fail.
My MSP430F5529 hardware connect to PC path on below:
MSP430F5xxx <--> FT232 <------> USB <-------->PC
RX --- TX
TX --- RX
TST/SBWTCK --- RTS
GND --- GND
RST/SBWTDIO --- DTR
1. When I use python-msp430-tools. I try any command, but always no response. such as python -m msp430.bsl5.uart -p COM17 -e.
I also try python -m msp430.bsl5.uart -p COM17 --invert-test. But my test pin no invert.
2. I also use BSL_Scripter.exe, but still fail. It always response no ack.
3. I try to use software entry BSL then using BSL_Scripter.exe or python-msp430-tools still fail.
In my main.c. I write
__disable_interrupt(); // disable interrupts
((void ( * )())0x1000)(); // jump to BSL
Can't anyone tell me how should I do?
Thanks.
F5529 is factory loaded with USB (HID) BSL. If you want to use UART BSL, than factory BSL firmware must be replaced (erase and write again) by UART version.
BTW, with few extra parts for enabling USB hardware F5529 USB BSL can be used with chip directly connected to PC USB port without FT232.
Hi zrno,
Thanks for your reply. How can I replaced and where can download USB(HID) version BSL and UART version?
Because our product interface may be UART.
Thanks.
Hello Zheng,
You can find the UART BSL image within the "Custom BSL" download link featured on the following webpage: www.ti.com/tool/MSPBSL
You will also find all related BSL documentation and guidance here as well.
You will have to initially install the UART BSL via JTAG or SBW.
Hi Jace,
Thanks for your reply. I will try.
But I have another question is the MSP430F5529 Launchpad firmware update is by another MCU that call EZ- FET Lite.
The EZ- FET Lite is not use UART BSL to update MSP430F2259 firmware?
If it is that means MSP430F5529LP has UART BSL version or not?
Thanks for help.
LP eZ-FET Lite update target device firmware by SBW interface, using SBW clock and data line (TEST and RESET pins on target device). LP eZ-FET Lite TX and RX lines are part of software UART - CDC bridge, nothing else.
Hi zrno,
Thanks for your reply. Your reply clarifies some of my doubts.
1. If I want to use UART BSL, my first step is update MSP430F5529 BSL from USB to UART then connect TXD, RXD, TST/SBWTCK and RST/SBWTDIO with PC. such as below.
MSP430F5xxx <--> FT232 <------> USB <-------->PC
RX --- TX
TX --- RX
TST/SBWTCK --- RTS
GND --- GND
RST/SBWTDIO --- DTR
After that, I can use python-msp430-tools or BSL_Scripter.exe to update MSP430F5529. Is right?
2. If I want to use I2C BSL , should I update I2C BSL version to my MSP430F5529 BSL?
And then should need TST/SBWTCK and RST/SBWTDIO pins? or only I2C data and I2C clock pin ?
Thanks for help.
TEST and RESET pins are always used for SBW / JTAG / BSL entry sequence, except direct jump from application firmware inside device itself. If I remember right all BSL open source projects are in slau319 and than device can be used in combination with BSL Scripter on PC side.
BTW, there are RESET / BSL buttons on LP (target device board part) that can be used to enter factory HID BSL. Just press both, release RESET first, and then BSL, and device should be enumerated as HID on any OS, and firmware can be uploaded by dedicated Win GUI, phyton or BSL Scripter without using FET.
Hi zrno and Jace,
Thanks for your reply that I get many information about MSP430F5529 BSL.
Because the MSP430 was the first time use for me.
I have some question that hope to get your help.
1. How can I get MSP430F5529 BSL version(UART , USB or I2C) on chip?
2. Below is my replace MSP430F5529 BSL from USB to UART. Is it right?
Check two options from uniflash.
Then load UART BSL image and push Load Image button.
Thanks.
Hi zrno,
I dowload the MSP430F5529 UART BSL image. (./Released_BSL_Images\MSP430F55xx_Family\UART BSL\BSL.00.07.05.04.txt)
Then I use the MSP430Flasher.exe to update MSP430F5529LP BSL.
It seems no error. But how can I check BSL version?
Because I execute BSL_Scripter.exe, the application still show fail.
How should I do?
Thanks.
Hi Zheng,
Jace is currently out on vacation and will be returning next week. He will get back to you next Tuesday when he returns.
Thanks,
Urica Wang
Hello Zheng,
The debuggers featured on the launchpads, ez-FET and ez-FET LIte, do not support BSL communication or invocation. You would need and MSP-FET or BSL-ROCKET for this.
**Attention** This is a public forum