-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Mar 28, 2006 at 07:25:12PM +1000, amanda wynne wrote:
> Basically, I hate starting from a blank sheet of paper, almost as much as I > hate > re-inventing the wheel. If you want something easy that saves you time then RS232 is much easier than USB. There are lots of micros with built-in RS232 UART and it isn't hard to make a soft-coded UART on a PIC chip. The only advantage of USB for a data logging application is the easier voltages. Yes USB is faster, but how much bandwidth do you need? > > Any pointers, even search terms to throw at google, would be appreciated. > I was making some progress with the PIC18LF2455 which supports native USB2 on the chip. To implement a minimal circuit that will boot and talk USB2 is only half a dozen parts. I've got some PIC code that at least gets it to turn up in /proc/bus/usb/devices and I started with writing a Linux device driver but the USB layer in Linux has been changing and I haven't had time to keep up with it so you probably want to write your own driver. I even have a prototype board you can borrow if you want to just test the concept and see what you think of the chip. I did have MPASMWIN.EXE running under wine at one stage, never got the IDE to fully settle down but the IDE doesn't help much if you are testing a comms protocol because it won't emulate the other side of the conversation. - Tel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iQIVAwUBRCmo4cfOVl0KFTApAQLQFxAAjd9DJy7ifQ7tl9H2nzAeXjFpmFWEjfAm bUvjahvzaO8t4eRgq7UezAzf0TMLrTuMULGZbigD3PpyANc/YREjv4Jr8njcmG9q F5OL63n6Uea+zaLUeQrrQZXgauYq+KxnJW1JVWuMYApI4inVnTXefcYjr6GDfe8G yupvl8QfCyDake6BZMcJ6isXDFvsgEYMntA4NTcrdAlIm6c3Hu1LYDHVVlIYC//J uC8sFvRv9OhqMdY++HauuVFJhoN/+60eokdUAvMoaGPu1dnkWg6Nw9G+EFIaYWq6 U+NyNEIln3hTCXzExOWLvfjHlfGj8+JHWvwzlAGDrw3P83dZUDTD48bgUMAgIUaV a+d+mwuDYNJXq6VEQGlb/8UfvBoojXZBDr3GZY5ju6uZgJA3rK+tevrEemTQxmVK HSgFpUC+Ylkml+aCOJOugUTFSHOomKiUH5o64AgBOICJd+oc3hKnPxWeUhHnl6AL p4WCk9W2nszpeMlbaX83NDdPFFZLQ+8LoK5yVEaZ2aO8VpFIk64cQnSUcYMJucGs nVY7tLCOF3g4V+94X+R/8LFHovdUJ0OGCNS3DrwfMCwCky6T8nN05V0W/moreNvO Ihu2ylYXWsWOaDOUFt/fIHsuJ5zwETvudV36hK27fWQc28sKWaSJcmrug306HuA5 cqkn3VJpl4s= =SY/G -----END PGP SIGNATURE----- -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html