HI i have to make a project for my school. So i decided to do a black board cleaning mashine. For that i use a Infineon 80C535 microcontroler. I wanted to use 4 interrupts. Port 1^0 ; 1^4, 3^2; 3^3. The interrupt on the ports 3^2 and 3^3 work but not under the interrupt that is told in the users manual. The other interrupts dont work and after using them the programm crashs. I dont know what i did wrong. But im not very experienced with such programms. I dont know what i should do now and we ve got holidays now so i cant ask my teacher. Plz help me. I dont know wich informations u need to help. But plz help me!
According to the data book at http://www.keil.com/dd/chip/2972.htm, /INT0 is on P3.2, /INT1 is on P3.3, /INT2 is on 1.4, /INT3 is on P1.0, /INT4 is on P1.1, /INT5 is on P1.2, and /INT6 on P1.3. The interrupt vectors are: /INT0 = 0 /INT1 = 2 /INT2 = 10 /INT3 = 11 /INT4 = 12 /INT5 = 13 /INT6 = 14 At least, that's my interpretation. Does this help? Jon
Thanks that was my first problem! I tested it in the simulator and it worked. But now i got problems with my controler. If i change the Debug mode from the simulator to the debugmonitor the first interrupts are missing (0003h and 0013h) in the peripheral dialogue. Which addresses should I set in the off-chip code memory and in the off-chip xdata memory? Or should i change something in my startup.A51 file? (IDATALEN?;XDATALEN?;PDATALEN? ) I use the C51 compiler and the Keil Monitor 51 Driver.