Firmware field updates via USB flash drive?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiMa_4607296
Level 1
Level 1

Firmware field updates via USB flash drive?

Hi,

Is it possible to upgrade the Psoc 4,5 or 6 firmware in the field via the USB link? I need the user to be able to download upgrades without having access to any special programmer hardware or software. Could anyone please give me some pointers?

Thank you!

Michael Madsen

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello Michael,

It is possible to upgrade firmware using USB link. We have code example called "USBFS Bootloader and Bootloadable" for PSoc 3, 4 and 5LP devices that depicts this functionality.

In order to view the project open PSoC Creator 4.2 > goto File > Code Example. In the find code example dialogue box search for "USBFS_Bootloader.cywrk".

You can also refer to the blog: Electronics Blog: PSoC5 Dual Application USB FS Bootloader

In the project, the bootloader component uses USB interface for managing command transfer from the PC to the device and status transfer from device to the PC. Since PSoC 3, 4 and 5LP can only act as USB device it is not possible to update the firmware using a Flash drive (since in this case it is required for the PSoC to act as USB Host).

PSoC 6 has USB Host functionality but at present we do not have code example to depict this functionality.

Best Regards

Ekta

View solution in original post

1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello Michael,

It is possible to upgrade firmware using USB link. We have code example called "USBFS Bootloader and Bootloadable" for PSoc 3, 4 and 5LP devices that depicts this functionality.

In order to view the project open PSoC Creator 4.2 > goto File > Code Example. In the find code example dialogue box search for "USBFS_Bootloader.cywrk".

You can also refer to the blog: Electronics Blog: PSoC5 Dual Application USB FS Bootloader

In the project, the bootloader component uses USB interface for managing command transfer from the PC to the device and status transfer from device to the PC. Since PSoC 3, 4 and 5LP can only act as USB device it is not possible to update the firmware using a Flash drive (since in this case it is required for the PSoC to act as USB Host).

PSoC 6 has USB Host functionality but at present we do not have code example to depict this functionality.

Best Regards

Ekta