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.

TMS320F280039C: Set GPIO8/9 to SCI boot on CCS and execute SCI Flash kernel

Guru 13095 points
Part Number: TMS320F280039C


Hi, 

We are verifying the firmware update using the SCI flash kernel on an EVM basis. Since SCITX/SCIRX uses GPIO8/9, the code below is changed from SCI_BOOT to SCI_BOOT_ALT2.

Also since changing the BootModeSelectPin involves irreversible writing to the OTP area, we use the EMU-BOOTPIN-CONFIG setting in Emulation Boot to check the operation before writing to the OTP.

Since I use GPIO8/9, I set 0x5AFF1820 to 0xD00 and 0xFFFF41FF to 0xD04 on CCS. As a result of executing the following command based on this setting, it was confirmed that the LED blinked normally.

■ serial_flash_programmer_appln.exe -d f28003x -k flash_kernel_ex3_sci_flash_kernel.txt -a led_ex1_blinky.txt -b 19200 -p COM12 -v

However, it turned out that the firmware can be updated normally even with the default values without setting 0x5AFF1820 to 0xD00 and 0xFFFF41FF to 0xD04 on CCS.

Question.
Is the reason why the firmware update was successful even with the default values without setting 0x5AFF1820 to 0xD00 and 0xFFFF41FF to 0xD04 on CCS because it entered "Wait mode"?

Thanks,

Conor

  • Hi Conor,

    >However, it turned out that the firmware can be updated normally even with the default values without setting 0x5AFF1820 to 0xD00 and 0xFFFF41FF to 0xD04 on CCS.

    By default values do you mean the GPIO values are 28/29 for transmission? What does the setup look like to perform this firmware update?

    When using CCS it disregards the boot mode switch when performing the update. When connecting using default values, if the OTP was not set to use GPIO8/9 pins, then it will enter wait boot or boot to Flash. If you previously programmed the Flash memory with the blinky, it will still retain it.

    Thanks and regards,

    Charles