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.

TM4C123BH6ZRB: TM4C Microcontrollers Custom Boot Loader

Part Number: TM4C123BH6ZRB

Hi,

I have a serial boot loader working. I use booty loader provided in TIVAWARE and I used UART to update my app via UART. I set my app start address at 0x4000 and boot loader at 0x0000 and I ableto update firmware update via UART. Problem currently I have is that I want to modify the serial boot loader as I want to update my firmware over BT. I need to setup UART interrupts and timer interrupt handlers. When I try to enable interrupts or even try to modify the code, boot loader stopped working. When I pause in debug, program always at no source location. Kindly could you please explain me step by step what I need to do to modify the boot loader? how and where I need to setup/map interrupt handlers? etc

Thanks

Moh

  • We have 3 example projects in the TivaWare directory C:\ti\TivaWare_C_Series-2.1.4.178\examples\boards\dk-tm4c123g, boot_demo1, boot_demo2 and boot_serial. Even if you do not have the DK-TM4C123G design kit with the small LCD display, you can look at these examples to see how it was done. What I do is I program the bootloader (Run -> Load -> Load Program). Then I change the "On-Chip Flash" settings to erase "Necessary Pages Only". Then I program the application code. On reset, the bootloader runs and calls the application. I can debug the application code with symbols. When the application code calls the bootloader, execution jumps to RAM and I don't have symbols. Then I load the bootloader symbols (Run->Load->Load Symbols). Now I can debug the bootloader with symbols.