Best Way to Do In Field Firmware Updates with XMOS?

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
User avatar
wibauxl
Active Member
Posts: 35
Joined: Mon Dec 14, 2009 4:40 pm

Post by wibauxl »

kster59 wrote:Thanks for pointing out the error. Works well now!
Have you tried to add yet another firmware update with another ID (bigger or smaller)?
If yes, which one does it boot?
Can you switch from one image to another (some bytes changed in the bootloader firmware maybe) ?


kster59
XCore Addict
Posts: 162
Joined: Thu Dec 31, 2009 8:51 am

Post by kster59 »

Somewhere in the documentation I read XMOS only supports 2 flash locations (original + 1 extra).

I only need 1 update so good enough for me. Any future updates will just overwrite the old one and if it fails then it will boot the original.

I had the green leds flash in the original code, updated firmware over usb then it flashed red leds and then updated firmware again to boot green, etc.

I need to physically unplug the usb power cable to get it to boot the new good. The reset procedure doesn't seem to work by writing into the PLL at least on the XC-1a. I'n going to try it on my new board with a L1-64 and a FT245R and see what happens.

Saves a lot of components being able to do USB updates without the JTAG...
Post Reply