TAHAIC

Member Since: April 23, 2011

Country: United States

Profile

Universities

Queensland University of Technology

  • Product LCD-09352 | about 3 years ago

    I posted this on the Serial Graphic LCD 128x64 page…..thought I would post it here aswell.
    I bought my first Aurduino (UNO Eleven) with this LCD and backpack 2 days ago. I got the backpack on the LCD with the idea it would simplify the interface to the LCD. I quickly came to the realisation that the rendering of this display was very slow and there was no flow control (e.g. Xon, Xoff) which ment I was going to run into trouble real quick with having to put delays in my code. Looking around I found SummoningDark’s firmware at http://serialglcd.sourceforge.net/ and I wanted to try it but didn’t know how to get the main.hex into the ATmega168. I finally worked it out and this is what I did:
    I built a simple programmer cable like this except I used 100ohm resistors - just used stuff I had laying around. I connected the cable to the 6 pin ISP connection on the backpack as shown here which is explained about a 1/3 of the way down on the page. I confirmed these connections with the pinouts from the manufactures datasheets which is on page 2 here . I downloaded and installed WinAVR from here . I changed the programmer options in SummoningDark’s firmware makefile (in firmware\trunk folder) to direct parallel “dapa” which has the correct pin out for this programmer cable (i.e AVRDUDE__PROGRAMMER = dapa)and also changed the port to lpt1 (i.e. AVRDUDE_PORT = lpt1). I’ll just mention here that programmer types are defined in the avrdude.conf file in WinAVR\bin folder. I then opened command prompt and changed directory to firmware\trunk folder and typed “make all” to recompile the main.hex file (WinAVR install adds its path to the system path variable so windows knows where make and avrdude is).
    With the LCD powered by the +5V from my Arduino (Arduino plugged into the USB) and the programmer cable connected to computers LPT1 I typed “make program” at the command prompt and avrdude proceded to flash the ATmega168 on the backpack. It said “verification error” and “safemode lfuse changed! Would you like this fuse to be changed back? y/n” I typed “n” and pressed enter…it did the same for hfuse and efuse and I said no to all three. I then flashed it again to check and it said fuses OK avrdude DONE. Thank You.
    My backpack works fine now! Thanks to SummoningDark’s firmware …. awesome job! I would like to try and contribute to this firmware - I have a few ideas. I hope this helps someone…. as it took me the last 2 days to figure all this stuff out.

  • Product LCD-09351 | about 3 years ago

    I bought my first Aurduino (UNO Eleven) with this LCD and backpack 2 days ago. I got the backpack on the LCD with the idea it would simplify the interface to the LCD. I quickly came to the realisation that the rendering of this display was very slow and there was no flow control (e.g. Xon, Xoff) which ment I was going to run into trouble real quick with having to put delays in my code. Looking around I found SummoningDark’s firmware at http://serialglcd.sourceforge.net/ and I wanted to try it but didn’t know how to get the main.hex into the ATmega168. I finally worked it out and this is what I did:
    I built a simple programmer cable like this except I used 100ohm resistors - just used stuff I had laying around. I connected the cable to the 6 pin ISP connection on the backpack as shown here which is explained about a 1/3 of the way down on the page. I confirmed these connections with the pinouts from the manufactures datasheets which is on page 2 here . I downloaded and installed WinAVR from here . I changed the programmer options in SummoningDark’s firmware makefile (in firmware\trunk folder) to direct parallel “dapa” which has the correct pin out for this programmer cable (i.e AVRDUDE__PROGRAMMER = dapa)and also changed the port to lpt1 (i.e. AVRDUDE_PORT = lpt1). I’ll just mention here that programmer types are defined in the avrdude.conf file in WinAVR\bin folder. I then opened command prompt and changed directory to firmware\trunk folder and typed “make all” to recompile the main.hex file (WinAVR install adds its path to the system path variable so windows knows where make and avrdude is).
    With the LCD powered by the +5V from my Arduino (Arduino plugged into the USB) and the programmer cable connected to computers LPT1 I typed “make program” at the command prompt and avrdude proceded to flash the ATmega168 on the backpack. It said “verification error” and “safemode lfuse changed! Would you like this fuse to be changed back? y/n” I typed “n” and pressed enter…it did the same for hfuse and efuse and I said no to all three. I then flashed it again to check and it said fuses OK avrdude DONE. Thank You.
    My backpack works fine now! Thanks to SummoningDark’s firmware …. awesome job! I would like to try and contribute to this firmware - I have a few ideas. I hope this helps someone…. as it took me the last 2 days to figure all this stuff out.

No public wish lists :(