??? 12/03/08 10:01 Read: times |
#160544 - Strong Suggestion..... Responding to: ???'s previous message |
I'm not going to go get all involved in your project Tang but it seems you have a learning curve to climb. I would strongly suggest you get off the bandwagon of using C for your boot loader. Use assembler for that.
Do be aware that there are those out there, including me, that will say that you are in dangerous territory trying to use C on an embedded MCU project when you know little or nothing about the use of the assembly language on that MCU. When you start trying to work with boot loaders, relocated interrupt vector tables and StartUp code it is essential that you be very very familiar with the assembler language. I would strongly suggest that you take a different approach to your project. Instead of trying to learn what you are doing by trying to get answers to the the detailed assembler parts from members on this discussion board you should instead fully learn assembly language first. Read a book or some tutorials, make some programs in assembler or even possibly take a course of training. After you start to master that then go to a compiler vendor web site such as the Keil one and use their knowledge base to link to and gather all information you can learn about relocated interrupt vector tables, how startup code works and what it does. Armed with this type of information you would be in a position to use code similar to what Erik showed you or to understand how the code posted here works. You may also want to reference these previous discussions if you had not already searched here at 8052.com. http://www.8052.com/forum/read/49879 http://www.8052.com/forum/read/74433 http://www.8052.com/forum/read/90590 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 |