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.

TM4C129x BOOT Loader

Other Parts Discussed in Thread: TM4C129XNCZAD, TM4C1294NCPDT

I have some very general questions about the TI boot loader. I'm new to the TI development world. I have a TM4C129X dev board. I downloaded the Tiva Sample Software. Included in that software is a boot_loader directory and \examples\boards\dk-tm4c129x\boot_demo_usb project. The boot_demo_usb project is an actual project. The boot_loader directory is just a selection of .c/.h files and a linker script. I also have a SW-TM4C-BOOTLDR-UG-2.0.1.11577.pdf which describes the contents of the boot_loader directory. The .pdf implies a relationship between the files in the boot_loader directory and the LM Flasher tool. The boot_demo_usb project seems to be unrelated to the .pdf and boot_loader directory...can someone help me connect the dots. I'm not sure how I utilize the documented boot_loader directory? I would have expected those files to be included in a code composer project as a demo project. Hopefully my question makes sense. 

  • Hello Chandrashekhar,

    The boot_loader directory is a collection of files which implements a flash based boot loader such that the boot loader resides at 0x0 location and the application at another location.

    The boot_demo_usb on the other hand is an application which can call the ROM Based boot loader. The question is why two types of boot loader. Well the answer is that the ROM Based boot loader is a fixed application that a user cannot modify and loads the application code to 0x0 location. On the other hand the flash based boot loader can be used to perform custom steps but the application code has to be away from 0x0 location and the flash based boot loader will make the jump to the new location.

    Regards

    Amit

  • Hi amit,

    I want to use flash based boot loader. My project required flash based boot loader.is there any example code which can help me out.

  • Hello Chandrashekhar,

    On one of the forum threads I had attached a modified TM4C129 Flash Based UART bootloader. I would search for it and post it (appreciate that you can search as well)

    Regards

    Amit

  • Hi Amit,

    i would also try to search. if i find i will also post in this forum.

    thank you.

  • Hi amit,

    I tried but i don't get attachment.

    please if you can help me.

  • Hello Chandrashekhar

    Attached are the CCS files for TM4C129XNCZAD UART Boot Loader. You would need to make some changes for the TM4C1294NCPDT part on the EK-TM4C129 board like changing the PART_??? in the preprocessor define

    1. The following zip package has the boot_loader files that need to be copied to the boot_loader directory of TIVWare Installation

    8686.boot_loader.7z

    2. This is the boot loader CCS Project, that needs to be flashed on the device through JTAG

    8867.TM4C129_boot_serial.7z

    3. The following two CCS Projects that can be downloaded through UART. The two projects are such that the one with PQ6 will Flash an LED on PQ6 and the one with PQ7 will Flash and LED on PQ7. To load the flash again through the UART, am using a Button Press on PQ5 detect that the user would be changing the LED Flashing Pattern.

    4375.TM4C129_StrapCode_PQ6.7z

    5025.TM4C129_StrapCode_PQ7.7z

    Regards

    Amit

  • Hi Amit,

         I don't have boot_serial at my Tivaware copy for my Tiva Connected Launchpad. Is this boot_serial you attached here, you modified specifically to work for TM4C129?

    - kel

  • Thanks amit,

    Can i use same file for TM4C123Gx with some change.

  • Hello Chandrashekhar, Kel

    This one is modified for TM4C129 and after updating the same you cannot use TM4C123 boot loader. I am still working on getting the two co-exist.

    Also if you want to use it for TM4C123, then the example already exists.

    Note: that only UART is tested as a boot loader option

    Regards

    Amit

  • Dear Sir, 

    I tried testing the  codes from C:\ti\TivaWare_C_Series-2.0.1.11577\examples\boards\dk-tm4c123g\boot_demo1 on 

    Stellaris LAUNCHPAD (LM4F120XL) . I used LM Flash Programmer to build the Boot Loader Program and in next step configured it to Manual and selected SERIAL (UART) and was trying to dump a random sample code. Below is the error message which I got. Please advise what to check to make it working.

  • Hello Chandrashekhar,

    Please keep a single thread on the same. Anyways I have updated the new thread you have posted.

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/370841.aspx

    Regards

    Amit