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/TM4C1294NCPDT: SPI Bootloader, TI-RTOS app, startup

Part Number: TM4C1294NCPDT

Tool/software: TI-RTOS

Hello!

I am using custom bootloader from examples tiva c, downloading TI-RTOS app, reset board and nothing happens, app does not startup.

If app run from CCS and reset board, nothing happens, app does not startup.

I think, problem with boot and startup modules TI-RTOS, but I do not understand what and how change the .cfg

 

Thanks in advance

  • Can you get TI-RTOS example (e.g. empty driver example) to work after loading with CCS?
  • yes, of course. If not change .cmd for adding memory offset app, everything is work, but i need storе bootloader + ti-rtos app, for app updates

  • Hi Semen,

    If you modify the empty driver example's .cmd file to use the same placement but without using the bootloader, does the example still load and run from CCS? If not, please share the .cmd file so that we can inspect it.

    Otherwise, I'd suspect your bootloader is not loading the code correctly.  When you run the app using CCS, after loading the app, verify in the Disassembly window (Window->Show View -> Disassembly) that you are indeed at the first instruction of your bootloader's entry point. Make sure you do not have CCS configured to automatically run to main() after load completion (you can disable this by right clicking on the first entry in the Debug window of your target configuration, select Open GEL Files View, Auto Run and Launch Options, and deselect the box next to 'On a program load or restart':

    After loading the program, you can step through the code to see where it went wrong.

    Another tip is to verify memory contents using the memory browser in CCS (Window->Show View -> Memory Browser) to make sure that the bootloader is loading everything to the correct locations.

    Hope this helps.

    Best regards,

    Vincent

  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.