6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue May 07, 2024 8:08 pm

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: USB
PostPosted: Thu Feb 19, 2004 7:38 pm 
Offline

Joined: Sun Dec 28, 2003 11:55 am
Posts: 54
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

_________________
Mundus Vult Decipi et Decipiatur


Top
 Profile  
Reply with quote  
 Post subject: Re: USB
PostPosted: Fri Mar 05, 2004 5:40 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
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


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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri May 21, 2004 7:48 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
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).


Top
 Profile  
Reply with quote  
 Post subject: USB
PostPosted: Mon Feb 06, 2006 5:02 am 
Offline

Joined: Mon Feb 06, 2006 4:17 am
Posts: 1
Location: Phoenix
Has anyone put together a USB yet?

_________________
Ric


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Feb 14, 2006 7:58 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 15, 2006 11:05 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
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).

_________________
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 15, 2006 10:11 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1685
Location: Sacramento, CA
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 16, 2006 7:04 am 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
FT232, USB to RS232. SMT pain in the Intel, though....

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Feb 16, 2006 9:52 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
Nightmaretony wrote:
FT232, USB to RS232. SMT pain in the Intel, though....


FT245 -- parallel FIFO interface, much faster. Otherwise compatible with the FT232.


Top
 Profile  
Reply with quote  
 Post subject: Re: USB
PostPosted: Tue Feb 21, 2006 6:14 pm 
Offline

Joined: Wed May 21, 2003 1:08 pm
Posts: 27
Location: Germany
Ric wrote:
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Feb 24, 2006 4:25 pm 
Offline

Joined: Wed Feb 26, 2003 2:54 pm
Posts: 20
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

_________________
replica 1 the Apple 1 clone
http://www.brielcomputers.com


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 25, 2006 1:22 am 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
vbriel wrote:
How can you go wrong.


Well, for starters, you could accidentally discharge more than 2000V of static into the part while installing it.... ;D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Feb 28, 2006 12:21 am 
Offline

Joined: Wed Feb 26, 2003 2:54 pm
Posts: 20
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

_________________
replica 1 the Apple 1 clone
http://www.brielcomputers.com


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 22, 2011 10:19 am 
Offline

Joined: Tue Jul 05, 2005 7:08 pm
Posts: 993
Location: near Heidelberg, Germany
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é


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 22, 2011 5:26 pm 
Offline

Joined: Fri Jun 27, 2003 8:12 am
Posts: 618
Location: Meadowbrook
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....

_________________
"My biggest dream in life? Building black plywood Habitrails"


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: