This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Start bootloader with an Interrupt call (_trap_)

I wanted to programm a bootloader for in-application programming. If an application was programmed with the bootloader, the bootloader starts the application.

If i want to programm a new application, the old application tranfers control to the bootloader with an interrupt call (_trap_0x7F).

What must i attend when i jump tho the bootloader with a software interrupt? The interrupt function calls not the main() function but an other function in my bootloader programm.

0