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/TMS320F28069: Bootloader for Firmware Update Using CAN Bus or Serial Port between PC and F28069

Part Number: TMS320F28069
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Dear Sir or Madam,

I want to build a bootloader for firmware update between PC and TI 28069 using CAN bus or UART serial port. I need build the code for PC end, and target end (TI 28069). Can you let me know if TI have examples and documents I can refer to?

Thank you,

Hao

  • Dear Hao, 

    We have several resources to help with your bootloader for firmware update.  Please look at the three below:

    1. If you have C2000Ware, you will find the information available there quite useful: <installation_dir>\...\C2000Ware_2_00_00_02\utilities\flash_programmers\serial_flash_programmer

    2. https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/426550?Serial-flash-programmer-on-embedded-system

    3. http://www.ti.com/lit/an/sprabv4c/sprabv4c.pdf      

    Let us know if this helps you or you need further assistance. 

    Cheers!

    Krishna

  • Hello Krishna,

    Thank you much for your reply. I have a question:

    I can use hex2000 utility to build a sci 8 bit format ASCII data file like application.txt. But how can I build a sci 8 bit format ASCII data file for flash kernel for F28069 like F2806x_sci_flash_kernels.txt? What tool can I use to generate it?

    Best regards,

    Hao

  • Hi Hao, 

    According to the 3rd reference document that I sent you...it states on page 12. 

    NOTE: Both the flash kernels and flash application MUST be in the SCI8 boot format. This was discussed earlier in Section 3.1 and can be generated from the OUT file using the hex2000 utility.

    Please review and let me know you have further questions. 

    Cheers!

    Krishna

  • Hello Krishna,

    I read Section 3.1 of the document. I can generate a .txt file of SCI 8 bit from the application.out using hex2000 tool. But where is the kernel.out of flash? So I can generate a separate .txt file of SCI 8 bit from kernel.out file.

    Or does my application.txt include kernel txt part? So I don't need a separate .txt file of SCI 8 bit from kernel.out file. In the example, it includes an application .txt and a separate kernel .txt files.

    Thanks,

    Hao

  • Hao, 

    Please see section 6 in the third document provided:  http://www.ti.com/lit/an/sprabv4c/sprabv4c.pdf

    6 Example Implementation The kernels described above are available in C2000Ware under examples folder for the specific device within the examples directory. The host application is found in the C2000Ware (C2000Ware_x_xx_xx_xx/utilities/flash_programmers/serial_flash_programmer). The source and executable are found in the serial_flash_programmer folder. This section details the serial_flash_programmer: how to build, run and use it with Flash Kernel A and B. NOTE: The flash kernel of the appropriate device must be supplied to the tool being used to program the flash. The serial_flash_programmer starts the same way independent of the kernel or device. It first loads the kernel to the device which is using the SCI bootloader. After this, the tool’s functionality differs depending o

    Thanks,

    Krishna

  • Hi Hao, 

    We have not heard from you, so I assume you have resolved the issue...I am going to close this issue.  If you need further assistance, you can reopen this issue or submit a new one. 

    Cheers!

    Krishna