C
Flashing Instructions for Infineon/Cypress boards
There are two ways to flash an application binary, depending on which debug probe you have. It's assumed that Infineon Auto Flash Utility 1.2 is installed to the default location. If not, change the paths in the openocd
command accordingly.
Note: The openocd
command requires using forward slashes when specifying the path to the binary. Spaces in its path need to be escaped.
Using the MiniProg4 probe:
"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 "program <PATH_TO_BINARY>/your_binary.elf verify exit"
"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 "program <PATH_TO_BINARY>/your_binary.elf verify exit"
Using the J-Link probe:
"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/jlink.cfg -c "transport select swd" -f target/traveo2_c2d_4m.cfg -c "program <PATH_TO_BINARY>/your_binary.elf verify exit"
"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/jlink.cfg -c "transport select swd" -f target/traveo2_6m.cfg -c "program <PATH_TO_BINARY>/your_binary.elf verify exit"
Available under certain Qt licenses.
Find out more.