From: Dave H. <dhy...@gm...> - 2006-02-20 05:05:52
|
Hi Surenda, On 2/19/06, surendranath g <sur...@ya...> wrote: > After compiling and loading on gumstix, test633 is > supposed to talk to an LCD through the serial port on > gumstix, on redhat it sends a signal to the display > but not on gumstix. I dont know if its an IO issue or > a compiler issue or something else. I didn't realize that the code was designed to talk to an LCD. I doubt very highly that it's got anything to do with the compiler. Did you configure the appropriate lines to be serial? For /dev/ttyS2 you need to do: modprobe proc_gpio echo "AF2 in" > /proc/gpio/GPIO46 echo "AF1 out" > /dev/gpio/GPIO47 I ran the tes633 program I compiled and I saw this on my terminal program connected to /dev/ttyS2: >This is line 1< >This is line 2< with some control characters before and after each line. How did you connect the LCD to the gumstix (i.e. what exact cables did you = use? -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |