Hi All, I am using the STR710 microcontroller. Does someone know if it is possible to catch all unused interrupts sources by putting an one single interrupt routine adress in all the different vectors? If an unused interrupt is triggert(whatever the source) than this will always execute the pre-defind service routine. In this case a system reset. This way I can manage all the unused interrupt sources preventing unexpected behaviour due to for example EMC problems. I tried to point a few different interrupt vertors to the same interrupt service routine but failt to do that. Does someone have idea's?? Regards, Erik
Ok! sorry, you say: "1) in the production mode erroneous interrupts are simply ignored, I have not had problems with that. Doing a reset there, would lead to all kinds if strange things." So, you say it is not possible that due to EMC events on the hardware interrupts are triggert random. Regards, Erik Z
So, you say it is not possible that due to EMC events on the hardware interrupts are triggert random. Not at all, I have actually seen it. However, if we are to get into all the nitty gritty details, this will become a 211 paragraph "lesson". If you do a processor reset on a "wild" interrupt that can lead to much worse effects than just ignoring it (It should not happen anyway). However, the "debug mode" does allow all "created" false interrupts to be caught. Erik