Hi,
I wanted to develop a bootloader using the RTX kernel operating system and run several tasks for communication and a state machine. I tried out the AN2557 IAP example before and it worked pretty well to jump to a different address. Now my question is:
If I use the RTC kernel for the bootloader, can I still just jump to another address to continue execution of the user program or do I need to do somethin different (i.e kill the tasks of the bootloader)?
Would appreciate any thought on this.
Thanks,
Martin
That could be said about many programs. For example, protothreads can handle multiple concurrent processes just fine in a great many applications without sacrificing readability. Usually it is though that a bootloader should be small to leave the bulk of program memory to the main application. However, if memory shortage is not an issue, this point is not valid any more. There is one important reason to keep the bootloader simple. Hopefully, simplicity would lead to fewer bugs. This is important since it is not so easy to replace the bootloader as opposed to the main application.
Why have RTX run your bootloader? .... to have two independent tasks for the state machine and the communication
it is amazing how many of todays grads that would use a RTX for 'blinky' were they to originate it.
Erik