Re: [RoboBricks2] Re: Interfacing WireHost to 3.3 LVTTL serial
>For revision C of WireHost, pin 11 and pin 15 are
>connected to ground.
That is interesting. I have rev C but no connectivity between pin 11
and pin 15. I've jumped the two together now.
>Other things to check are whether you have the baud rate
>of microcom set to 115200. Also, be sure to turn off all
>flow control if they have any.
Changing the baud rate in microcom to 115200 improved things a lot! I
thought I did not have to set it because I used the "stty" command to
set the baud rate in a startup script. Now I get the following output:
>Z
!
>
So it is echoing back characters (and a little more) but I am not
getting info from the modules in the chain. I went back and tried the
usb2serial and verified it still works.
>Actually, I got tired of
>microcom and wrote my program own called "Serial". It does
>not have any of the annoying dumb menus. I just set the
>serial port "/dev/tts/0" and the speed "115200" --
>prompt> Serial /dev/tts/0 115200
>{connected to serial port}
>{type [Esc] to terminate}
>prompt>
>Let me know if you want "Serial".
Yes. Please send it to me.
>To test microcom/Serial I use a shorting block on
>pins 2 and 3 of the router. If that causes echoing
>to show up/go away, that means that microcom/Serial
>is working.
Yes. I have done this test. Actually this test fails on /dev/tts/0.
I've been using /dev/tts/1which passes this echo test.
>Bill and I do Robotics on Tuesdays (i.e. tomorrow)
>from about 11:30 (lunch) to 3:00'ish. If you want to swing
>by my house, we can probably spend a few minutes switching
>between boards and routers until we have something that
>works. If you are interested, please call me at 408-245-4130.
I'd love to but I am working in Redwood city tomorrow.
>Alternatively, this Wednesday evening is the HBRC meeting
>and I can bring my router and stuff and we try and scrounge
>a few minutes after show and tell.
This sounds great. I'll bring my router and modules.
... http://www.hbrobotics.org/wiki/index.php5/WRTSL54GS#Using_on_board_serial_port ... Brandon: I have not posted a circuit the WireHost conversion. The longer...
... On the subject of hosts -- one thing I am excited to play with but haven't had a chance, is the Atmel AT90USBKEY development board. This board is $36 at...
Dave (Curtis): The AT90USBKEY is a neat and inexpensive board. ... I just checked, it seems to be $31.92 at Digi-Key. ... My further comments are: 1) The...
... Bonus! Its gone down. ... That's worth checking. I've heard that the Dragon can debug up to the first 32K on the larger processors, so you just have to...
... [snip price] [snip AVR-Dragon issue] ... I do not have one yet. [snip .050" x .100" connectors issue] ... Actually, it can be touch and go. It depends...
... <much snippage> ... Yes, I wasn't thinking about these being through-hole pads. So maybe a smallish pad, and don't try to route between them. ... Well, at...
Wayne, The ATJTAGICE2 at $300 is a bit pricey. But I just ordered 3 of the AT90USBKEY boards. I can help out with the software and if I really need to...
... The guy at <http://www.fourwalledcubicle.com/MyUSB.php> claims that his library is in stable condition. If it really is stable, all that should be...
... Yes, I do. So if you get stuck, let me know. As you say, once the CDC driver is up you can define an endpoint for stderr and get a lot of debug done that...
Dave and Wayne, So far, so good as the tools installed seamlessly and MyUSB downloaded and extracted without a problem. The "make all" build after a "make...
... It sounds reasonably robust, but does USB need that level of complexity? I honestly do not know. All I need from the AVRUSB is a USB stack that can talk...
Wayne, ... Your question about USB's complexity is a common question. Most people think of it as a gloified serial port. Which it is but it does have a lot...
... Having a scheduler still seems a little complex to me, but it is probably a simple scheduler. ... And presumably it worked. ... Configuring up the AVR UART...
... Hi Wayne, Thanks for the additional information. I still have not got this working yet. One thing that is a little confusing to me is that above you say ...
... You are correct, that is a typo on my part. ... For revision C of WireHost, pin 11 and pin 15 are connected to ground. Other things to check are whether...
... That is interesting. I have rev C but no connectivity between pin 11 and pin 15. I've jumped the two together now. ... Changing the baud rate in microcom...
... Perhaps a manufacturing defect? It is not something that I would easily detect, since that buffer of the Max232 is not used (i.e. pin 14 is NC.) ... ...
So some good news. I can now talk to WireHost from the router using both on board serial ports! To get /dev/tts/0 to work I have to boot the router first then...
... Argh! I knew that and I did not write it down! We have to plug and unplug it as well. I have no idea why. ... I did not know to set the IRQ. That works...