Is there a way to use bootloader functions in application code?
Hi all. I am working on a project that consist of 3 separate codes. One is bootloader, another is static code and the last one is updatable code. They all share one flash. Static code only fulfills basic tasks and updatable code is more sophisticated but it is more open to bugs.
Normally updatable code runs on MCU and I update it according to feedbacks. But sometimes bugs are occurring in updatable code, than I command MCU to branch static code until I solve bugs in updatable code.
This 3 separate codes are using same protocol to communicate and the communication functions occupies a lot of flash space. What I want to ask is, is there a way to place communication functions in flash not for every code and just for one time? Is there any example, application note or a source about that subject?
