NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » Text only displays on line 1

May 29, 2012
by missle3944
missle3944's Avatar

Hi guys,

I'm having a mysterious issue where the only text in a program is displayed on row 1 of the LCD. I have the 20x4 lcd. I've tried it with intialload and the tempsensor project. I've had my lcd for about a year and a half. Lines 2 and 3 light up on programming mode but thats it.

-Dan

May 30, 2012
by Ralphxyz
Ralphxyz's Avatar

First thing re-do the wiring, strip it off and do it again, and again ...

Ralph

May 31, 2012
by hevans
(NerdKits Staff)

hevans's Avatar

Hi Dan,

Did something else change in your programming toolchain? Like an upgrade of av-libc or something similar?

Humberto

June 01, 2012
by missle3944
missle3944's Avatar

Humberto,

I don't think so, I re downloaded everything from the ubuntu software center and it still gives me the same problem!

June 01, 2012
by missle3944
missle3944's Avatar

Humberto,

I don't think so, I re downloaded everything from the ubuntu software center and it still gives me the same problem!

June 04, 2012
by hevans
(NerdKits Staff)

hevans's Avatar

Have you tried changing the compiler optimization options for the code. This could be a case of an overzealous compiler optimization.

Humberto

June 04, 2012
by missle3944
missle3944's Avatar

How do I do that?

June 04, 2012
by Ralphxyz
Ralphxyz's Avatar

How do I do that?

Ralph

June 04, 2012
by missle3944
missle3944's Avatar

Ahh thanks Ralph! I saw that post already but it was for mac. I'll read up on it though.

-Dan

June 10, 2012
by missle3944
missle3944's Avatar

Thats Weird, the lcd works fine in windows 7 so it must be a problem in the avr toolchain in ubuntu. I cannot go back to win 7 for programming my nerdkit!

June 11, 2012
by Ralphxyz
Ralphxyz's Avatar

So do a re-install on ubuntu.

Then once you have everything working I am gong to need some hand holding to install a dual boot ubuntu/windows 7 x64.

Ralph

June 11, 2012
by missle3944
missle3944's Avatar

Ralph,

Dual booting windows and ubuntu is very easy. I've dual booted win 7 with Ubuntu 11.04 and xp with ubuntu 11.1.

As long as you have windows on the hard drive first it should work without a hitch! Ubuntu provides a very easy graphical interface to partition your hard drive.

I love Ubuntu 12.04 LTS when working with electronics and programming my nerdkit except for this minor problem with the lcd. It seemed to work fine in 11.04. Once I get a bigger hard drive I'm going to dual boot ubuntu 12.04 and windows 7 on my workbench computer.

-Dan

June 14, 2012
by missle3944
missle3944's Avatar

I just re installed Ubuntu 12.04 and it still only displays 1 line of text! Any suggestions?

June 15, 2012
by missle3944
missle3944's Avatar

Back in Business!

I just had to delete the old .o and .hex files and it worked!

Post a Reply

Please log in to post a reply.

Did you know that a NerdKit can take control of a remote-controlled car? Learn more...