This is my work:
1. I have stored application binary file in 24c256, wired by 2wire to atmega328p;
2. I have wrote bootloader and compiled it with appropriate directive to upload starting from 0x3800 (for ex. include boot.h … int BOOTLOADER_SECTION main(void)…. )
So, I programm atmega and after reset, it copy program from external eeprom to flash, then jump to 0x0 to start application.
Everything seems to be done, but my problem is that after a subsequent hardware reset it always starts the application instead of the bootloader and I don't understand why.
In attachement my fuse setting