Firmware Update from Embedded Linux

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

cross mob
PeBe_1604221
Level 3
Level 3
10 sign-ins 5 sign-ins 5 questions asked

Hi,

We are looking at a new application that will have an embedded processor running Linux communicating with a PSoC device (either 5 or 6, not sure yet), probably using a SPI connection. In the field this circuit board will be in a tightly closed container and the Linux processor will be handling the external communication. We would like to be able to remotely update the PSoC firmware via the Linux processor. Do you have any examples, application notes, or other support material that would help us to achieve this? Any help would be very much appreciated.

Kind regards,

Peter

0 Likes
2 Replies
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello Peter,

Please refer to this documentation: http://www.cypress.com/file/46126/download

In the above application note, a PSoC 5LP acts as a Bootloader Host and updates the firmware on the target device using SPI interface like you requested. So in your case you need to write a firmware and replicate exactly what is happening in the application note with the linux processor as your Bootloader Host and PSoC 5LP as the target device. You just need to use the host side APIs.

To do this, please refer to the Bootloader System APIs present in PSoC Creator\4.2\PSoC Creator\cybootloaderutils

Regards,

Dheeraj

0 Likes

Hi Dheeraj,

Thank you very much for this response - very helpful and much appreciated!

Best regards,

Peter