mini2440 and Arduino

PhillipMorris
Hello,
I am trying to connect mini2440 with an Adruino board using USB Host port.
When I plug it in, a popup windows appears asking for the name of the
driver.
After some google search, I found that I should use FTDI drivers for WinCE.
I tried to copy them in \Windows folder but nothing happened.
Is there a way to put the driver in my .bin image so that Arduino can be
properly recognized ?
Is there any other way or idea ?

Thanks...

jesse
You can connect the Arduino to the mini2440 without going through the USB
port.  Connect the TTL side of the serial port on the mini2440 to the
Arduino's RX and TX pins.  Make sure to cross them so that the mini2440 TX
connects to the Arduino RX and vice verse.  You also need to run a common
ground between the two boards.

Alan
Hi Jesse,

Thanks for the hardware connecting tip. But what about the software part?

TJ Quach
Alan,

Software on which end, the arduino side or the arm side? The quickest way
is to open serial port on arm and arduino, and let them talk. For arm, set
the baud rate, data, parity, stop: 9600 (default), 8, N, 1 in order to be
compatible with arduino. On the arduino side, program it first and use
Serial.begin(9600); Watch out for the timing though. In order to receive
your data without missing bytes, you must calculate the timing delay which
is needed for slow baud rates. For example, I'll do one at 9600.
delay = 2*(data + parity + stop)/baud
delay = 2*(8+0+1)/9600 = 1.8mS....so round to 2mS
This means that in order for the arduino or arm to correctly parse your
data, you will need to sleep or use delay statement.