C

Bootloader Flashing Instructions for Infineon/Cypress 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 II SDK.

The following is a list of Infineon/Cypress 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/dev. It's also assumed that Infineon Auto Flash Utility 1.2 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/dev
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.2\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.2\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/dev
"C:\Program Files (x86)\Infineon\Auto Flash Utility 1.2\bin\openocd.exe" -s "C:\Program Files (x86)\Infineon\Auto Flash Utility 1.2\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"

Available under certain Qt licenses.
Find out more.