ATMega164P DMX problems

I am building a board that receives DMX and displays channel values on an LED dot-matrix display. For some reason, I don’t seem to be entering the serial ISR. The display part works fine.

I have verified the clock is OK (I get 20MHz out on B1 when I set the CLKOUT fuse), and that my DMX source is OK (it correctly drives a DMX dimmer pack).

I’m sure it is something obvious but I can’t see it…

[Edited… I removed the bad code since it has been picked up by other sites, and there’s no reason to spread bad code around]

Thanks for any help.

/mike

Yep, it should have been obvious. The timer interrupts were frequent enough that the serial interrupts were getting lost. Changing the prescaler got things running.

I know it has been a while, but I just noticed that my bad code had been spread across the Internet; no real reason for that.

Since it is now working, here’s a link to the project:

http://www.ardai.org/DMXStatus/

/mike