So I notice this AVR App notes for the bootloader says
For this bootloader implementation, the code size is approximately 12KB, and the code is placed in the
boot loader section and the application table section. When erasing or writing a page located inside the
application section, only the boot loader section can be read while the application table section cannot be
read. So the code relating to reading binary file and memory program must be placed at the boot loader
That statement is wrong? Only the code related to "memory program" must be in the boot loader section,
correct? The part related to "reading binary file" could be in the application table section. Correct?
The linker options:
Wl,--relax -Wl,--section-start=.mysection=0x1E000 -Wl,--section-start=.text=0x20000
Why do they specifically mention the application table in the docs? Their bootloader code could take up
half the program memory of the controller if desired, as long as the memory programming command
was up in the bootloader section? Does the fact its in the application table actually mean anything
functionally? Or is it just because it is adjacent to the bootloader section they mention it?