Hiya guys, need a bit of help here I have put this code in ----------------------------------------- void noreturn (void) interrupt 1 { send_serial("Timer0 Overflow"); } ------------------------------------------ but the target is not created when this code is in. what could it be??
I do have acess to timer0. that was just an example, i will be needing 3 external interrupts also. i have chosse EX0, EX1, and CT3I/P1.5 But i now have a different problem, i can get the external interupts to work on the board, i did by changing the options, C51, int vectors options to 0xBF00. this made the interrupts work on the board, but when i went to simulate it, and clicked on a inturrpt the program jummped out and sat at the inturrupt vector ie IE0 jumped to 03h. why is this?
I've never used the Keil simulator, but somewhere in the options there should be a way to let it know you want to relocate where the hardware goes for interrupt vectors. Is there a place where you select what chip you are simulating? If so, maybe all you have to do is make sure the correct chip (one that has its int vectors at 0xBF00) is selected.