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.

TMS320F28069: Bootloader activation for writing to flash memory

Part Number: TMS320F28069

Hello,

I need to use internal bootloader of the named device in order to write to flash memory of the MCU (software update purpose). I'm following the "Serial Flash Programming of C2000 Microcontrollers" guidelines, but haven't managed to achieve the target using an evaluation board.

My evaluation board setup consists of:

  • Piccolo F2806x controlCARD release 1.1
  • Docking-Station USB-EMU [R3].

According to controlCARD infosheet, switch SW1 control the boot options of the F28069 device. I need to have the device use SCI boot mode. According to the infosheet of the controlCARD, switch SW1 must be configured as:

  • Position 1 (GPIO-34): 1
  • Position 2 (TDO): 0

The switch on the controlCARD is configured exactly like this - SW1 position 1 is ON, SW1 position 2 is OFF. For programming I am using utility called serial_flash_programmer.exe provided by TI with following arguments:

  • serial_flash_programmer.exe –d f2806x –k f28069_flash_kernel.txt –a blinky_dc_cpu01.txt –p COM6

As a result of running this command the tool gets stuck at „Downloading blinky_dc_cpu01.txt to device...“. I added some debug logging into the tool sourcecode to see where it actually gets stuck and found it that after sending the autobaud detection character

the tool doesn’t receive anything back from the evaluation board MCU. Additionally, I tried sending the same character to MCU via another tool for serial communication and the result was the same – no response.

Thus, I would like to ask following questions:

  1. Is there any additional step required in order to boot into bootloader mode on the evaluation board? JTAG debugger is not connected.
  2. Is there something I can take as an identifier that the MCU is now running in bootloader mode?
  3. What is the recommended serial port baudrate for communication with TMS320F28069 MCU?

Any kind of feedback will be highly appreciated. Thanks!

  • It appears the device is not receiving the characters you are sending.

    You need to confirm that the boot ROM and boot mode are set to run the SCI boot loader and to confirm you are using the right GPIO pins for SCI communication.

    You can use the SCI echo back example to help you get started.

    Recommended baud rate is 9600 which is the default. Also use the -v command for verbose printing.

    You can use the boot ROM symbols to confirm your device is booting to SCI bootloader. But you need to modify the GEL file to make sure the device is not reset on target connect.

    Also, please see other E2E posts. There are many posts on this subject.

    sal
  • Hello Sal,

    After some further investigation I got the boot ROM working as expected. Thanks for your assistance.

    Kind regards,
    Lev
  • Great! Glad you got it working.

    sal