Success.
Here's what I've got:
A 7260
A Sparkfun PIC24 breakout board with the Bully bootloader
A Sparkfun FTDI Basic breakout board
The PIC has the echo.c program from reesemicro.com installed so it echoes
incremented characters back (smart).
I loaded these two drivers.
insmod usbserial.o
insmod ftdi_sio.o
Then I used microterm.c from the files area here to test. The trick though is
that DTR must be brought low once you open the port to get echo.c to run on the
PIC so microterm.c needs to be modified.
Also, under Debian the device is /dev/ttyUSB0 but under TS-Linux it's
/dev/usb/tts/0. Go figure. Furthermore, the ioctl constants for manipulating
DTR aren't in the same header files in the Debian toolchain as they are in
other systems like OSX.
Now the question becomes which is a better way to interface to a PIC, USB or
SPI?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|