Best Way to Do In Field Firmware Updates with XMOS?

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
User avatar
wibauxl
Active Member
Posts: 35
Joined: Mon Dec 14, 2009 4:40 pm

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

Postby wibauxl » Fri Apr 30, 2010 4:48 pm

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

Postby kster59 » Sat May 01, 2010 1:07 am

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...

Who is online

Users browsing this forum: No registered users and 0 guests