Page 3 of 3

Re: Best Way to Do In Field Firmware Updates with XMOS?

Posted: Fri Apr 30, 2010 4:48 pm
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) ?

Re: Best Way to Do In Field Firmware Updates with XMOS?

Posted: Sat May 01, 2010 1:07 am
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...