[Skyeye-developer] polling the UART [resend]
kang shuo
blackfin.kang at gmail.com
Wed Apr 25 22:19:47 CST 2007
On 4/24/07, Rommel Custodio <rgcustodio at gmail.com> wrote:
> Hello,
>
> I am trying to run some code which sends data via the UART in Skyeye. This
> code work properly on my target device, an LPC2106. I'm trying to do
> something like:
>
> //Wait until THR (Transmit Holding Register) is empty = THREE bit gets
> set
> while(!(U0LSR & 0x20))
> ;
> U0THR = charToSend;
>
> Under arm-elf-gdb I see that I'm in an infinite loop, the while doesn't get
> asserted to a TRUE value.
I guess arm-elf-gdb is not support lpc simulation.
>
> I've compiled the HelloSkyeye code which shows something similar to the
> above code. The HelloSkyeye code runs properly but the code I have doesn't
> work.
You can post your code that you try to run on skyeye here.
>
> Regards,
> Mela
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
>
More information about the Skyeye-developer
mailing list