Its been two days I'm trying to write a Bootloader for ATXMega32E5. The Atmel studio doesn't have boot.h
header file supporting XMega.
As a result of searching and googling, I found two ASM header sp_driver.S and sp_driver.h. Even after the two readings and trial, I couldn't find how to use that asm functions in the embedded C code.
If someone came across this way, do help me in creating a bootloader. Or to create a makefile linking the source and header with the C file. That way I can call the functions and I will make my own bootloader