C

Bootloader Flashing Instructions for Infineon boards

The bootloader image must be flashed onto the device in the two following scenarios:

  • Before using the board for the first time.
  • After flashing an incompatible bootloader. For example, from the TRAVEO™ T2G SDK.

The following is a list of Infineon boards that require a bootloader image:

The bootloader image is available at bin/bootloaders/cypress/tviic2d6m-baremetal_bootloader.elf in the Qt for MCUs install location.

There are two ways to flash the bootloader image, depending on which debug probe you have. These commands assume that QUL_DIR is set to the root of the Qt for MCUs installation that is being used, for example C:/Qt/QtMCUs/2.8.1. It's assumed that Infineon Auto Flash Utility is installed to the default location. If not, change the paths accordingly.

Note: The openocd command requires using forward slashes when specifying the path to the bootloader image. If there are spaces in the path, escape them with the \ character.

Using the MiniProg4 probe:

set QUL_DIR=C:/Qt/QtMCUs/2.8.1
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\scripts" -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_c2d_4m.cfg -c "init; reset init; program %QUL_DIR%/bin/bootloaders/cypress/tviic2d4m-baremetal_bootloader.elf verify; shutdown"
set QUL_DIR=C:/Qt/QtMCUs/2.8.1
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\scripts" -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_c2d_4m.cfg -c "init; reset init; program %QUL_DIR%/bin/bootloaders/cypress/tviic2d4mlite-baremetal_bootloader.elf verify; shutdown"
set QUL_DIR=C:/Qt/QtMCUs/2.8.1
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\scripts" -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_6m.cfg -c "init; reset init; program %QUL_DIR%/bin/bootloaders/cypress/tviic2d6m-baremetal_bootloader.elf verify; shutdown"
set QUL_DIR=C:/Qt/QtMCUs/2.8.1
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.4\scripts" -f interface/kitprog3.cfg -c "transport select swd" -f target/traveo2_6m_ddr.cfg -c "init; reset init; program %QUL_DIR%/bin/bootloaders/cypress/tviic2d6mddr-baremetal_bootloader.elf verify; shutdown"

Available under certain Qt licenses.
Find out more.