BMOW title
Floppy Emu banner

USB Action

BMOW is now USB-enabled for PC communication, for both reads and writes. Yahoo!

I am typing this

I wrote a simple program to log when the USB interface goes up and down, and to echo all bytes received from the PC to BMOW’s LCD. The program also adds one to each received byte before transmitting it back, so I could prove it was transmitting real data and I wasn’t seeing some local echo. The result was that whatever letter I typed on the PC, the next letter of the alphabet got sent back in reply. Here’s the Windows Hyperterminal session:

Hyperterminal

The whole exercise went very smoothly, and I didn’t have to do any debugging at all. Once I got the USBMOD4 in place, it all worked on the first attempt you see here.

The only wrinkle was with the USBMOD4 itself. I bought one months ago that was damaged in shipping: some pins were broken off. Futurlec sent me a replacement, but I didn’t open it until yesterday, only to discover it was the wrong part! After scouring the USBMOD4 data sheet, I worked out a modified solution that let me use the damaged module, which was only possible because all but one of the broken pins were ground pins. I ended up needing to desolder a SMD component on the USBMOD4 body, which was ugly, and I was also forced to use the integrated USB jack rather than the external USB jack I’d planned on. But I can live with the little flaws… and hey, now I’ve got USB!

Read 1 comment and join the conversation 

1 Comment so far

  1. HL-SDK - April 29th, 2008 10:45 am

    wow, that’s really quick work! I’m still finishing up this latch thing.

    8 bits can be latched into one of 4 inverting d latches. So everything was going ok and then I realize that 4 7segments won’t fit. I pull 2 off, then I realize that they will fit. No, we’ll just do two and use inverters for the other 2 latches.

    What a headache! And I bought like 20 of these inverting latches! >.> Oh well.

Leave a reply. For customer support issues, please use the Customer Support link instead of writing comments.