so i need some suggestions.
here's the deal.
I designed my own PCB for the mega128.
while i was waiting for it to be made and shipped to me, i used a mega128 development board to get some work done ( I used the Maverick-IIB 16MHz external oscillator dev board from bdmicro.com)
I made some LCD code that works great with the dev board. So i finally recieve my custom designed board. I do alittle testing. I just tried simple things, like toggling pins, turning on some programmable LEDs i added.
Here's were the trouble starts..
First, all the ports toggle fine, except port F (that's the ADC port) no matter what i write to it, i get like .52V. it doesn't change. all the pther ports change fine.
here's another problem.
On the dev board i wrote my LCD code for PORTA. like i said.. it works awesome on the DEV board. So knowing that PORTA on my board is working fine, i wire it up.. when i reset the MCU. The LCD seems to initiallize, but the cursor on it kind of flickers a weee bit.. it's hard to notice.. but if you look hard ehough it doens't really turn on and of consistantly (like it does on the DEv board), and kind of flickers a wee bit. plus.. i can't write anything to the LCD from there.. so it seems to be half-assing initializing.
I'm using a 16MHz oscillator on this one as well..
Anyone have any ideas that can help me out with these two problems???
I've checked the wiring like 6 times now. I know the LCD works on the DEV board. i know i can toggle pins correctly (except PORTF)