Other Parts Discussed in Thread: EK-TM4C123GXL
Does TM4C123GH6PZ support firmware update through UART1 or UART2 ,not UART0,with sflash tool?
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.
Does TM4C123GH6PZ support firmware update through UART1 or UART2 ,not UART0,with sflash tool?
Hello Yao,
If you use a Flash boot loader, yes. The ROM boot loader is set for UART0, but you can use a Flash boot loader to update on UART1 or UART2.
The sflash tool relies on configuring the right COM Port:
//! OpenUART() opens the UART port. //! //! \param pcComPort is the text representation of the COM port to be //! opened. "COM1" is the valid string to use to open COM port 1 on the //! host. //! \param ui32BaudRate is the baud rate to configure the UART to use. //! //! This function is used to open the host UART with the given baud rate. The //! rest of the settings are fixed at No Parity, 8 data bits and 1 stop bit. //! //! \return The function returns zero to indicated success while any non-zero //! value indicates a failure.
Thanks for your reply;
How can I determine to use rom bootloader or flash boot loader? how to configure it?
if i use flash boot loader, where is the *.bin frimware should be programed;
if i use flash boot loader, How can I compile the bin with the start address assgined?
how can i do this? or is there one document describing this issue?
Hello Yao,
I am attaching a Flash Boot loader project for the EK-TM4C123GXL LaunchPad here: 2402.boot_serial.zip
And here is a demonstration program to go with it that includes instructions on how to use: boot_demo1.zip
You can find further details in the Boot Loader User Guide which is located under docs and titled: SW-TM4C-BOOTLDR-UG-2.1.4.178.pdf