XBurn secure flash boot and upgrade flash

Technical discussions around xCORE processors (e.g. General Purpose (L/G), xCORE-USB, xCORE-Analog, xCORE-XA).
kster59
XCore Addict
Posts: 162
Joined: Thu Dec 31, 2009 8:51 am

XBurn secure flash boot and upgrade flash

Postby kster59 » Sat Jun 26, 2010 11:16 pm

I've written a USB firmware update based on libflash and it works well.

Are flash upgrades compatible with Xburn and secure boot flashing?

From the xburn manual it says you first generate a key with xburn. Using this key you secure the flash file then burn it into an unlocked device with xflash --key file.

Now you can lock the device with xburn --lock.

Now I have a firmware update routine in my .xe code which are generated from xflash --upgrade. Can I do xflash --upgrade 1 --key mykey and generate encrypted upgrade files or am I missing something?

Thanks.
m_y
Experienced Member
Posts: 69
Joined: Mon May 17, 2010 10:19 am

Postby m_y » Mon Jun 28, 2010 3:57 pm

kster59 wrote:Now I have a firmware update routine in my .xe code which are generated from xflash --upgrade. Can I do xflash --upgrade 1 --key mykey and generate encrypted upgrade files or am I missing something?
You're not missing anything. That's how it's intended to work.

Who is online

Users browsing this forum: No registered users and 3 guests