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.

MSP432P401R Rev-C, BSL Scripter v3.2.0 can’t access the device well.

Other Parts Discussed in Thread: MSP432WARE, MSP-FET

Hell,

 

BSL Scripter v3.1.0 can write an example program, after Factory Reset to the non-blank device.

I had discussed these operations on e2e.ti.com/.../2021272

But under the same operating condition, BSL Scripter v3.2.0 can’t access the device, not getting responses.

Both logs are as bellow,

---------------------------------------------------------

BSL Scripter 3.2.0

PC software for BSL programming

2016-Nov-14 13:35:48

---------------------------------------------------------

Input file script is : D:/share/BSL_scripter/432BSL_LED/script_P4xx_uart.txt

MODE P4xx UART 9600 COM40

(No response)

 

---------------------------------------------------------

BSL Scripter 3.1.0.0

PC software for BSL programming

2016-Nov-14 14:10:18

---------------------------------------------------------

Input file script is : D:/share/BSL_scripter/432BSL_LED/script_P4xx_uart.txt

MODE P4xx UART 9600 COM40

CHANGE_BAUD_RATE 115200

              BSL ACK is received.

 

Best regards,

Kazuo Yamauchi

  • Hi Yamauchi-san,

     I'm getting a similar behavior, and I'm thinking that it could be related to the BSL version. I'm looping the tools team so the can comment about this. 

    Which BSL version are you running?? In my case I'm running version 0000.0002.0003.0103.0004

    Also I found that if you reset your the board just after you run the bsl_scripter, it successfully connects.

    I'll run a few more tests with the latest bsl version and I'll get back to you.

    Regards,

     David

  • Hi Yamauchi-san,

    I just upgraded the BSL the latest  version (0000.0003.0007.0205.000A) and that really helped.

    You can download the latest bsl from here software-dl.ti.com/.../index_FDS.html

     Please let me know if you need any help upgrading your BSL.

       Best regards,

        David

  • Hello David,

    Thanks for your help.

     

    1 BSL version

    I checked two devices with using BSL Scripter 3.1.0.0. The results were as bellow.

    TX_BSL_VERSION_32

                  BSL Version is : BSL_Vendor[0],CI[300],API[600],PI[302],Build_ID[800]

     

    2 Update BSL

    I could not update the BSL, because appeared verify error at address 0x202000.

    At first, I opened properties and restored it default and set it as bellow.

    Then launched selected configuration, connected the device, program load BSL432_MSP432P401.out, no offset. Verify error message appeared.

     

    Please, let me know how to update the BSL.

     

    Best regards,

    Kazuo Yamauchi

  • Hi Yamauchi-san,

     Please change your debug options to "Erase and download necessary segments only", that should do the trick.

    Best regards,

      David

  • Hello David,

    Thanks for your help.

     

    I tried to update the BSL into three devices as same as your properties settings, but I could not update these devices.

    Device1 got the same verify error. This was programed the BSL_PARAMS in the flash-mailbox.

    Device2 and Device3 got the results as bellow.

    Exited from Debugger and executed the Factory Reset. Then connected the BSL of Device2 and 3 with BSL Scripter3_2 and get the following message.

     ---------------------------------------------------------

    BSL Scripter 3.2.0

    PC software for BSL programming

    2016-Nov-16 11:04:36

    ---------------------------------------------------------

    Input file script is : D:/share/BSL_scripter/432BSL_LED/script_version.txt

    MODE P4xx UART 9600 COM40

                  [ERROR_MESSAGE]Initialization of BSL P432 failed! Exit the scripter!

     

    But Connected the BSL with BSL Scripter3_1 and get the following message.

    ---------------------------------------------------------

    BSL Scripter 3.1.0.0

    PC software for BSL programming

    2016-Nov-16 11:06:15

    ---------------------------------------------------------

    Input file script is : D:/share/BSL_Scripter_Windows/432BSL_LED/script_P4xx_version.txt

    MODE P4xx UART 9600 COM40

    RX_PASSWORD_32 pass256_wrong.txt

                  Read Txt File  : D:/share/BSL_Scripter_Windows/432BSL_LED/pass256_wrong.txt

                  Password is incorrect.

    RX_PASSWORD_32 pass256_default.txt

                  Read Txt File  : D:/share/BSL_Scripter_Windows/432BSL_LED/pass256_default.txt

                  Password is incorrect.

    TX_BSL_VERSION_32

                  BSL Version is : BSL_Vendor[0],CI[300],API[600],PI[302],Build_ID[800]

     

    Maybe, this BSL is not updated because showed message as ‘Password is incorrect’ and BSL Version isn’t changed.

    I’ve programed the BSL downloaded from TI Web CUSTOM-BSL432. Is this the latest?

     

    Best regards,

    Kazuo Yamauchi

  • Hi Yamauchi-san,

    Unfortunately I can not reproduce this behavior, please double check that both options "Erase and download necessary segments only" and "Allow BSL information memory erase" are selected on the target configuration that your are launching.

    trout said:

    Maybe, this BSL is not updated because showed message as ‘Password is incorrect’ and BSL Version isn’t changed.

    I’ve programed the BSL downloaded from TI Web CUSTOM-BSL432. Is this the latest?

    Yes that is the latest.

    Anyway lets try something else. There is a utility inside of the MSP432Ware that will allow you to update the BSL. This utility is located in the boot_loader folder (ex. C:\ti\msp\MSP432Ware_3_50_00_02\boot_loader). Please refer to the readme file to run this utility.

    I made some changes to the batch file to use the latest bsl version. Please download these files

    /cfs-file/__key/communityserver-discussions-components-files/166/BSL0000.0003.0007.0205.000A.txt

    /cfs-file/__key/communityserver-discussions-components-files/166/Program_5F00_MSP432_5F00_BSL_5F00_new.bat

    into the boot_loader folder and run the Program_MSP432_BSL_new.bat file. You should see something like this when it is done:

    Please give this a try and let me know if you run into any issues.

      Best regards,

        David

  • Hello David,

    I’m using XDS110-ET on board Rev:B.

     

    1 Updating BSL by CCSv6.2

     

    I got the same result. A curious thing is no erase massages on console. I think this method is not effective.

     

    2 The bat, you posted, to update BSL

     

    It failed, I got the following message.

     

    I updated the firmware with using xdsdfu utility showed in the screen.

    --------------------------------------------------------------------------------------------------------

    C:\ti\CCSv6\ccs_base\common\uscif\xds110>xdsdfu.exe -m

    Scanning USB buses for supported XDS110 devices...

    <<<< Device 0 >>>>

    VID: 0x0451   PID: 0xbef3

    Device Name:   XDS110 Embed with CMSIS-DAP

    Version:       2.3.0.3

    Manufacturer: Texas Instruments

    Serial Num:   00000000

    Mode:         Runtime

    Switching device into DFU mode.

    C:\ti\CCSv6\ccs_base\common\uscif\xds110>pause

    C:\ti\CCSv6\ccs_base\common\uscif\xds110>xdsdfu.exe -f firmware.bin -r

    Scanning USB buses for supported XDS110 devices...

    Downloading firmware.bin to device...

    C:\ti\CCSv6\ccs_base\common\uscif\xds110>pause

    -------------------------------------------------------------------------

     

    I tried to update the BSL by the same bat, but it failed again. 

    --------------------------------------------------------------------------

    MSP432P401R BSL Firmware Programmer

    Programing "C:\ti\tirex-content\msp\MSP432Ware_3_50_00_02\boot_loader\BSL0000.00

    03.0007.0205.000A.txt" ......

    DSLite version 6.2.1.1595

    Configuring Debugger (may take a few minutes on first launch)...

           Initializing Register Database...

           Initializing: CS_DAP_0

           Executing Startup Scripts: CS_DAP_0

           Initializing: CORTEX_M4_0

           Executing Startup Scripts: CORTEX_M4_0

    Connecting...

    fatal: CS_DAP_0: Error connecting to the target: (Error -1170 @ 0x0) Unable to a

    ccess the DAP. Reset the device, and retry the operation. If error persists, con

    firm configuration, power-cycle the board, and/or try more reliable JTAG setting

    s (e.g. lower TCLK). (Emulation package 6.0.222.0)

    Failed: Operation was aborted

    --------------------------------------------------------------------------------------

     

    I’ll explain the customer to use BSL Scripter 3_1_0_0 for Rev-C devices.

    Please not remove BSL Scripter 3_1_0_0 on the TI Web.

     

    Thank you very much for your support.

    Best Regards,

    Kazuo Yamauchi

  • Hi Kazuo,


    Let me summarize your setup and clarify some points to reproduce your problem here:

    1. Are you using the Launchpad 432 Rev B?

    2.

    trout said:

    I’ll explain the customer to use BSL Scripter 3_1_0_0 for Rev-C devices.

    Please not remove BSL Scripter 3_1_0_0 on the TI Web.

    Yes, we keep the older version linked here

  • Hello David,

    I use only the XDS110-ET emulator on MSP-EXP432P401R Rev-B, my test board is MSP-TS432PZ100. I got some new MSP432P401R Rev-C and executed the same examinations.

     

    1 BSL Scripter 3.2.0 with MSP-FET

     

    It didn’t work.

    ---------------------------------------------------------

    BSL Scripter 3.2.0

    PC software for BSL programming

    2016-Nov-21 10:15:48

    ---------------------------------------------------------

    Input file script is : D:/share/BSL_scripter/432BSL_LED/script_version.txt

    MODE P4xx UART 9600 COM40

                     [ERROR_MESSAGE]Initialization of BSL P432 failed! Exit the scripter!

     

    2 The bat, you posted, to update BSL

     

    * I use XDS110-ET on MSP-EXP432P401R Rev-B. I have no debug trouble and I can do Factory Reset with this emulator.

    -----------------------------------------------

    MSP432P401R BSL Firmware Programmer

    Programing "C:\ti\tirex-content\msp\MSP432Ware_3_50_00_02\boot_loader\BSL0000.00

    03.0007.0205.000A.txt" ......

    DSLite version 6.2.1.1595

    Configuring Debugger (may take a few minutes on first launch)...

           Initializing Register Database...

           Initializing: CS_DAP_0

           Executing Startup Scripts: CS_DAP_0

           Initializing: CORTEX_M4_0

           Executing Startup Scripts: CORTEX_M4_0

    Connecting...

    fatal: CS_DAP_0: Error connecting to the target: (Error -1170 @ 0x0) Unable to a

    ccess the DAP. Reset the device, and retry the operation. If error persists, con

    firm configuration, power-cycle the board, and/or try more reliable JTAG setting

    s (e.g. lower TCLK). (Emulation package 6.0.222.0)

    Failed: Operation was aborted

    -----------------------------------------------

     

    3 BSL update with CCSv6.2

     

    * There are no messages of BSL segment erase! When I tested another program, a segment erase message appeared. I wonder ‘Allow BSL segment erase’ don’t work.

     

    Thanks for your help.

     

    Best Regards,
    Kazuo Yamauchi

  • Hi Kazuo,

    trout said:
    I use only the XDS110-ET emulator on MSP-EXP432P401R Rev-B

    I have only the MSP-EXP432P401R Rev C on my desk. I tried the Factory Reset script through CCS 6.2.0, and sometimes it does not erase the application that I downloaded before. Then I used the Target Socket Board MSP-TS432PZ100, and Factory Reset is executed correctly.

    trout said:

    BSL Scripter 3.2.0 with MSP-FET

     

    It didn’t work.

    It is working on my side. Make sure the reset before executing the BSL Scripter. What I could suggest to you:

    1. If you already setup BSL hardware invoke in the beginning in the Flash Mailbox, evethough you apply the Factory Reset, this setup stays. Try to invoke the BSL pin with correct polarity, and see if now you can invoke the BSL.
    2. The other suggestion is to update the BSL firmware, to the newest one. Below I have some inputs for you regarding this update.


    trout said:

    BSL update with CCSv6.2

     

    * There are no messages of BSL segment erase! When I tested another program, a segment erase message appeared. I wonder ‘Allow BSL segment erase’ don’t work

    I experienced this once. Make sure on the Debug Option you choose the: Erasing main and information memory as David mentioned before. Then in the console you got:

    CORTEX_M4_0: Flash Programmer: Erasing main and information memory

    instead what you had: CORTEX_M4_0: Flash Programmer: Erasing main memory

     

  • Hello Fatma,

     

    I failed these works under you and David advices.

     

    1 BSL Scripter 3.2.0 with MSP-FET

    Just after BSL Scripter 3.2.0 failed, BSL Scripter 3.1.0 did work correctly.

     

    2 BSL update with CCSv6.2, XDS110 and XDS100v2

    I carefully confirmed the properties setting many times; I think I never missed that.

     

    3 CCSv6.2 versions

    Are there any differences of CCS? My installed versions are as bellow.

    Anyway, I give up this BSL update, we will use BSL Scripter 3.1.0.

    Thank you very much for your support.

     

    Best Regards,

    Kazuo Yamauchi

**Attention** This is a public forum