Page 1 of 2
USB
Posted: Thu Feb 19, 2004 7:38 pm
by Lyos Gemini Norezel
Hey ya'll made another discovery... a USB to USB connector board schematics... might help us make a USB bus for a 6502... Those of you wizards might want to check this out.
http://www.unitronic.de/ftdi/Schaltungen/U2U.pdf
Lyos Gemini Norezel
Re: USB
Posted: Fri Mar 05, 2004 5:40 pm
by kc5tja
Hey ya'll made another discovery... a USB to USB connector board schematics... might help us make a USB bus for a 6502... Those of you wizards might want to check this out.
http://www.unitronic.de/ftdi/Schaltungen/U2U.pdf
Lyos Gemini Norezel
Also check out the Cypress CY7C67300 USB adapter chip. It has four USB ports on it, and has an internal RISC processor (16-bit) which can be programmed to interface those USB ports to an arbitrary bus. It ought not be hard, then, to get that chip to talk to the 6502/65816 (in either host controller, device slave, or
both) in some manner.
Posted: Fri May 21, 2004 7:48 pm
by GARTHWILSON
Also look at
www.instantusb.com . Linx has this IC that can be interfaced through various serial interfaces, and requires no external components (except the connector).
USB
Posted: Mon Feb 06, 2006 5:02 am
by Ric
Has anyone put together a USB yet?
Posted: Tue Feb 14, 2006 7:58 pm
by GARTHWILSON
On the front of the Analog Design Guide issue that Maxim just sent me was this USB IC:
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/4751 (MAX3420E). It has everything to make a USB peripheral. You interface it via SPI. Like Samel said, you're not going to find these things in DIPs, but at least it's not a BGA. It's available in a 7mm square TQFP (thin quad flat pack) with 8 leads coming out each of the four sides.
Posted: Wed Feb 15, 2006 11:05 am
by BitWise
I've been working on a design for a 6502 system that uses a PIC as a USB 2.0 interface.
This site
http://www.lvr.com/ is a reasonable starting point for all things USB.
It seems the trend is increasingly for SMT chips for USB interfacing and away from hobbiest friendly DIP packages. SMT looks really cool but neither my eyesight or blood pressure is up to dealing with tiddly components. Thats why I decided to look into the PIC option, plus it means I can make use of Microchips free firmware for USB control and have a relatively simple protocol to communicate with the 6502 saving code space.
My latest design, shortly to be hardwired, uses two 40 pin 18F PICs (one for USB/I2C and the other for MMC/ethernet) interfaced to the 6502 via 6522s and another smaller 16F PIC as the 6502 clock source and reset handler.
The project is just waiting for me to finish the linker for my portable Java based 6501/6502/65C02/65SC02/65816 relocatable macro assembler suite (beta-testers welcome).
Posted: Wed Feb 15, 2006 10:11 pm
by 8BIT
Here is another link to a USB Host product:
http://www.ghielectronics.com/USBwiz.htm
It can be used to connect USB keyboards, mice, and printers.
It also has FAT drivers built-in so its easy to access a USB thumb drive too.
This company also sells a FAT interface chip that can connect to CF media or even IDE hard drives.
http://www.ghielectronics.com/ALFAT.htm
All of these products offer UART, I2C, & SPI interfaces to the Host system. The drawbacks include 3.3V power (although IO is 5v tolerant) and SMD parts vs DIP. However, this will surely make interfacing to USB and other storage media easy.
Daryl
Posted: Thu Feb 16, 2006 7:04 am
by Nightmaretony
FT232, USB to RS232. SMT pain in the Intel, though....
Posted: Thu Feb 16, 2006 9:52 am
by kc5tja
FT232, USB to RS232. SMT pain in the Intel, though....
FT245 -- parallel FIFO interface, much faster. Otherwise compatible with the FT232.
Re: USB
Posted: Tue Feb 21, 2006 6:14 pm
by cas
Has anyone put together a USB yet?
Well, the MicroUSB Project is producing USB Hardware and Software drivers for 6502 based Homecomputers (Atari XL/XE, Commodore C=64, Apple II) based on the Cypres SL811HS.
Take a look at
http://www.microusb.org/
Devices we can attach:
* Keyboard
* Mouse
* all kinds of Joysticks
* Wheels
* USB Sticks
* USB Harddrives
* USB CD-ROM
All hardware design and software is GPL.
The SL811HS is shielding the USB low-level side, but all USB Communication (USB Protocols) is done from the 6502. Programming is not hard once you get into it. Assemblercode for drivers is available. An USB driver is between 256 Byte and 2 K in Assembler.
Prototyping Software is in Forth, although it is currently also ported to CC65.
Best regards
Carsten
Posted: Fri Feb 24, 2006 4:25 pm
by vbriel
I'm giving this bad boy a try on my next project. It will help development of the chip with through hole and it is only $18 with royalty free drivers!
http://www.ftdichip.com/Products/Evalua ... MM232R.htm
How can you go wrong.
Vince
Posted: Sat Feb 25, 2006 1:22 am
by kc5tja
Well, for starters, you could accidentally discharge more than 2000V of static into the part while installing it.... ;D
Posted: Tue Feb 28, 2006 12:21 am
by vbriel
If anybody is curious, I received my MM232 board for the FT232R IC and got right to work. The drivers work perfect. I just used the virtual comm port software that is free on their site. Then I wired up the device to be bus powered. Then ran Tx and Rx in a loop back to test. I opened up Hyper terminal and could type in and get back what I was typing. I removed my loopback to verify that it would stop communicating. After that it was just a matter of wiring the Tx and Rx lines up to my circuit that I normally use for serial and it works perfect. I think this has to be the easiest solution for USB communication I've seen yet.
Vince
Posted: Fri Apr 22, 2011 10:19 am
by fachat
Just wanted to tell anyone :-)
I have finished a first version of my 6502 USB stack, for host operation as well as device operation.
Host operation currently supports:
- mouse
- keyboard
- hub
device operation currently supports:
- keyboard
While I started from the MicroUSB code, and learned some stuff from them (I know you're reading, didn't have time yet to contact you) I wrote completely new drivers, with separation of hardware and logic (so other chips than the SL811HS can be supported easily).
Currently only the board plus drivers are available, I'll most likely write an article about the USB stuff some time (in the future :-)
http://www.6502.org/users/andre/csa/usb/index.html
Have fun
André
Posted: Fri Apr 22, 2011 5:26 pm
by Nightmaretony
Would an AVR work out ok doing usb to a serial linkage or parallel to 6502? A small DIP package would be easier on us....