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.

MSP432E411Y: Custom BSL using UART1 for app updating

Part Number: MSP432E411Y

Hello, 

Our HW comprises a USB to UART bridge (FT234XD). We'd like to connect the bridge's UART output to the MSP432411Y's UART1 port and perform app updating via the bridge. Clearly, a custom bootloader using UARt1 will need to be programmed in flash. Aside from this, how feasible and easy to achieve is this scheme?

Regards, Magda

  • Hi,

      I will suggest you first try out the flash-based serial UART bootloader example at C:\ti\simplelink_msp432e4_sdk_4_20_00_12\examples\nortos\MSP_EXP432E401Y\boot_loader\boot_serial_uart_flash. This example uses UART0. However, in the bl_config.h file you can specify other UART instances such as UART1 as the port for bootloading. You will need to change the macros defined in bl_config.h from UART0 to UART1. See below used for UART0.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    //*****************************************************************************
    //
    // Selects the baud rate to be used for the UART.
    //
    // Depends on: UART_ENABLE_UPDATE, CRYSTAL_FREQ
    // Exclusive of: UART_AUTOBAUD
    // Requires: None
    //
    //*****************************************************************************
    #define UART_FIXED_BAUDRATE 115200
    //*****************************************************************************
    //
    // Selects the clock enable for the UART peripheral module
    //
    // Depends on: UART_ENABLE_UPDATE
    // Exclusive of: None
    // Requires: UARTx
    //
    //*****************************************************************************
    #define UART_CLOCK_ENABLE SYSCTL_RCGCUART_R0
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX