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.

TM4C1294NCPDT program via UART using Bootloader - Help

Other Parts Discussed in Thread: TM4C123GH6PM, TM4C1294NCPDT

Hello ALL,

I am new to tiva C series. I am trying to work on bootloader for software upgrade. I am using the bootloader files given by TI(i.e. bl_uart.c &.h, bl_packet.c and .h files......there are so many). I wanted to upgrade the firmware using the same way as TI has written his bootloader UART fucntionality.

Like COMMAND_SEND_DATA, COMMAND_DOWNLOAD, COMMAND_GET_STATUS, COMMAND_RET_STATUS...etc...I have created the same UART functionality at window side to simulate the tiva functionality.

But the project which they have shared is having bl_startup_ccs.s file (assembly file). Generally when we create any project in CCS by default we get the <prcessor_name>_startup_ccs.c file. 

The problem is how to import the "startup.s" content to "startup.c" file. 

If anybody can help me on this ...will be very good.

Thanks

Sanyam Agarwal

  • Hi,

    Sanyam Agarwal said:
    The problem is how to import the "startup.s" content to "startup.c" file. 

    You don't need to do such thing - just add the file to your project, the startup_ccs.s file will be compiled/linked as usual.

    Look also for examples related to bootloader, in your board examples. You can also import such project and adapt it to your needs. 

  • Hello Sanyam,

    A simpler solution than creating the whole project from scratch is to import the project from EK-TM4C123, change the defines

    TARGET_IS_TM4C123_RB1 to TARGET_IS_TM4C129_RA1
    PART_TM4C123GH6PM to PART_TM4C1294NCPDT

    and then make the changes to the code,

    Regards
    Amit