Sir i am facing following problem.....In Order to reply you questions,
To enter BSL mode, communication hardware must allow access to TEST, RESET, P1.1 and P1.2. .. The BSL Entry Sequence can not be done by manually pressing reset and test..
The converted Serial: DTR, RTS, RXD, and TXD are connected to the F5438: RST, TEST, BSL-TXD and BSL-RXD respectively.
The signal of DTR, RTS, must be logically inverted on the RS232 levels either by software or hardware...
Check chapter 4 and 6 of **broken link removed** for more info and for reference design hardware connection for BSL usage
_____
You should have no problem with revision L
0xEE is the code for timeout.
Any one of these could be the cause of this:
- Incorrect COM, or incorrect/no hardware connection between the PC and MSP430
- BSL not actually in the device (in case of have been previously erased)
- Invoke sequence not working.
Can you show the wiring diagram of your serial communication to msp430?
This BSL programmer is connected to the port pins of MSP430 using FRC cable
Signal TCK must not be connected on devices with the TEST pin.
you can't connect tck if you have a test pin, so it says in 4.1.3 of **broken link removed**
If you are using that circuit, make sure you are not inverting the DTR and the RTS signals on the PC Serial driver...
Serial settings:
9600 baud (half duplex)
1 Start bit,
8 databits, LSB first
even parity
1 stop bit
When i selected USB. it showing following error.
------------------------------------------
BSL Scripting application 1.06
The local time is: 10:39 on 30.04.2012
------------------------------------------
Initializing, Mode: 5438 USB: USB
Changing Baud Rate to 9600 DONE
Mass Erase: DONE
RX Password: DONE
Writing MSP430TB.txt to device: DONE
CRC from 5c00 of 4096 bytes to 982b NOT A MATCH (0000)
C:\BSL Scripter>
That is a successful write... CRC check is only a Monitor tool ... Performs a CRC check starting at the given Address over length number of bytes. This command will simply output the result of the CRC operation, or compare the result to a supplied value and report whether there is a match or not.. (in your case it will try to match it to the provided 0000)... anyway the CRC check is only for checking the data written, and it is only useful if you know what result to expect.. (like when you calculate on the .rom file).
__________
To change Baud rate of serial port and other settings, you can do it on the Device Manager, goto to ports, and right click the port you are using and select properties..
If your port driver don't let you select the baud, you can try to change baudrate on the BSL_Scripter's script.txt
You could use something similar to
MODE 543x_family COM1
CHANGE_BAUD_RATE 9600
MASS_ERASE
RX_PASSWORD
RX_DATA_BLOCK Big_File.txt
CRC 5C00 1000 982B
the problem might be in your DTR and RTS... this signals must be High for logic true, and low for logic false... can you check them?
You can plug in your BSL programmer and set DTR and RTS high with the help of Realterm (under the tab port): https://sourceforge.net/projects/realterm/files/
then just check the signals with a multimeter in the test and reset pins of the mcu
I just hope it helps =)
Don't forget to double check the pin out..
Serial Port DB9 --> MCU PIN
2 --> P1.1
3 --> P2.2
4 --> RST
7 --> TEST
One other thing, I've seen Issues with the reference BSL Programmer from the TI datasheet... They have problems with power stability... Consider to try using other power supply then the one from the com port ...
Also, in future consider use a MAX3238 to make a BSL Programmer ... You will have 3 lines for PC - MCU (TX, DTR , RTS), and 1 of 4 lines for MCU-PC (RX)... You will only need to invert DTR and RTS signal on the Serial adapter driver
Have you managed to solve the problem?
If so, please say what was the problem and how did you solved it in order to others can find help in this thread..
try getting a MAX3238 and wire it to the msp430 .. maybe you can get a sample...
check:
**broken link removed**
**broken link removed**
You could also use a few rs3232 only for test.. you need 3 lines from the comp to the MCU and one line to the computer
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?