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.

CCS/AM5716: UART parameters of UniFlash

Part Number: AM5716
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

Hi,

Our customer is developing AM5716 custom board. They would like to use UniFlash to write the program on flash memory.

1. Can user modify the UART parameters (baud rate, data length, stop bit, parity etc) of ProcessorSDKSerialFlash.exe?

2. Could you tell us the parameter values if there are fixed values in ProcessorSDKSerialFlash.exe?

Best Regards,

M.Ohhashi

  • M.Ohhashi-san,

    Masashi Ohhashi said:
    1. Can user modify the UART parameters (baud rate, data length, stop bit, parity etc) of ProcessorSDKSerialFlash.exe?

    The current setting uses 115.2 Kbps which is standard baudrate typically used by the bootloaders and for debug logging across many different platforms. In case where you are setting the EVM in UART boot mode, the baudrate for initial boot is set in the boot ROM and can`t be modified. That is why we don`t provide a command line argument for setting the UART baud rate. 

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_board.html#uniflash

    Howeever if you are using the JTAG based approach where the first stage is loaded over JTAG and this allows for loading of flash image over UART, you can modify the UART baud rate.

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_board.html#loading-flash-writer-over-jtag-interface

    In this case you load the uart_<AM57x_platform>_flash_programmer.out over JTAG And then provide the binary over UART. The source for the application loaded over JTAG is provided in the Processor SDK RTOS and can  be modified. The location of this uniflash utility is provided here:

    pdk_am57xx_1_0_xx\packages\ti\board\utils\uniflash

    This uses board library(Board_Init) to setup the UART baudrate configuration by calling into UART driver open call (UART_open). To modify the baudate you can update the UART params or default SOC init by using UART drive APIs before board library calls UART_open.

    2. Could you tell us the parameter values if there are fixed values in ProcessorSDKSerialFlash.exe?

    It uses baudrate of 115.2kbps with 8 bit data, no parity and no delays

    Regards,

    Rahul

     

  • Rahul-san,

    Thank you for your response. I will talk with customers.

    Best Regards,

    M.Ohhashi