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.

Configuring a different UART for ROM_UpdateUART()

Other Parts Discussed in Thread: TM4C1294NCPDT

MCU: TM4C1294NCPDT

Hi,

In the Tivaware example codes, I find that in the given example "boot_demo_uart", the code is configuring the UART0 port of the MCU before calling "ROM_UpdateUART();". But I would like to know how to set which COM port (UART) to use for the boot loading purpose. In my existing board with MCU chip TM4C1294NCPDT, the MCU's UART3 is taken out via RS232 level converter. So, I have to configure the function "ROM_UpdateUART();" to use the UART3 of the MCU & not UART0.

How can this be accomplished?

--

Thanks

--

Regards

Soumyajit

  • Hello Soumyajit,

    The ROM Boot Loaders are fixed for UART0, SSI0 and I2C0. If you want to use any other instance of the peripherals then you would need to use a flash based boot loader to do so.

    The next TivaWare release is going to have the defines for using any other instances and the following application note will help implement a boot loader programmer

    www.ti.com/.../spma074.pdf

    Regards
    Amit
  • Hi Amit,
    Thanks for the document link. For the time being I have tested the UART0 based serial boot loader & found it to be working fine. Sooner or later I will implement the custom boot loader following the protocol document you have shared.
    --
    Regards
    Soumyajit
  • Hello Soumyajit,

    Sure, you are welcome.

    Regards
    Amit