XBurn secure flash boot and upgrade flash

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
Post Reply
kster59
XCore Addict
Posts: 162
Joined: Thu Dec 31, 2009 8:51 am

XBurn secure flash boot and upgrade flash

Post by kster59 »

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

Post by m_y »

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