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.

MSP430F5529 Rev H & I USB BSL version and source

Other Parts Discussed in Thread: MSP430F5529

I'm trying to build a custom flash BSL for a product we've developed, but am first simply trying to verify that I'm starting with a source code base that is appropriate.  The primary customization we need is a clock frequency of 19.2 MHz instead of the ones natively supported by the factory BSL.  My questions are:

  1. Are different BSL images required for different die revisions?  See the excerpt below from slau319i.  It seems to indicate that this is the case.
  2. Will the latest custom BSL source/images work on all previous die revisions?  This appears to not be the case.  00.03.83.33 works on a Rev H device I'm working with, but 00.07.88.38 does not.
  3. Our fist pass products were built with Rev I devices.  I downloaded all of the versions of the custom BSL listed on this thread (http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/309432/1116349

  • The end of the 3rd question is missing:

    3. .... after downloading all the versions from the referenced thread, none of them contained image 00.07.85.36. Which version of the Custom BSL source should be used for Rev I MSP4430F5529 devices?
  • Hello Dallas,

    Answering your questions:

    1) No, different BSL versions are not required for different die versions.  The excerpt in SLAU319i shows the BSL versions that were loaded by the factory before they were shipped out.  

    2) The recent BSL available in SLAA450 should work with any of the die versions.   It has bug fixes and updates to BSL software.   I am not sure why you are having issues with 00.07.88.38 working with REV H.

    3) Do you have need for the 00.07.85.36 image?  You can use either the 00.03.83.33 or the 00.07.88.38 images for the Rev I.

     

    Regards,

    Arthi Bhat

  • I was able to verify that both versions work with the Rev H die using the Elprotronic Lite FET-Pro430 and an MSP430F5529 Launchpad. I'm still working on rebuilding the custom BSL project. It builds with no errors using the version of IAR Kickstart that it was originally built with, but is not working in hardware.

  • Default original BSL is working in hardware, but your customized version not? If I have problem to replace original BSL with customized that support 19.2 MHz, I will do it by replacing 24 MHz constants with 19.2 MHz constants in original build txt / hex file.
  • Things are now working.  There were two issues.  One was using the correct linker file and the other was including the BSL430_Low_Level_Init.s43 in the build.  Here are the steps that worked for me:

    Step 1: Download Custom BSL project

    This page has a link to the latest version of the TI custom BSL project.  Note the IAR version used to build this project.

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

    Step 2: Download the Appropriate Version of IAR Kickstart

    This page provides a list of IAR Embedded Workbench Kickstart for TI MSP430 Releases and their associated downloadable install files.  Download and install the version that was used to build the custom BSL project downloaded in Step 1.

    http://processors.wiki.ti.com/index.php/IAR_Embedded_Workbench_Kickstart_for_TI_MSP430_Release_Notes

    Step 3: Project Setup

    Open the project from Step 1 using the IAR Kickstart IDE downloaded in Step 2.  Make the following changes:

    1. The linker file needs to be changed.  Open the project-level options.  Select the top line on the IAR workspace then select ‘Project -> Options…’ from the main menu.  This opens the project options menu.  Next select Linker on the left and the Config tab on the right.  Override the default linker file and select $PROJ_DIR$\CONFIG\lnk430_BSL_AREA_RAM_2400-33FF.xcl.

    2. Include the file ‘BSL430_Low_Level_Init.s43’ in the project.  By default, this file shows up in the project, but is excluded from the build.  To change this, select the file in the main IAR workspace file list then select ‘Project -> Options…’  Uncheck the ‘Exclude from build’ option.

  • Hi there,

    I just want to understand which two BSL versions you got working?  Did you get BSL.00.07.88.38 working using the method above?

     

    Regards,

    Arthi Bhat

  • I was able to get BSL.00.07.88.38 working with no problems and was also able to do a custom build based on the Custom BSL slaa450 version 01.00.07.00 (which contains 00.07.88.38).  I'm not sure what the earlier issue was with the Rev H device, but I was not able to duplicate it.  The custom BSL is working on both the Rev H and Rev I device.

  • I have a product that has sucessfully been produced for several years now. But now USB BSL has stopped working when going from rev H to rev I. I have programmed new bootloader from file "BSL.00.07.88.38.txt" still no sucess.

    Our custom windows program uses USB BSL via BSL430.dll for field upgrade and parameter setting.

    Urgent help needed!

  • Hi,

    Please try the following BSL file and let me know if it works for you.   The firmware upgrader tools (the Python firmware upgarder tool has not been updated to download the latest RAM_BSL file, so please use the MSP430Flasher.exe file to download the BSL and RAM_BSL firmware. 

     

    BSL_00.08.88.39.txt
    @1000
    05 3C 41 3C FF 3F FF 3F 00 08 88 39 B2 40 80 5A
    5C 01 32 C2 31 40 00 34 B0 13 56 17 FF 3F 06 00
    FF 09 01 A1 01 85 3F 95 3F 75 08 25 01 15 01 09
    01 81 02 85 3F 95 3F 75 08 25 01 15 01 09 01 91
    02 C0 09 02 29 00 01 01 00 80 32 09 04 00 00 02
    03 00 00 00 09 21 01 01 00 01 22 24 00 07 05 81
    03 40 00 01 07 05 01 03 40 00 01 FF 0F 05 0F 03
    11 02 17 01 12 01 00 02 00 00 00 08 47 20 00 02
    09 01 00 00 00 01 3D 90 AD DE 04 20 3E 90 EF BE
    01 20 03 3C 0C 43 0D 43 10 01 3C 41 3D 41 10 01
    0C 43 B2 D0 03 80 82 01 B2 40 28 96 00 09 B2 D0
    00 01 04 09 A2 B2 02 09 0A 20 B2 93 FE FF 08 20
    3B 40 2C 01 1B 83 FE 23 B2 B2 08 09 01 24 2C D3
    B2 C0 00 01 04 09 C2 43 28 96 10 01 F2 B0 0F 00
    84 23 09 20 C2 93 84 23 03 34 5E 42 20 09 0B 3C
    5E 42 22 09 08 3C C2 93 84 23 03 34 5E 42 C8 23
    02 3C 5E 42 88 23 7E F2 C2 4E 60 24 5E 42 60 24
    42 19 4E 10 C2 4E 60 24 B0 13 E2 17 3C 40 60 24
    80 00 A6 17 F2 43 02 24 C2 43 10 24 C2 43 21 09
    10 01 C2 93 82 23 11 20 5E 42 84 23 7E F0 0F 00
    0A 24 5E 93 0E 20 C2 93 84 23 03 34 F2 D2 C8 23
    02 3C F2 D2 88 23 80 00 24 11 F2 D2 20 09 F2 D2
    22 09 10 01 C2 93 80 23 04 34 1F 43 D2 D3 3C 09
    03 3C 0F 43 D2 C3 3C 09 5E 42 80 23 7E B0 60 00
    8F 20 5D 42 81 23 4D 83 80 24 5D 83 6B 24 6D 83
    67 24 6D 83 45 24 5D 83 09 24 6D 83 52 24 5D 83
    46 24 5D 83 33 24 5D 83 54 24 7A 3C 1F B3 78 28
    5E 42 83 23 5E 83 08 24 5E 83 0F 24 7E 80 1F 00
    1C 24 5E 83 13 24 6C 3C C2 43 23 09 F2 40 12 00
    02 24 3C 40 74 10 80 00 A6 17 C2 43 23 09 F2 40
    29 00 02 24 3C 40 42 10 80 00 A6 17 F2 40 24 00
    02 24 3C 40 1E 10 80 00 A6 17 C2 43 23 09 F2 40
    09 00 02 24 3C 40 54 10 80 00 A6 17 1F B3 48 28
    B0 13 E2 17 C2 43 60 24 D2 42 01 24 61 24 3A 3C
    F2 D2 22 09 D2 42 82 23 3F 09 80 00 24 11 F2 D2
    22 09 D2 42 82 23 00 24 B0 13 24 11 D2 43 12 24
    10 01 C2 43 23 09 D2 43 02 24 3C 40 00 24 80 00
    A6 17 F2 D2 22 09 D2 42 84 23 01 24 80 00 24 11
    80 00 32 11 5E 42 84 23 7E F0 0F 00 0C 24 5E 93
    1B 20 C2 93 84 23 04 34 F2 F0 D7 00 C8 23 03 3C
    F2 F0 D7 00 88 23 80 00 24 11 7E 90 80 00 03 20
    B0 13 E2 17 43 3F 7E 90 82 00 02 20 80 00 DC 10
    F2 D2 20 09 F2 D2 22 09 10 01 21 83 32 C2 03 43
    B2 40 02 1C 5A 24 B2 40 17 24 5C 24 C2 43 0E 24
    C2 43 11 24 B2 40 28 96 00 09 82 43 08 09 03 43
    B2 40 40 18 08 09 B2 40 80 00 04 09 B0 13 D8 17
    C2 43 12 24 F2 40 A5 00 21 01 5E 42 20 01 3E F0
    03 00 0F 4E 3F D0 00 44 82 4F 24 01 B0 13 C8 17
    4F 4E 8F 10 82 DF 24 01 B0 13 C8 17 C2 4E 20 01
    0F DE 3F D0 00 44 82 4F 26 01 92 B3 2C 01 FD 2B
    92 C3 2C 01 1E 53 2E 92 E4 2B C2 43 21 01 F2 D0
    0C 00 4A 02 B2 C0 00 01 6C 01 05 3C B2 F0 F4 FF
    6E 01 A2 C3 02 01 1E 42 6E 01 7E B0 09 00 F6 23
    B2 40 20 00 66 01 B2 40 53 02 68 01 B2 40 00 02
    6A 01 B2 40 20 02 C0 03 B1 40 2C 01 00 00 0C 3C
    B2 40 00 51 CE 03 92 B3 CE 03 FD 2B A2 D2 C0 03
    2F 41 3F 53 81 4F 00 00 81 93 00 00 F1 23 B2 C0
    00 40 CE 03 1F 42 DE 03 3F 90 96 08 03 28 3F 40
    0F 05 0E 3C 3F 90 C5 04 03 28 3F 40 0F 03 08 3C
    3F 90 DD 02 03 2C 3F 40 17 01 02 3C 3F 40 11 02
    82 4F 14 24 82 43 60 01 B2 40 F3 10 64 01 B2 40
    40 00 62 01 B2 40 44 02 68 01 B2 B2 08 09 06 28
    B0 13 78 16 B0 13 8C 14 A2 D3 02 09 21 53 10 01
    5E 42 3E 09 2E B2 02 28 80 00 BA 16 A2 B3 08 09
    0C 28 B0 13 D8 17 B0 13 78 16 B0 13 8C 14 B2 F0
    F9 FF 08 09 A2 D3 02 09 10 01 A2 B2 08 09 06 28
    B0 13 D8 17 B2 40 04 A5 20 01 10 01 D2 B3 30 09
    10 28 F2 D0 10 00 3C 09 C2 43 23 09 D2 93 10 24
    03 20 B0 13 76 15 02 3C F2 D2 20 09 D2 C3 30 09
    10 01 4E 93 02 34 80 00 8C 14 3E B0 40 00 0B 28
    D2 43 11 24 F2 D0 10 00 3C 09 F2 C0 40 00 3E 09
    82 43 10 09 10 01 3E B0 20 00 07 28 B0 13 78 16
    F2 F0 9F 00 3E 09 C2 43 11 24 10 01 C2 43 12 24
    C2 43 11 24 C2 43 00 24 C2 43 01 24 C2 43 3C 09
    F2 43 02 24 F2 43 04 24 C2 43 10 24 7E 40 80 00
    C2 4E 21 09 C2 4E 23 09 F2 40 8C 00 20 09 F2 40
    8C 00 22 09 F2 40 03 00 2F 09 F2 40 03 00 2E 09
    C2 4E C8 23 F2 40 10 00 C9 23 C2 4E CA 23 C2 4E
    CE 23 F2 40 40 00 CF 23 C2 4E 88 23 C2 43 89 23
    C2 43 8A 23 F2 40 40 00 8F 23 F2 40 40 00 3C 09
    C2 43 3E 09 C2 CE 3E 09 10 01 1B 15 1F 42 5A 24
    5B 4F 03 00 0A 43 5E 4F 01 00 5C 4F 02 00 8C 10
    0C DE 0D 4B 6E 4F 7E 80 11 00 0C 24 7E 80 06 00
    12 24 6E 82 1A 20 2F 52 1E 42 5E 24 2E 82 B0 13
    D4 15 17 3C 1F 53 0C 4F B0 13 26 16 4C 93 09 24
    7C 40 05 00 0C 3C B2 90 A5 A5 56 24 04 20 B0 13
    EC 17 4C 43 04 3C 6C 42 02 3C 7C 40 07 00 B0 13
    82 17 1A 17 10 01 5E 42 02 24 7E 93 28 24 7E 90
    09 00 03 28 7F 42 7E 82 09 3C 7E 92 02 2C 4F 4E
    07 3C 7F 42 D2 93 0E 24 03 20 4E 43 5D 43 02 3C
    7E 43 4D 43 C2 4D 10 24 C2 4E 02 24 4F 93 0C 24
    3E 40 78 23 4D 4F 1C 42 06 24 EE 4C 00 00 92 53
    06 24 1E 53 7D 53 F7 23 C2 4F 21 09 10 01 C2 43
    10 24 10 01 5B 15 0A 4F 4B 43 08 4C 09 4D 08 5E
    09 63 0D 99 03 28 1C 20 0C 98 1A 2C 6E 4A B2 90
    A5 A5 56 24 0C 20 4B 43 1D 15 0F 16 CF 4E 00 00
    1D 15 0F 16 66 4F 4E 96 03 24 5B 43 01 3C 6B 42
    1A 53 1C 53 0D 63 0D 99 E9 2B 02 20 0C 98 E6 2B
    4C 4B 56 17 10 01 1B 15 0D 43 3A 40 E0 FF 0B 4C
    3B 50 20 00 7E 4A 7F 4C 0E EF 0D DE 0C 9B FA 23
    0D 93 05 20 B2 40 A5 A5 56 24 4C 43 13 3C 92 42
    58 24 44 01 1F 42 58 24 3F 50 06 00 82 4F 40 01
    C2 43 E0 FF 1F 42 58 24 3F 50 10 00 82 4F 44 01
    7C 40 05 00 1A 17 10 01 21 83 81 43 00 00 B2 40
    28 96 00 09 92 42 14 24 12 09 B2 40 00 03 10 09
    82 43 14 09 3F 40 4C 01 3F 53 FE 2F 2F 41 0E 4F
    1E 53 81 4E 00 00 3F 90 E9 03 05 2C 82 93 14 09
    EF 23 92 D3 02 09 21 53 10 01 F2 D0 10 00 3C 09
    F2 40 80 00 23 09 03 3C F2 F0 FA 00 3E 09 C2 43
    10 24 82 43 60 24 B0 13 64 11 34 40 80 00 82 C4
    20 09 82 C4 22 09 E2 C2 3E 09 82 D4 20 09 82 D4
    22 09 D2 B3 3E 09 E8 2F 10 01 C2 43 8A 23 B0 13
    F0 13 D2 93 12 24 FB 23 C2 93 11 24 F8 23 C2 93
    8A 23 F5 37 F2 B0 7F 00 8A 23 F1 27 5F 42 01 1C
    82 4F 5E 24 5C 43 10 01 7E 40 3F 00 C2 93 CA 23
    0F 34 C2 4E 80 1C 3F 40 81 1C 0D 4C 0D 5E FF 4C
    00 00 1F 53 0C 9D FB 23 F2 40 40 00 CA 23 01 3C
    4E 43 4C 4E 10 01 0F 41 3F 50 00 DC 8F 43 FE 23
    2F 83 FC 23 82 43 56 24 B2 40 00 A5 58 24 B0 13
    AA 12 B0 13 FA 16 5C B3 FC 2B B0 13 0A 15 F9 3F
    03 43 1F 42 5C 24 FF 40 3B 00 00 00 1F 42 5C 24
    CF 4C 01 00 E2 43 16 24 3C 40 16 24 B0 13 28 17
    4C 93 FA 27 10 01 82 4C 06 24 1E 42 86 23 5F 42
    02 24 0F 9E 04 28 C2 4E 02 24 4E 43 01 3C 5E 43
    C2 4E 0E 24 80 00 76 15 B2 B0 10 00 2C 01 FC 2B
    B2 C0 10 00 2C 01 10 01 3F 40 DF 2E 3F 53 FE 2F
    10 01 C2 43 23 09 E2 43 02 24 10 01 1D 15 10 01
    FF FF A0 10 A5 3C 5A C3 FF FF 00 10 FF FF FF FF
    q
    
    

     

     

    RAM_BSL_00.08.08.39.txt
    @2500
    00 08 08 39 B2 40 80 5A 5C 01 32 C2 31 40 90 33
    B0 13 98 2C FF 3F 12 01 00 02 00 00 00 08 47 20
    00 02 09 01 00 00 00 01 06 00 FF 09 01 A1 01 85
    3F 95 3F 75 08 25 01 15 01 09 01 81 02 85 3F 95
    3F 75 08 25 01 15 01 09 01 91 02 C0 09 02 29 00
    01 01 00 80 32 09 04 00 00 02 03 00 00 00 09 21
    01 01 00 01 22 24 00 07 05 81 03 40 00 01 07 05
    01 03 40 00 01 FF F2 B0 0F 00 84 23 09 20 C2 93
    84 23 03 34 5E 42 20 09 0B 3C 5E 42 22 09 08 3C
    C2 93 84 23 03 34 5E 42 C8 23 02 3C 5E 42 88 23
    7E F2 C2 4E EA 24 5E 42 EA 24 42 19 4E 10 C2 4E
    EA 24 B0 13 38 2F 3C 40 EA 24 80 00 DC 2E F2 43
    02 24 C2 43 10 24 C2 43 21 09 10 01 C2 93 82 23
    11 20 5E 42 84 23 7E F0 0F 00 0A 24 5E 93 0E 20
    C2 93 84 23 03 34 F2 D2 C8 23 02 3C F2 D2 88 23
    80 00 BE 25 F2 D2 20 09 F2 D2 22 09 10 01 C2 93
    80 23 04 34 1F 43 D2 D3 3C 09 03 3C 0F 43 D2 C3
    3C 09 5E 42 80 23 7E B0 60 00 8F 20 5D 42 81 23
    4D 83 80 24 5D 83 6B 24 6D 83 67 24 6D 83 45 24
    5D 83 09 24 6D 83 52 24 5D 83 46 24 5D 83 33 24
    5D 83 54 24 7A 3C 1F B3 78 28 5E 42 83 23 5E 83
    08 24 5E 83 0F 24 7E 80 1F 00 1C 24 5E 83 13 24
    6C 3C C2 43 23 09 F2 40 12 00 02 24 3C 40 16 25
    80 00 DC 2E C2 43 23 09 F2 40 29 00 02 24 3C 40
    4C 25 80 00 DC 2E F2 40 24 00 02 24 3C 40 28 25
    80 00 DC 2E C2 43 23 09 F2 40 09 00 02 24 3C 40
    5E 25 80 00 DC 2E 1F B3 48 28 B0 13 38 2F C2 43
    EA 24 D2 42 01 24 EB 24 3A 3C F2 D2 22 09 D2 42
    82 23 3F 09 80 00 BE 25 F2 D2 22 09 D2 42 82 23
    00 24 B0 13 BE 25 D2 43 12 24 10 01 C2 43 23 09
    D2 43 02 24 3C 40 00 24 80 00 DC 2E F2 D2 22 09
    D2 42 84 23 01 24 80 00 BE 25 80 00 CC 25 5E 42
    84 23 7E F0 0F 00 0C 24 5E 93 1B 20 C2 93 84 23
    04 34 F2 F0 D7 00 C8 23 03 3C F2 F0 D7 00 88 23
    80 00 BE 25 7E 90 80 00 03 20 B0 13 38 2F 43 3F
    7E 90 82 00 02 20 80 00 76 25 F2 D2 20 09 F2 D2
    22 09 10 01 3B 15 4C 43 3D 40 56 24 B0 13 42 2F
    8F 20 1E 42 D6 24 1F 42 D8 24 7E B0 7F 00 38 20
    B2 90 80 00 DE 24 34 20 B0 13 7C 29 B2 40 00 A5
    44 01 B2 40 C0 A5 40 01 0D 3C 3A 4D 3B 4D 1F 15
    08 16 88 4A 00 00 88 4B 02 00 B2 B2 44 01 FD 2B
    2E 52 0F 63 1A 42 D6 24 1B 42 D8 24 3A 50 80 00
    0B 63 0F 9B EA 2B 02 20 0E 9A E7 2B 92 42 E2 24
    40 01 B0 13 7C 29 B0 13 F4 29 82 43 D6 24 82 43
    D8 24 82 43 DA 24 82 43 DC 24 82 43 DE 24 51 3C
    92 42 E2 24 44 01 1B 42 E2 24 3B 50 40 00 82 4B
    40 01 08 3C 6C 42 2D 53 1E 53 0F 63 4C 93 41 20
    1E 53 0F 63 1A 42 DE 24 0B 43 1A 52 D6 24 1B 62
    D8 24 0F 9B 03 28 D9 23 0E 9A D7 2F 92 B3 D6 24
    06 2C 3A 53 3B 63 0E 9A 18 20 0F 9B 16 20 6A 4D
    B0 13 42 2F 0F 20 B0 13 7A 29 1F 15 0B 16 CB 4A
    00 00 B0 13 7C 29 1F 15 0B 16 68 4B 4A 98 03 24
    5C 43 01 3C 6C 42 1D 53 D1 3F 2B 4D B0 13 42 2F
    C9 23 B0 13 7A 29 1F 15 0A 16 8A 4B 00 00 B0 13
    7C 29 1F 15 0A 16 28 4A 0B 98 BD 27 5C 43 BB 3F
    6C 42 38 17 10 01 1B 15 1E 42 E4 24 5D 4E 03 00
    5F 4E 01 00 5A 4E 02 00 8A 10 0A DF 0B 4D 6F 4E
    7F 80 10 00 25 24 5F 83 12 24 5F 83 2B 24 5F 83
    2F 24 6F 83 23 24 5F 83 3C 24 5F 83 11 24 5F 83
    3D 24 5F 83 3E 24 6F 83 43 20 5F 43 12 3C 1E 53
    0C 4E B0 13 84 29 4C 93 13 24 7C 40 05 00 3A 3C
    B0 13 42 2F 24 20 B0 13 44 27 B0 13 4A 2F 08 3C
    4F 43 2E 52 0C 4A B0 13 00 2E 2E 3C B0 13 D2 29
    4C 43 28 3C 0E 4A 0F 4D 4C 43 B0 13 4C 29 22 3C
    B0 13 42 2F 0C 20 4C 43 1F 42 44 01 3F F0 10 00
    1F 52 E2 24 3F 50 40 00 82 4F 44 01 13 3C 6C 42
    11 3C B0 13 1C 2F B0 13 A8 2B 0E 3C B0 13 1C 2F
    04 3C 2E 42 3C 40 00 25 0D 43 B0 13 22 2C 04 3C
    7C 40 07 00 B0 13 FE 2E 1A 17 10 01 B0 13 42 2F
    12 20 B0 13 7A 29 92 42 E2 24 44 01 1D 42 E2 24
    2D 53 82 4D 40 01 1F 15 0D 16 CD 43 00 00 B0 13
    7C 29 80 00 F4 29 6C 42 10 01 4C 43 92 B3 44 01
    FD 2F 10 01 1B 15 21 83 0D 43 3A 40 E0 FF 0B 4C
    3B 50 20 00 7E 4A 7F 4C 0E EF 0D DE 0C 9B FA 23
    0D 93 10 20 B1 40 FF 7F 00 00 04 3C 2F 41 3F 53
    81 4F 00 00 91 93 00 00 F9 37 B2 40 A5 A5 E0 24
    4C 43 04 3C B0 13 D2 29 7C 40 05 00 21 53 1A 17
    10 01 B0 13 7C 29 92 42 E2 24 44 01 B0 13 7C 29
    1F 42 E2 24 3F 50 06 00 82 4F 40 01 C2 43 E0 FF
    B0 13 7C 29 1F 42 E2 24 3F 50 10 00 82 4F 44 01
    10 01 5E 42 3E 09 2E B2 02 28 80 00 40 2E A2 B3
    08 09 0E 28 3F 40 DF 2E 3F 53 FE 2F B0 13 BE 2D
    B0 13 2A 2B B2 F0 F9 FF 08 09 A2 D3 02 09 10 01
    A2 B2 08 09 08 28 3F 40 DF 2E 3F 53 FE 2F B2 40
    04 A5 20 01 10 01 D2 B3 30 09 10 28 F2 D0 10 00
    3C 09 C2 43 23 09 D2 93 10 24 03 20 B0 13 0A 2D
    02 3C F2 D2 20 09 D2 C3 30 09 10 01 4E 93 02 34
    80 00 2A 2B 3E B0 40 00 0B 28 D2 43 11 24 F2 D0
    10 00 3C 09 F2 C0 40 00 3E 09 82 43 10 09 10 01
    3E B0 20 00 07 28 B0 13 BE 2D F2 F0 9F 00 3E 09
    C2 43 11 24 10 01 7B 15 0A 4C 0B 4D 04 4E 06 4F
    47 43 25 3C 82 4A D6 24 82 4B D8 24 08 4A 09 4B
    08 54 09 63 82 48 DA 24 82 49 DC 24 08 43 09 43
    3D 40 56 24 1D 52 DE 24 09 93 24 20 08 94 22 2C
    FD 46 00 00 92 53 DE 24 1A 53 0B 63 18 53 09 63
    1D 53 7A B0 7F 00 F0 23 B0 13 44 27 04 88 B0 13
    42 2F 0F 20 1F 42 D6 24 1F D2 D8 24 0F 93 D2 27
    82 9A DA 24 03 20 82 9B DC 24 D0 27 B0 13 44 27
    EE 3F 67 42 4C 47 74 17 10 01 C2 43 12 24 C2 43
    11 24 C2 43 00 24 C2 43 01 24 C2 43 3C 09 F2 43
    02 24 F2 43 04 24 C2 43 10 24 7E 40 80 00 C2 4E
    21 09 C2 4E 23 09 F2 40 8C 00 20 09 F2 40 8C 00
    22 09 F2 40 03 00 2F 09 F2 40 03 00 2E 09 C2 4E
    C8 23 F2 40 10 00 C9 23 C2 4E CA 23 C2 4E CE 23
    F2 40 40 00 CF 23 C2 4E 88 23 C2 43 89 23 C2 43
    8A 23 F2 40 40 00 8F 23 F2 40 40 00 3C 09 C2 43
    3E 09 C2 CE 3E 09 10 01 3B 15 0A 4C 0B 4D 08 4E
    B0 13 44 27 B2 43 54 01 0C 4A 0D 4B 0C 58 0D 63
    0B 9D 03 28 11 20 0A 9C 0F 2C B0 13 42 2F 24 20
    1B 15 0F 16 6E 4F C2 4E 52 01 1A 53 0B 63 0B 9D
    F4 2B 02 20 0A 9C F1 2B 1E 42 54 01 1F 42 E6 24
    FF 40 3A 00 00 00 1F 42 E6 24 CF 4E 01 00 8E 10
    1F 42 E6 24 CF 4E 02 00 F2 40 03 00 16 24 B0 13
    2C 2F FD 27 38 17 10 01 6C 42 B0 13 FE 2E FA 3F
    03 43 5B 15 0A 4C 0B 4D 08 4C 09 4D 08 5E 09 63
    47 43 04 3C B0 13 FE 2E 0A 56 0B 63 0B 99 03 28
    29 20 0A 98 27 2C 47 93 25 20 0E 48 0F 49 0E 8A
    0F 7B 03 20 3E 90 3E 00 03 28 36 40 3D 00 02 3C
    06 48 06 8A 1F 42 E6 24 1F 53 0E 46 0C 4A 0D 4B
    B0 13 68 2D 47 4C 4C 93 DD 23 1F 42 E6 24 FF 40
    3A 00 00 00 4E 46 5E 53 C2 4E 16 24 B0 13 2C 2F
    D3 23 FC 3F 56 17 10 01 B2 40 A5 A5 E0 24 B2 40
    00 A5 E2 24 82 43 DA 24 82 43 DC 24 82 43 D6 24
    82 43 D8 24 82 43 DE 24 32 C2 03 43 B2 40 02 1C
    E4 24 B2 40 17 24 E6 24 B2 40 28 96 00 09 82 43
    02 09 82 43 60 01 B2 40 F3 10 64 01 B2 40 40 00
    62 01 B2 40 44 02 68 01 B2 B2 08 09 06 28 B0 13
    BE 2D B0 13 2A 2B A2 D3 02 09 B0 13 AE 2E 5C B3
    FC 2B B0 13 76 28 F9 3F 03 43 5E 42 02 24 7E 93
    28 24 7E 90 09 00 03 28 7F 42 7E 82 09 3C 7E 92
    02 2C 4F 4E 07 3C 7F 42 D2 93 0E 24 03 20 4E 43
    5D 43 02 3C 7E 43 4D 43 C2 4D 10 24 C2 4E 02 24
    4F 93 0C 24 3E 40 78 23 4D 4F 1C 42 06 24 EE 4C
    00 00 92 53 06 24 1E 53 7D 53 F7 23 C2 4F 21 09
    10 01 C2 43 10 24 10 01 3B 15 0A 4C 0B 4D 09 4E
    08 4F B0 13 44 27 0E 4A 0F 4B 0E 59 0F 63 3E 53
    3F 63 0F 9B 16 28 02 20 0E 9A 13 28 B0 13 42 2F
    13 20 1F 15 0D 16 69 4D 0C 4E 0C 8A 0D 48 0D 5C
    CD 49 00 00 3E 53 3F 63 0F 9B 03 28 EF 23 0E 9A
    ED 2F 4C 43 38 17 10 01 6C 42 FC 3F 03 43 21 83
    81 43 00 00 B2 40 28 96 00 09 92 42 14 24 12 09
    B2 40 00 03 10 09 82 43 14 09 3F 40 4C 01 3F 53
    FE 2F 2F 41 0E 4F 1E 53 81 4E 00 00 3F 90 E9 03
    05 2C 82 93 14 09 EF 23 92 D3 02 09 21 53 10 01
    0A 12 4A 4F 6F 42 B0 13 42 2F 01 20 4F 43 4F 93
    0B 20 B2 90 05 00 E8 24 07 28 0F 4E 1E 42 E8 24
    2E 82 B0 13 A6 2A 4F 4C 4A 93 03 20 4C 4F B0 13
    FE 2E 92 42 E2 24 40 01 B0 13 F4 29 3A 41 10 01
    F2 D0 10 00 3C 09 F2 40 80 00 23 09 03 3C F2 F0
    FA 00 3E 09 C2 43 10 24 82 43 EA 24 B0 13 FE 25
    34 40 80 00 82 C4 20 09 82 C4 22 09 E2 C2 3E 09
    82 D4 20 09 82 D4 22 09 D2 B3 3E 09 E8 2F 10 01
    7E 40 3F 00 C2 93 CA 23 0F 34 C2 4E 80 1C 3F 40
    81 1C 0D 4C 0D 5E FF 4C 00 00 1F 53 0C 9D FB 23
    F2 40 40 00 CA 23 01 3C 4E 43 4C 4E 10 01 C2 43
    8A 23 B0 13 02 2A D2 93 12 24 FB 23 C2 93 11 24
    F8 23 C2 93 8A 23 F5 37 F2 B0 7F 00 8A 23 F1 27
    5F 42 01 1C 82 4F E8 24 5C 43 10 01 82 4C 06 24
    1E 42 86 23 5F 42 02 24 0F 9E 04 28 C2 4E 02 24
    4E 43 01 3C 5E 43 C2 4E 0E 24 80 00 0A 2D 1F 42
    E6 24 FF 40 3B 00 00 00 1F 42 E6 24 CF 4C 01 00
    E2 43 16 24 B0 13 2C 2F FD 27 10 01 5F 4E 04 00
    5E 4E 05 00 8E 10 0E DF 0C 4A 10 01 3C 40 16 24
    B0 13 80 2E 4C 93 10 01 C2 43 23 09 E2 43 02 24
    10 01 B2 90 A5 A5 E0 24 10 01 1B 15 10 01 FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
    q
    
    

     

    Regards,

    Arthi Bhat

  • Thanks.

    I'm using following command to reprogram boot loader:

    MSP430Flasher.exe -w "BSL_00.08.88.39.txt" -e ERASE_ALL -u -b -v -z [RESET]

    The unit is reconized by windows but are not sucessfully communicating with our custom window application.

    When looking in our source code the RAM boot loader has version "RAM_BSL.00.05.04.34.txt" embedded. So I updated it to RAM_BSL_00.08.08.39.txt and it is still not working.

    Also when running original ROM BSL and new RAM_BSL_00.08.08.39.txt against a version H it does not work.

    So, sorry no success ...

    Please advice what to do? Can you confirm that if I use:
    RAM_BSL_00.08.08.39.txt
    BSL_00.08.88.39.txt

    It will work with both MSP430F5529 version I and H. If not, when can I expect a solution?

    Our production is on hold now and it can soon be critical.

    Regards Björn
  • Hello,

    After you download the new BSL to memory, are you able to read it back?  If so the downloaded data should match the contents of BSL_00.08.88.39.txt.   In the read back file, the 9th thru the 12th bytes should be the following numbers:  00 08 88 39.

    After you donwload the new BSL, do you see the device as HID in Device Manager?  The VID/PID should be 2047/200.   If you see the device in Device Manager then the device is in BSL mode.   What custom windows application are you running?  It might need updating.

    Is the boot loader you are running the same as the custom windows applications?

    To download and read back the BSL using MSP430Flasher: 

    MSP430Flasher.exe -n MSP430F5529 -b -w BSL_00.08.88.39.txt

    MSP430Flasher.exe -n MSP430F5529 -r [output_BSL_File.txt, BSL]

    Regards,

    Arthi Bhat

  • I can confirm that when using MSP430Flasher.exe I manage to write and read back and check that cell 9 to 12 contains 00 08 88 39.

    I have a C++ custom project that can download new firmware and also download settings. The program downloads the RAM_BSL.00.05.04.34.txt This has worked with TI original bootloader until changing from H to I of MSP430F5529.

    When recompiling custom application with new bootloader RAM_BSL_00.08.08.39.txt it still not work.

    What happens are that windows recognizance that MSP430F5529 is connected but the communication fails.

    I have used BSL430.h and BSL430.lib from a TI firmware download example back in 2010. I don't know if there is any update available? When downloading the usb dev package it seems to contain a lot of phyton and java stuff...
  • Hello,

    If Windows recognizes the HID/PID after downloading the new BSL, then the problem is not with the BSL.  How does your C++ custom application download the RAM_BSL file?  In the Microsoft Visual Studio Firmware upgrader tool that we used to support, you must first specify the BSL file name and then copy the contents of the BSL file to the downloader tool.   Is this how you do it with your custom tool? 

    If you still have the Microsoft Visual Studio Firmware upgrader tool then the places you need to update is in the Firmware.resx file and the DownloadView.cpp file. 

    Regards,

    Arthi Bhat 

  • My custom application is made in Borland C++ Builder and is using a dll provided (earlier?) from TI. Cant find it now. The syntax i'm using are for example:

    BSL_setFamily(FAMILY_FLASH);

    BSL_setCom(COM_USB);

    BSL_initialize_BSL();

    BSL_RX_Password();

    ...

    The RAM bootloader is uploaded with function BSL_RX_TXT()

     

    !!! I have now have some kind of progress !!!

    If I download new version of bootloader in a MSP430F5529 version I *AND* single step my application in debug mode *AND* use the new RAM bootloader in our custom application I manage to program target.

    If I try with original bootloader in MSP430F5529 version I or old RAM boot loader it does not work even If I single stepping in my application.

    So maybe I will get MSP430F5529 version I working by doing following:

    1. Add a connector to the PCB for JTAG connection (earlier all programming was made only with the usb connector)

    2. Add a first step in production that changes the bootloader if version I of MSP430F5529

    3. Update our custom application to use new RAM bootloader (must check if versions before I of MSP4305529 is still working)

    4. Make custom application work. There seam to be some timing issue because it work during single stepping and not during runtime. (This point is unsolved when writing this)

**Attention** This is a public forum