[Skyeye-developer] Clarifications regarding emulating an LPC2106
kang shuo
blackfin.kang at gmail.com
Mon Apr 30 21:36:44 CST 2007
On 4/29/07, Rommel Custodio <rgcustodio at gmail.com> wrote:
> Hello,
>
> I originally reported that the code I have has issues running on the
> LPC emulation of Skyeye. Well, its still not running and I would like
> to ask several questions.
>
> I am running this on Cygwin. I have a Siganalyzer which I configured
> to be COM6 and COM7. I looped TX with RX of the comm ports and
> specified in skyeye.conf to use COM6 (ie. uart: fd_in=/dev/ttyS5,
> fd_out=/dev/ttyS5) I then fired up TeraTerm and connect it to COM7.
>
> I changed the code being executed to include only the minimal
> interaction with the emulation. So that it'll be easier to trace and,
> possibly, debug. The code just now starts up the system, initializes
> the UARTs and tries to send data through the UART.
>
> I've put several DBG_PRINTs inside skyeye_mach_lpc.c just to determine
> which functions are being called and those not being called.
> lpc_io_do_cycle() is called at a regular interval, which I think is
> correct. I expected lpc_uart_read() and lpc_uart_write() to be
If lpc_uart_read and lpc_uart_write is not called, mybe some address
you used have some mistake. Here, I have a hello example for lpc
simulation that can run on the current Skyeye. Hope that is helpful to
you. In the attachment, there is a skyeye.conf for lpc and hello
source package. Run "make" command to build hello and use "skyeye -e
hello" to run.
> executed because I was accessing the UART, but these functions were
> never executed. After several seconds, lpc_update_int() begins to be
> called but not regularly.
>
> Is my setup correct? Is the behavior of LPC emulation valid?
>
> Regards,
> Rommel
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello4lpc.tar.gz
Type: application/x-gzip
Size: 1536 bytes
Desc: not available
Url : http://lists.gro.clinux.org/pipermail/skyeye-developer/attachments/20070430/c8a65b5e/hello4lpc.tar.bin
More information about the Skyeye-developer
mailing list