I've got a project using several XMEGA-A1, programmed by a bootloader, using SPI.
I used sp_driver.h, from AN1605 to create a custom bootloader, and it's working perfectly.
Now, I would like to configure a brown out reset (this can be done with fuses bits). I know how to do this using JTAGICE, but I would like to set the fuses in one single step, trough my bootloader (instead of using PDI/JTAG on each XMEGA).
Is there a way to do this ? sp_driver.h provide a SP_ReadFuseByte function, but no SP_WriteFuseByte, so I bet it's not possible, but may be there's another way ?