pallavibsh
Newbie level 6
hi all
am doing a bootloading for atmega64a
my doubt is when we enable SPMIE than code enters into bootloader section later a file is downloaded than will the code run by itself in BLS or i need to write a separate bootloader program to erase chip and than boot_write with updated code.
ex
if (SPM enabled)
{
// Rx file through sim900 gsm AT-commands.
[ is bootloader progrm required here to erase chip and write the BLS with updated code ]
}
else
{
// normal application code.
}
pls help
regards,
pallavi
am doing a bootloading for atmega64a
my doubt is when we enable SPMIE than code enters into bootloader section later a file is downloaded than will the code run by itself in BLS or i need to write a separate bootloader program to erase chip and than boot_write with updated code.
ex
if (SPM enabled)
{
// Rx file through sim900 gsm AT-commands.
[ is bootloader progrm required here to erase chip and write the BLS with updated code ]
}
else
{
// normal application code.
}
pls help
regards,
pallavi