??? 12/08/08 01:19 Read: times |
#160703 - Dual C Programs Responding to: ???'s previous message |
The only effective way to do a boot loader in C language is to write it as a separate program from the application. Then both programs have to be merged at the binary or Hex file level to produce a single load image for the MCU. If you follow the recommendations of myself and certain other professionals here it is highly advantageous to have the boot loader built as an intrinsic part of the application. For this to work it is necessary to write the loader portion in assembler language. This is exactly the way that some boot loader code that I linked to in my other posting to this thread is structured.
If you insist that the boot loader and the application both need to be written in C language then you should go study a sample that is built like this. I believe there is such a sample presented in an applications note at the SiLabs web site. Michael Karas |
Topic | Author | Date |
Bootloader | 01/01/70 00:00 | |
you are mixing RAM and ROM and .... | 01/01/70 00:00 | |
Circuit | 01/01/70 00:00 | |
Follow up the reply | 01/01/70 00:00 | |
rework the board so that ... | 01/01/70 00:00 | |
How to rework the board? | 01/01/70 00:00 | |
I give up | 01/01/70 00:00 | |
Don't Give Up... | 01/01/70 00:00 | |
two ways | 01/01/70 00:00 | |
a sample | 01/01/70 00:00 | |
StartUp Code | 01/01/70 00:00 | |
I have heard that ... | 01/01/70 00:00 | |
this is a forum for help with problems ... | 01/01/70 00:00 | |
Thank Erik,.. | 01/01/70 00:00 | |
Dual C Programs | 01/01/70 00:00 | |
Dual C Programs | 01/01/70 00:00 | |
Be Very Careful | 01/01/70 00:00 | |
Be Very Careful | 01/01/70 00:00 | |
BEWARE | 01/01/70 00:00 | |
please do not .... | 01/01/70 00:00 | |
Upload Image... | 01/01/70 00:00 | |
That's not the way... | 01/01/70 00:00 | |
Von Neumann - Interrupt problem | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Interrupt problem | 01/01/70 00:00 | |
Erik's advice? | 01/01/70 00:00 | |
How to use the code? | 01/01/70 00:00 | |
Strong Suggestion..... | 01/01/70 00:00 |