Im currenlty working on a bootloader, which is based on some OS (4 tasks). One of the tasks is to write incoming application (using spi) into external ROM memory, at specifed address (lets say it will start from address OxBAADCAFE). Bootloader is also part of external memory and lays at address 0x0. I believe, that if bootloader is made using OS, it cant simply do JUMP to newly written application and therefore execution of application is done in some other way. Question is:
how does bootloader shall execute application?
When i wanted to trace momnet, where bootloader is doing jump to application i couldnt find anything.
thanks and regards