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.
Hi there,
I'm trying to program my MSP430G2553 with a BSL-Rocket but I'm running into some trouble. Here are the pin connections I'm using:
BSL MSP
1 ---> P1.1
3 ---> P1.5
4 ---> TEST
5 ---> GND
6 ---> VCC
7 ---> RST
I am using the BSL Scripter to send the commands and control the TEST and RST lines for the BSL entry sequence. I'm probing the lines with a logic analyzer and everything seems to be communicating properly but when I cycle the reset line on the chip, it runs the previous program that was flashed on it. This is the script file I'm using:
MODE 5xx UART COM9
VERBOSE
MASS_ERASE
RX_PASSWORD password.txt
RX_DATA_BLOCK test.txt
SET_PC 0xC000
And here's a screenshot of the command line. The characters in < > are from P1.1 which I believe is from the MSP itself. I'm also not sure why <90> is returned after the MASS_ERASE command and <a0> is returned after the RX_PASSWORD command.
Any help is appreciated!
Thanks,
Kyle
Kyle,
I apologize for missing this in my first replay, but the BSL Scripter does not support G2xx devices. Please use the BSLDEMO2 application from this page as it supports the G2553.
Mike
I am attempting to get the BSLdemo to run but it gives the error:
ERROR: Synchronization failed!
Device with boot loader connected?
I am using the stock batch script that came with the demo:
@echo off
rem ---- initialize environment variables -----------------------------
setlocal
set workdir=%CD%
set HANDLER="%workdir%\bsldemo2.exe"
set BSL="%workdir%\bsl_150.txt"
set BSL130="%workdir%\BL_130V.txt"
set BSL150="%workdir%\BL_150S_14x.txt"
set TXT="%workdir%\test.txt"
set ComPort=COM9
goto test1
:test1
echo --- test F413 (V1.30), F123 (V1.40), both 1 mass erase cycle ----
echo.
%HANDLER% -c%ComPort% -m1 +epvw %TXT%
goto end
:test2
%HANDLER% -c%ComPort% +pvrw %TXT%
%HANDLER% -c%ComPort% -w %TXT%
%HANDLER% -c%ComPort% -s2 -w %TXT%
%HANDLER% -c%ComPort% -w +vr -pint_vect.txt %TXT%
goto end
rem ---- clear environment variables ---------------------------------
:end
pause
set HANDLER=
set BSL=
set BSL130=
set BSL150=
set TXT=
set ComPort=
Any ideas?
The first 'x' in MSP430x5xx refers to a letter, typically an 'F' in this case. So a part number in this family would be MSP430F5529. The number before the last 'x's is the family of devices, which would be all devices that start with the same number (a '5' in this case). The "xx" after the '5' just refers to the specific part number in the family, and does not have to be only two digits. This is why the MSP430F5529 is considered part of the MSP430x5xx family. A lot of times, you will see
"5xx" or "F5xx" for short when referring to a family, which makes it easier to see that families are grouped by the first number in the specific part number.
For you error with the BSLDEMO2, double check your RX and TX connections as I discussed earlier. If there is no BSL synchronization, it likely means either the device was not put into BSL mode (using entry sequence on TEST and RESET) or the serial data was not received by the device. If you have an LSA or oscilloscope, you can use this to monitor your serial lines to make sure the correct data is sent.
Mike
**Attention** This is a public forum