Hi all!
I have some problem with my bootloader (using AVR Studio 6.2). Bootloader writes flash without any problem. I read flash using programmer and compare both files (original and readed). They are fully identical, data and addresses the same. But main program isn't started. Bootloader writes flash and then ... nothing. I think that problem is in jump to 0 address. I do the following:
static void (*jump_to_app)(void)=0x0000; int main(void) { // write flash jump_to_app(); // Jump to Reset vector 0x0000 in Application Section. return 0; }
I don't have any ideas why it is happening. Maybe you help? Many thanks.