Hi,
I want to implement a classic bootloader in AVRCo.
Suppose I will use the UART for comunications with the outside world that will upload the .hex file from a PC
So I want to upgrade the entire application not some parts of it.
I was wondering what i need to do with the FlashInitPage procedure.
You need to give it an address of a page and the value passed needs to be a constant not a variable.
But I want to flash all pages, So can I use this procedure in a loop?
I would like a bit more info on how to upgrade the entire flash memory from within the bootloader.
Thank you.
Jeroen Vandezande
I want to implement a classic bootloader in AVRCo.
Suppose I will use the UART for comunications with the outside world that will upload the .hex file from a PC
So I want to upgrade the entire application not some parts of it.
I was wondering what i need to do with the FlashInitPage procedure.
You need to give it an address of a page and the value passed needs to be a constant not a variable.
But I want to flash all pages, So can I use this procedure in a loop?
I would like a bit more info on how to upgrade the entire flash memory from within the bootloader.
Thank you.
Jeroen Vandezande