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

Boot-loader + Application: Sharing an Interrupt using Cx51

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

Parents Reply Children
No data