We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have written a boot-loader and associated application which both require the use of a particular interrupt. I have read as many of the knowledge-base articles as I could find, but have not found one which addresses my exact needs:
I'd like the boot-loader's ISR to preserve the system state similar to a traditional ISR specified with the 'interrupt' directive (and I'd like it to restore the state before returning), but I don't want it to generate an interrupt vector, and I also need it to return using a regular 'ret' instruction as opposed to 'reti' in order to allow the application's ISR to still be called.
Does anyone have any suggestions? The 'cached' specification available in the Cx166 looks like it would do most of what I need, but I don't think that is available in Cx51 (and it would still issue 'reti' instead of 'ret' at the end, even if it is available).
Thanks!
- Marc
I think I have answered my own questiosn. Thanks anyhow!