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.

CCS/TMS320F28027: Need a step by step guide for developing bootloader

Part Number: TMS320F28027
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi friends

I want to develop a serial bootloader for TMS320f28027 C2000 MCU for flash programming in customer place (Actually firmware updating).

I'm not beginner at TI MCUs but I don't know the right way to do this.

Can anybody help me or introduce an example for this? (Not f28069 USB bootloader example)

I just need an overview and key steps.

Best regards.

  • Hi,

    Could you please refer 

    Thanks,

    Katta

  • Hi Katta.

    Thank you.

    I saw this user guide. It doesn't discuss about implementation level. Like:

    1- Where to place bootloader code? Which address , why and how?

    2- How to jump to user code? How to set begin address of user code to a fixed location?

    3- What must we do with _init function of user code? What must we do with its boot sequence that is created by ccs compiler?

    4- How to perform flash programming via bootloader?

    5- How to program bootloader and user program independently? What changes must be taken in command file for each one?

    6- Basically do we need 2 project for this 2 part or just one is enough?

    Best regards.

  • Hi,

    I gave the reference to Appnote to understand your need. Looks like your requirement is little bit different.

    The app note discusses how the existing SCI boot loader can be used for firmware update.

    For implementation details you can look at the SCI kernel at \C2000Ware_X_XX_XX_XX\device_support\f2806x\examples\c28\f28069_sci_flash_kernel

    Regarding your question

    #1. App note describes about two images.

    Kernel -> stays in RAM and programs the application image

    Application -> Application image or the firmware which needs to be programmed to Flash

    What do you mean by bootloader? I think it is kernel here. Right? Kernel gets placed in RAM. It gets programmed through SCI bootloader in ROM.

    #2. It is mentioned in the app note that the kernel after programming the application code, branches to entry point provided by application.

    #4. Bootloader i.e kernel uses flash api to program.

    #5. I recommend to follow the appnote to understand how to program kernel and application. Please use the default examples suggested. Let us know if you face any issues.

    #6. You need two projects, one for kernel and other for application.

    Thanks,

    Katta 

  • Hi Katta,

    Thanks for introducing that useful example.

    I want to examine it in depth.

    When come to the conclusion I will share the results.

    Best regards.