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/EK-TM4C1294XL: does the chip comes with "boot_serial" pre programmed at address 0x0 by default?

Part Number: EK-TM4C1294XL

Tool/software: Code Composer Studio

i mean do i need to upload it to every new chip or is it already programmed?

Thanks.

  • Hi,
    When the chip is erased, the bootloader in the ROM will detect if UART interface is available. Note this is the bootloader in the ROM. Please refer to the bootloader users guide for details. Once the flash is programmed with code with valid stack pointer and reset vector at 0x0 and 0x4 the Control will be transferred to the program according to what you program in the flash.
  • Hi

             For programming empty flash keep the settings of LM flash programmer as below

    Program offset address depends on which type of boot loader you are using flash based boot loader or rom based boot loader.

    regards,

    Digvijay

  • ROM based boot loader means that every chip always contains its code?

    if so - why to use a flash based one? is it always possible for any program to jump to ROM based boot loader?

  • Yes, every chip contains a ROM. The ROM contains the bootloader and peripheral driver library. However, the ROM bootloader only supports UART0. Yes, you can jump to the ROM based boot loader by calling ROM_UdateUART(). Refer to the ROM User's guide for details. 

    31.2.1.45 ROM_UpdateUART
    Starts an update over the UART0 interface.
    Prototype:
    void
    ROM_UpdateUART(void)
    ROM Location:
    ROM_APITABLE is an array of pointers located at 0x0100.0010.
    ROM_UARTTABLE is an array of pointers located at ROM_APITABLE[1].
    ROM_UpdateUART is a function pointer located at ROM_UARTTABLE[21].
    Description:
    Calling this function commences an update of the firmware via the UART0 interface. This
    function assumes that the UART0 interface has already been configured and is currently operational.

  • This is great news - so there is generally no need to upload boot_serial in order to have a boot loader program with my program.
    Thanks - i will surely test it and report back. the program uploads i'm doing are from UART0.