Skip to content

Flashing the firmware

MadsBarnkob edited this page Aug 11, 2024 · 4 revisions

Firmware binary files

  • UD3_QFN.cyacd (68-pin QFN package of the PSoC chip as used in the PSoC development kit)
  • UD3_TQFP.cyacd (100-pin TQFP PSoC chip)

Pre-built firmware binaries can be obtained here.

Choose a method for flashing

  1. PSoC Creator
  2. TeslaTerm
  3. FiberNet

PSoC Creator

  1. Software to flash the firmware. The software is free from Infineon. You can use PSoC Creator or PSoC Programmer.

  2. A programmer board similar to the one included in the CY8CKIT-059 development kit.

TeslaTerm with FiberNet

Firmware updates can be provided to the UD3 through Teslaterm using the same connection used for normal operations. This avoids having to pull the UD3 from the coil for every update, making firmware updates "in the field" feasible.

  1. Teslaterm 3.1.0 and below does not support bootloading on Fibernet connections.
  2. SD card with FAT format in the FiberNet is required. FTPError 550 Can't write file is a sign of non-working SD card.
  3. Connect to the UD3 and drag&drop the cyacd file from the UD3 build in UD3_???.cydsn/CortexM3/ARM_GCC_541/Release into Teslaterm.
  4. Teslaterm will program the UD3 and reconnect after the update.

FiberNet

FiberNet can be used to update firmware, in two ways

  1. FiberNet can be used with PSoC Creator, without a debugger.
  • Use the ftp.txt script
  • Remove the first "quit" and change the IP to your FiberNet.
  • Hit build in PSoC Creator.
  1. FiberNet runs an ftp server, a SD card in the FiberNet is needed.
  • You put the file on SD card and do commands 'debug fn'->'boot UD3_TQFP.cyacd' and it updates
Clone this wiki locally