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.

How to SCI boot for F28069?

Other Parts Discussed in Thread: CONTROLSUITE

I'm referring to the "Serial Flash Programming of C2000™ Microcontrollers" document and "controlSUITE\device_support\f2806x\v150\F2806x_examples_ccsv5\f28069_flash_kernel" example.

I'm unable to understand how to boot from SCI?

The example program is having RAM linker file. Should this file be debug into the F28069 device or is this SCI bootloader program present in the ROM?.

By using GPIO37= 0 and GPIO34= 1 and the emulator (JTAG) not connected, can the Intel hex file of the firmware to be upgraded be loaded from C2Prog?

Please help.

  • Hi Ravi,

    The bootloader is present in the ROM. Please see the Boot ROM chapter of the TRM for details.

    You will need to set the device to SCI bootloader first. Then the SCI bootloader will be used to load the kernel into RAM. then the kernel will be used to load the flash application and program it into flash.

    sal
  • Sir,

    GPIO34= 1, GPIO37= 0 is required for SCI boot. With the boot mode pin selected, can I download Intel hex file from C2Prog to the device by using a USB to RS-232 connected at SCI-A?

    How is the SCI boot achieved to update firmware in flash memory of device?

    Why is "controlSUITE\device_support\f2806x\v150\F2806x_examples_ccsv5\f28069_flash_kernel" example required?


    Please guide.

  • Yes you can use C2Prog. You can also use the serial flash programmer with the sci flash kernels in controlSUITE.

    Please see this Application Note to guide you.

  •  Sir,

    I'm unable to program with C2Prog. I'm having GPIO34= 1, GPIO37= 0 for SCI boot. I tried to load Intel hex file from C2Prog to the F28069 device by using a USB to RS-232 connected at SCI-A. But I get no response from the controller.

    I tried programming by using serial flash programmer and Visual Studio as suggested in the "Serial Flash Programming document", at the building flash programmer step 9. Select Debug → Start Debugging to begin running the project, I do get some errors. The image of the same I have attached. Please tell me if there is anything wrong in this?

    After that for Running serial_flash_programmer for F2806x step 1. Navigate to the folder containing the compiled serial_flash_programmer executable. If I run the application file then nothing opens.

    In the document it was also mentioned to send character 'a' and it will echo back, how to send that using visual studio? is it required to set the baud rate? in section 6.2.2 and 6.2.3 character sending is given in the procedure.

    In serial flash properties: config/debugging, I have entered the command arguments: -d f28069 –k (file location).txt –p COM3 –b 9600. I'm using my application program text file which is converted by using "${CG_TOOL_HEX}" "${BuildArtifactFileName}" -boot -sci8 -a -o "${BuildArtifactFileBaseName}.txt" in Post-build steps.

    Please suggest me the necessary changes.

  • The serial flash programmer follows the protocol of the bootloaders and the sci flash kernel. You do not need to send 'a' yourself.

    Use the serial flash programmer with -v for verbose printing.

    Also, you need to specify the kernel with -k and the flash application with -a. You can see this by typing -h or looking at the PDF document.

    How far is the serial flash programmer getting.
  • Thanks for the support I got SCI firmware upgrade working using C2Prog. I'm able to program flash memory.
  • hello,Ravi

    I had some troubles in using C2Prog to burn my program to Flash. I had set GPIO34  to 1, GPIO37 to 0 and disconnect the JTAG,  and transfer .out document to .hex document, but I can't connect to the target. Can you help me ? I don't know what can I do next? The serial  flash programmer is another software or program?

    Thank you!

  • Hi, Hong

    Please can you try with .HEX file. And states of GPIO34=1 & GPIO37=0. C2Prog does program the flash memory of device by initiating a power-on reset. I use a USB to serial converter to connect to the device serially (Rx and Tx are reverse).