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.
Dear all,
I have a .txt file that compiled from ContikiOS. And I want to download .txt file into MSP430F5529 LaunchPad by using BSL Scripter.
Mind you give me the way to accomplish this task ?
Regards,
This can be done also by C / Phyton MSP430 Firmware Update Example ...
And for the BSL Scripter there is script example in slau319
slau319\BSL_Files\BSL Scripter\Demo Scripts\5529_Application_Download\
Change default "script.txt" file by yourself and then run it from prompt like...
BSL_Scripter.exe script.txt
As I noted in last post, start with default script.txt from slau319.
slau319\BSL_Files\BSL Scripter\Demo Scripts\5529_Application_Download\script.txt
MODE 5xx USB
// to erase device, should fail
RX_PASSWORD erase_pass.txt
DELAY 1000
// delay for mass erase
RX_PASSWORD ff_pass.txt
RX_DATA_BLOCK_FAST RAM_BSL.00.05.04.34.txt
SET_PC 0x2504
DELAY 3000
//------------------------------------------------------
// The USB BSL is now in RAM, and is started
// We must now re-initialize communication
//------------------------------------------------------
MODE 5xx USB
//------------------------------------------------------
// Now we simply demo the use of the supported functions
//------------------------------------------------------
RX_DATA_BLOCK_FAST 5529_LED_BLINK.txt
TX_DATA_BLOCK 0x8000 0x100 Data_Read_1.txt
CRC_CHECK 0x8000 0x10 0xCFB8
ERASE_SEGMENT 0x8000
TX_DATA_BLOCK 0x8000 0x100 Data_Read_2.txt
CRC_CHECK 0x8000 0x100 0x5B2F
TX_BSL_VERSION
RX_DATA_BLOCK_FAST 5529_LED_BLINK.txt
SET_PC 0x8000
If for you BSL_Scripter is far from user friendly, then use TI USB GUI tool that I linked in first post.
Hi zrno soli,
I would like to use BSL Scripter. Then I modified like script_example but it still wait for a long time when writing test.txt file!
MODE 5xx USB
// to erase device, should fail
RX_PASSWORD erase_pass.txt
DELAY 1000
// delay for mass erase
RX_PASSWORD ff_pass.txt
RX_DATA_BLOCK_FAST RAM_BSL.00.05.04.34.txt
SET_PC 0x2504
DELAY 3000
//------------------------------------------------------
// The USB BSL is now in RAM, and is started
// We must now re-initialize communication
//------------------------------------------------------
MODE 5xx USB
//------------------------------------------------------
// Now we simply demo the use of the supported functions
//------------------------------------------------------
RX_DATA_BLOCK_FAST test.txt
TX_DATA_BLOCK 0x4400 0x100 Data_Read_1.txt
CRC_CHECK 0x4400 0x10 0xCFB8
ERASE_SEGMENT 0x4400
TX_DATA_BLOCK 0x4400 0x100 Data_Read_2.txt
CRC_CHECK 0x4400 0x100 0x5B2F
TX_BSL_VERSION
RX_DATA_BLOCK_FAST test.txt
SET_PC 0x4400
Regards,
Hi zrno soli,
As you mentioned about TI GUI Interface, May it issue my problem ("Fail writing data block at 4400") ? If needed, Mind you share materials for me ?
Thank you so much!
Regards,
**Attention** This is a public forum