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.

MSP-EXP432E401Y: Booting/updating app off USB port

Part Number: MSP-EXP432E401Y

Hello, does the Launch Pad support booting/updating the app off the USB port? Can you please provide some guidance?

Magda

  • HI,

      Yes, the LaunchPad has two USB ports, one is a USB debug port and the other is a USB device port. You can use the USB device port for boot/update. 

      Refer to BSL scripter example for USB DFU at C:\ti\BSL-Scripter\ScriptExampleWindows\E4xx_usbdfu. 

      Refer to flash-based USB bootloader example at: C:\ti\simplelink_msp432e4_sdk_4_20_00_12\examples\nortos\MSP_EXP432E401Y\boot_loader\boot_serial_usb_flash 

  • Hi Charles,

    Thank you for your reply.

    I connected to the device USB port and ran the script_1.txt. However, the script's execution never completes, as if the PC is waiting for some acknowledgment from the MSP--EXP432E401Y. Any idea what could be the problem? Using the USB debug port to provide power.

    Regards,

    Magda

  • Hi,

      If you read the script_1.txt description, it uses MCU's ROM-based bootloader to first download a flash-based bootloader program. In order for the ROM-based bootloader to run, the flash must be completely erased. After reset, the ROM bootloader first checks if the addresses at 0x0 and 0x4 corresponding to the stack pointer and reset vector in the flash memory have valid data. If these two locations have values other than 0xFFFFFFFF, the ROM bootloader considers an application is present on flash and will simply jump to the application and run. Therefore, make sure you first erase flash before you run script_1.txt. 

    //
    // MSP432E4xx - USBDFU (1st step)
    // This script runs on the ROM Bootloader USB DFU.
    // It downloads the boot_usb_flash_MSP_EXP432E401Y.txt
    // which is flash bootloader of USB DFU.
    // After the download is finished execute the script_2.txt
    //
    MODE E4xx USB
    RX_DATA_BLOCK_FAST boot_usb_flash_MSP_EXP432E401Y.txt
    REBOOT_RESET