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.
Thank You very much Katie.
But I am getting an error. When I issue command for Erasing segment at address 0x8000 the scripter hangs and after some time I see <ee> <ee> <ee> <ee>... appears after every 6 or 7 seconds. The Output is:
------------------------------------------
BSL Scripting application 1.07
The local time is: 10:28 on 03.03.2014
------------------------------------------
Initializing, Mode: 5xx COM: COM4 DONE
Verbose mode on
Erasing segment at addr 8000
-------------------------------------------------
[80] [04] [00] [12] [00] [80] [00] [97] [69] {00}
-------------------------------------------------
-------------------------------------------------
{80} {00} {07} {87} {b4} {ee}
I don't understand what is happening!!!
Hello Miss Katie,
I referred http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/246869.aspx and followed your guidance to use no parity in BSL firmware and also downloaded 4604.BSL_Scripter_no_parity application. When I tried to write, I got following output
------------------------------------------
BSL Scripting application 1.06
The local time is: 16:00 on 03.03.2014
------------------------------------------
Initializing, Mode: 5xx COM: COM5 DONE
Verbose mode on
Mass Erase:
-------------------------------------------------
[80] [01] [00] [15] [64] [a3] {00}
-------------------------------------------------
-------------------------------------------------
{80} {02} {00} {3b} {00} {60} {c4}
-------------------------------------------------
DONE
Writing uart_tx.txt to device:
-------------------------------------------------
[80] [f4] [00] [10] [00] [8b] [00] [b2] [40] [80] [5a] [5c] [01] [b0] [13] [8a]
[8d] [f2] [d0] [80] [00] [25] [02] [f2] [d0] [80] [00] [23] [02] [7c] [40] [41]
[00] [b0] [13] [c8] [8d] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d]
[16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03]
[43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d]
[14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d]
[40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07]
[1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d]
[83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe]
[23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d]
[16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03]
[43] [0d] [14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d]
[14] [3d] [40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d]
[40] [07] [1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07]
[1a] [1d] [83] [fe] [23] [0d] [16] [03] [43] [0d] [14] [3d] [40] [07] [1a] [1d]
[83] [fe] [23] [0d] [16] [03] [43] [fa] [d5] {52}
-------------------------------------------------
FAIL writing data block starting at 8b00
I am able to mass erase chip and some other commands are also working fine but why scripter is not able to write data on flash starting at location 0x8b00.!!!
Hi Gaurav,
I'm glad you were able to find another post that helped. For your current issue - Did you remember to include the RX_PASSWORD command in your script before you try to write the file into the device? You need to send the password to unlock the device before you are allowed to do reads and writes into the flash/fram on your device - the only unprotected commands are MASS_ERASE and RX_PASSWORD - please see section 3.6.1 of www.ti.com/lit/pdf/slau319 for more details.
If you mass erase first, then the password should be all 0xFF, and by default in the BSL scripter if you just put the command RX_PASSWORD with no parameter passed to it, it will send the default all 0xFF password. Then you should be able to use read and write commands.
Regards,
Katie
Hello Miss Katie,
Thank you very much for providing information.
But the difficulty that I am facing is, sometimes MASS_ERASE command runs and sometimes not and also RX_PASSWORD command is unsuccessful every time.
The error message is 0x51 (Header incorrect. The packet did not begin with the required 0x80 value) or sometimes it is 0x52 (Check-sum incorrect. The packet did not have the correct check-sum value).
I split this into a new thread as it is a new support issue instead of piggy-backing on the old thread. Earlier thread for reference: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/132345/1130435.aspx#1130435
Guarav,
Let's back up a step to make sure that I understand your setup.
Which MSP430 device and board are you using?
What are you using to interface between the PC and the MSP430 for BSL communication - are you using a G2xx Launchpad as your interface as mentioned in www.ti.com/lit/pdf/slaa535?
I'm a bit confused since you mentioned my earlier thread about software BSL entry and using a non-parity version of BSL scripter, but I thought you were using the MSP-EXP430G2 Launchpad interface from SLAA535 as the interface between an MSP-EXP430FR5739 that you are trying to load, and your PC - that configuration would actually need you to use the normal version of the BSL Scripter that includes parity.
Regards,
Katie
**Attention** This is a public forum