This is ironic.. I was going to upgrade to a 16Mhz, instead of the built in 8Mhz (atmega32) and read as much as I could about it on the internet first (I've bricked more avrs than I can count by now, haha. )
Anyways, I was reading this thread and hoping the same thing wouldn't happen to me. Of course it did. The LCD stopped working, everything else works like a charm. I've updated my F_CPU in the project properties as you were talking about, even added a define for F_CPU myself, and i changed the hz in the lcd.h library file.
Then I tried increasing the delays as you mentioned, but still no luck
Please help me, I'm almost done with this project (well, at least I've done all the hard work. Now comes the fun. Programming
)
So, if anyone could help me I would GREATLY appreciate it.
I might add:
Atmega32, 16Mhz 22pF x 2
LCD 20x2, standard one. I'm using AVR Dragon and AVR Studio for my programming. Maybe I should to some other fuse setting? I used An external crystal/resonator high freq Start up time 16k CK + 64ms.
On the LCD, the topmost row is all lit in black boxes, lower row is just illuminated by the backlight.
Thanks
EDIT: Hmm, i just noticed something weird. If I put a breakpoint just at the start of my project, it doesn't even break there. It opens a dissasembler, and i can keep hitting "run" forever, it never runs my code. Anyone recognize that??
It happened with a newly created project too, I made it just to test the LCD in a more friendly environment... This is weird..