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.

TM4C1294NCPDT: UART boot loading (programming ) of custom board designed using tm4c1294ncpdt for the first time.

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: LMFLASHPROGRAMMER, MAX232

Please reply ASAP it is urgent.

Respected sir/madam,

                  I am designing custom board using tm4c1294ncpdt uC. I have confusion regarding boot loading(programming) circuit. I know that i can boot load the uC using serial boot loader program also i can configure GPIO to put boot loader into update mode. But what i want to know is that what happens when i am programming the uC for first time.

1. is the uC by default into update mode after manufacturing??

2. Can i use serial UART boot loader code directly for programming first time?? 

3. Or some extra arrangement is required like, for the first time program using JTAG and then u can use UART for programming.

4. So please give me details of programming custom board (tm4c1294ncpdt) for the first time.

5. And if boot loading (programming) circuitry is available please share.

regards,

digvijay

  • Hello Digvijay,

    There is a ROM boot loader which would run to allow firmware to get programmed in via boot loader. The ROM boot loader will look at all supported interfaces until one of the interface receives a valid signal, it will then use that interface for the update.

    If multiple interfaces were detected, there is a sequence in which it chooses which is USB > ENET > I2C > SSI > UART.

    Software like the LMFlashProgrammer can be used pick from a few of those interfaces, including UART. It will send boot loader a pattern of data via UART, and once the boot loader detects that pattern, it will switch to use UART interface.

    Since you already have a UART boot loader setup for your hardware, you should just be able to connect the PC to your normal UART boot loader connection and let LMFlashProgrammer handle the rest.
  • Respected sir,

    Ralph Jacobi said:
    Since you already have a UART boot loader setup for your hardware,

    What do you mean by UART boot loader setup?? Is it particular circuit??

    regards,

    digvijay

  • Hello Digvijay,

    What I meant is that if you have built a board for UART boot loader, surely you have the UART pins routed to a connector for your PC to program firmware into, right? If so, then you may be able to leverage the ROM boot loader for loading your own custom boot loader into the device. I should have clarified that such a technique would rely on your UART boot loader being on UART0 peripheral, as that is what the ROM boot loader would use.
  • Respected sir,

    Exactly what i want to ask is, i have designed normal UART circuit using MAX232 , RS232 and DB9 connector which is used for general UART communication using RS232 protocol. So the real question is will it work for boot loading also?? Or do i have to make changes??

  • Hello Digvijay,

    Do you have UART communication to the TM4C working? If so, then yes. There is no special requirements for boot loader. All you need to be able to send UART data is to have correct UART communication. If you can send UART data to the TM4C, you can use a UART boot loader.

    For the ROM boot loader for UART, the only added requirement is that you have the UART data being input into the UART0 peripheral as that is the specific UART peripheral that the ROM boot loader is configured for. There are no other requirements.

    Which UART peripheral (UART0, UART1, UART2, etc.) is being used on your board for UART communication?
  • Respected sir,
    All the tree UART are available on my board. I am using UART0 for boot loading. Thanks for reply. That cleared my confusion.
    regards,
    digvijay