I have tried to load the 16bit OCR registers in the timer 1, 2, of the mega162. they refuse to load, or erase the high byte. This phenomenon only happens when you set the WGMn2 and WGMn3 bits. This problem occurs with both the STK500 and the DRAGON. What is worse the avrstudio compiler refuses to load the registers for programming.
Calls to my local FAE from Atmel go unreturned.
I noticed in the KNOWN ISSUES section that avr studio seems to have problems with this. This is a major problem in my book.
Does anyone have a solution? I am using assembler, not 'c' for source coding