Page 1 of 1

why does my lcd displays!

PostPosted: Tue Oct 29, 2013 1:06 am
by devirsefa
I have built megadrum, ı programmed the PIC18F2550 as 12 mhz, I am sure that it's ok. Progrraming was succesfully.

for loading firmware to "Atmega32A", When I power the device while holding left, I see nothing on LCD. Where am I wrong?
Please, dont show me FAQ link, I cant find my answer at there. I have been copping with this proplem for two weeks, I will flip out, nearby. Plese help me. Is there inconsistency between my components? Should I program with ISP connection because of ATmega32A?

My components:
ATmega32A with 16 mhz xtal
PIC18F2550 with 12 mhz xtal
6N138 optocoupler
"1620A-17 LCD" (my seller said that it was compatible hd44780)

Is there inconsistency between my components?

Re: why does my lcd displays!

PostPosted: Tue Oct 29, 2013 10:31 am
by dmitri
Atmega chips come blank from Atmel without any bootloader. You have to program it first via the ISP cable.

Re: why does my lcd displays!

PostPosted: Tue Oct 29, 2013 8:52 pm
by devirsefa
ok I'm trying to flash. Thank you Dmitri.

Re: why does my lcd displays!

PostPosted: Wed Oct 30, 2013 12:36 am
by devirsefa
didnt work. I tried to programme atmega32 with ISP in "ponyprog", Writing stops at %60's.
What do you think about this? I know neither how to use Ponyprog nor programming atmega32.

I'm programming atmel first time. In ponyprog, I choose "megadrum32_16_32_20091217.hex" file, is it true for ATmega32A?

Re: why does my lcd displays!

PostPosted: Wed Oct 30, 2013 9:24 am
by dmitri
I've never used Atmega32A but it should work. Search the forum, there are a lot of posts about programming Atmega even recently, e.g. viewtopic.php?f=3&t=2338