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

I need help with some interrupts

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!

Parents
  • 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.

Reply
  • 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.

Children
No data