All, We are designing a "loader" for field firmware updates. Unfortunately we do not have the code space (P89C668) to have two sets of code in on-chip flash. Therefore we will use a scheme where we have the loader code located in sector one and all the ISRs in sector zero as the loader will use interrupts. The rest of the application will be in sectors 2 and up. The loader will erase the upper sectors and program the new code there. It will then erase sector zero and reprogram the vector table and the ISRs. Block one, the loader, will remain unchanged. Questions: I think I can locate the code in sector one and the ISRs in sector zero using user classes. I have done this with some ARM code in uVision. How can I be sure that the loader will have all the run-time modules it needs in sector zero? In other words, I cannot have the loader calling code in sectors that have been erased. It will have to be completely self contained except for the ISRs. Is this a reasonable plan? Anyone have a better way to do this? Rich
The point, as you have now discovered, is that I don't post my email address on websites as I prefer not to receive spam A good spam filtering software takes care of that. With that in place it is easy to let those that have a genuine interest in e-mailing you know your address. The above I consider "technical" I had a comment on It did not occur to me that you would post yours with such reckless abandon but to get that you will need to adhere to: If you have anything to say about my expressions/language or whatever non-technical e-mail me. I will not pollute the forum with responses to your crap. Erik