USB
-
Lyos Gemini Norezel
- Posts: 54
- Joined: 28 Dec 2003
USB
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
http://www.unitronic.de/ftdi/Schaltungen/U2U.pdf
Lyos Gemini Norezel
Mundus Vult Decipi et Decipiatur
Re: USB
Lyos Gemini Norezel wrote:
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
http://www.unitronic.de/ftdi/Schaltungen/U2U.pdf
Lyos Gemini Norezel
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
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).
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
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.
- BitWise
- In Memoriam
- Posts: 996
- Joined: 02 Mar 2004
- Location: Berkshire, UK
- Contact:
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).
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).
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
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
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
-
Nightmaretony
- In Memoriam
- Posts: 618
- Joined: 27 Jun 2003
- Location: Meadowbrook
- Contact:
Re: USB
Ric wrote:
Has anyone put together a USB yet?
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
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
http://www.ftdichip.com/Products/Evalua ... MM232R.htm
How can you go wrong.
Vince
replica 1 the Apple 1 clone
http://www.brielcomputers.com
http://www.brielcomputers.com
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
Vince
replica 1 the Apple 1 clone
http://www.brielcomputers.com
http://www.brielcomputers.com
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é
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é
-
Nightmaretony
- In Memoriam
- Posts: 618
- Joined: 27 Jun 2003
- Location: Meadowbrook
- Contact: