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

Code for Bootstrap Loader

Is there a way to get a copy of the bootstrap loader code that is initially executed by the C16x controller. This code would be very helpful and instructive, as I'm trying to figure out how to load and execute a second application program after my original application (programmed into flash) is running.

Thanks for any help

Parents
  • You would have to contact Infineon and ask them, but I can't see how that code would be of much use to you. The not-very-trivial part there would be automatic baud rate detection. The rest is easy: load program into memory, jump to its start.
    Probably that's exactly what you want to do in your program: load the second program into RAM and jump to the entry point. You would have to set up the correct environment for running the second program, most notably interrupt vectors, among other things. But the built-in boot ROM code of C16x will not help you with that. All the info is in the microcontroller manual.

    - mike

Reply
  • You would have to contact Infineon and ask them, but I can't see how that code would be of much use to you. The not-very-trivial part there would be automatic baud rate detection. The rest is easy: load program into memory, jump to its start.
    Probably that's exactly what you want to do in your program: load the second program into RAM and jump to the entry point. You would have to set up the correct environment for running the second program, most notably interrupt vectors, among other things. But the built-in boot ROM code of C16x will not help you with that. All the info is in the microcontroller manual.

    - mike

Children
No data