I am using the ADC example program with a AT32UC3B1256, STK600 and JTAGICE mkii. I step through the below line of code, but when I look at the ADC registers, the ADC enable bit for chan 6 is not being set.
adc->cher = (1 << 6);
I tried setting the bit for other channels, but they would not set either. Is there some kind of lock bit that I don't know about that might be stopping me from enabling the ADC? Any other ideas why the ADC won't enable?