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.

BSL Scripter for MSP430F5529 LaunchPad

Other Parts Discussed in Thread: MSP430F5529

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 ...

    http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430_USB_Developers_Package/latest/index_FDS.html

    And for the BSL Scripter there is script example in slau319

    slau319\BSL_Files\BSL Scripter\Demo Scripts\5529_Application_Download\

  • Hi,

    After I typed as following command: "MODE 5xx USB" to initialize the selected communication channel for a BSL session. Then it stops working! Mind you give me a solution for this case ?

    Regards,

  • Change default "script.txt" file by yourself and then run it from prompt like...

    BSL_Scripter.exe script.txt

  • Hi zrno soli,

    After I have accomplished as you said, there is no "stopped working" case but this displayed an error. Do you think about this case ?

    My script includes as following:

         MODE 5xx COM4

         VERBOSE

         RX_DATA_BLOCK test.txt

    Regards,

  • 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,

  • Before executing BSL Scripter you must force 5529 target device to USB BSL mode by RESET / BSL (PUR) buttons. Press both buttons together, release RESET button first, and after release BSL (PUR) button. I advise you to use user friendly TI GUI interface.
  • 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