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.

RTOS/TM4C123GH6PGE: Call Bootloader

Part Number: TM4C123GH6PGE

Tool/software: TI-RTOS

My system has need  the bootloader system  via uart0.

Now, I have one task for this system that call Updater().

I can send ping or get status and system respond. 

But if used sflash.exe the system not respond and erase flash.

When I create new task it run in SRAM?

I need change the memory map?

 

  • Hi,

    user4780320 said:
    I can send ping or get status and system respond.

      Did you use sflash.exe or LM Flash programmer to communicate with the bootloader when you said it works?

    user4780320 said:

    But if used sflash.exe the system not respond and erase flash.

    When I create new task it run in SRAM?

    There is a non TI-RTOS uart bootloader example that you can find under <TivaWare_Installation>\examples\boards\dk-tm4c123g\boot_serial. The bootloader needs to copy bootloader itself from flash to SRAM and execute the bootloader code from SRAM. This is needed because you are trying to download your firmware onto the flash. You can't run code from flash while downloading firmware to flash at the same time. 

  • I send ping on terminal.
    Yes, the sflash.exe works. I can copy this example boot serial and works try with boot demo 1 (0x2800).
    But can used my TI RTOS program don't work.
    Now I see that addr 0x0000 on TI-RTOS, it has a vecs of reset that can not copy when program start on 0x0000.
    When start to app from 0x2800 the sflash.exe run, but my firmware is not works.