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.

TMS320F28335: SCI Bootloader without Boot mode Pins

Part Number: TMS320F28335
Other Parts Discussed in Thread: CONTROLSUITE, , C2000WARE

Tool/software:

Hello E2E Experts,

Good day.

I want to do the firmware update in our system using serial bootloader. I tried with the serial flash programmer and boot mode selection pins for sci boot loading, it works fine. But once we develop our system completely we will not have the access to the boot mode selection pins. So we are planning to store the flash kernel program and application code in flash but in different address location. when ever a firmware update is needed we can call the flash kernel from corresponding memory address using a command from application program. To check the feasibility, I am thinking to run the flash kernel in controlSUITE location (C:\ti\controlSUITE\device_support\f2833x\v142\DSP2833x_examples_ccsv5\f28335_flash_kernel) in RAM using the JTAG and try to load the application program through the SCIA port ( with out changing the Bootmode selection pins, all the pin state is 1- boot from flash). But I am not sure about the commands to send from serial flash loader for loading application only. 

For loading Kernals and application , I used  command

serial_flash_programmer.exe -d f2833x –k C:\Users\Public\Bootloaderf28335\serial_flash_programmer_f2833x\f28335_flash_kernel.txt –a C:\Users\Public\Bootloaderf28335\serial_flash_programmer_f2833x\Example_2833xLEDBlink.txt -p COM4 -b 9600 –v

 What I need to change to load application only?

Can I do the SCI Boot loading when the JTAG is connected to the controller? I am using TMS320f28335 controller with custom Board.

Regards,

TICSC

  • Hello,

    Our expert is currently out of office for the holidays; please expect a delayed response.

    Best Regards,

    Delaney

  • Hi,

    The serial_flash_programmer_appln executable file in C2000ware supports the kernel already existing on the device. If the kernel is loaded to flash memory for this device, then you can use the serial_flash_programmer_appln.exe (<C2000ware_root>\utilities\flash_programmers\serial_flash_programmer) which will bypass having to download the kernel and give the user a set of commands that they can use. 

    Best,
    Matt

  • Hello Matt,

    Good day.

    I know the commands need to use for serial bootloader for primary boot loading with serial flash loader( which need flash kernel. Txt and application.txt file to load). I think you are talking about that. But my question is different and now also its not answered. As the kernel is loaded in to the flash, it can be run from flash.we don’t need to do the flash kernel.txt through serial flash loader. In that case what will the command format need to use in the serial flash loader to load the application code only?

    Regards,

    TICSC

  • Hi,

    I am describing the serial_flash_programmer_appln.exe, which omits flash kernel loading as per your requirements. It can be called with the same command line arguments as the normal serial flash programmer, but the kernel.txt argument (-k) is not required. 

    serial_flash_programmer_appIn.exe -d <device> -a <application filename> -p COM<num> [-b] <baudrate> [-q] [-w] [-v]

    Best,

    Matt

  • I will be closing this thread as its been several weeks without a reply and assume to be resolved.