[Skyeye-developer] Clarifications regarding emulating an LPC2106
Rommel Custodio
rgcustodio at gmail.com
Sun Apr 29 02:20:34 CST 2007
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
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
More information about the Skyeye-developer
mailing list