USB

For discussing the 65xx hardware itself or electronics projects.
bound
Posts: 59
Joined: 24 May 2004

Post by bound »

Hi .

Atmega8 @ 12 mhz will do the job.

http://makecircuits.com/blog/2009-03-23 ... mega8.html

cheers
Dimitri
Posts: 142
Joined: 08 Mar 2010
Contact:

Post by Dimitri »

The Arduino Uno went from a FTDI chip to the Atmega8 to bridge the USB to UART connection.

The code is available here if you wish to work with that as a basis.

https://github.com/arduino/Arduino/tree ... firmwares/

Dimitri
fachat
Posts: 1124
Joined: 05 Jul 2005
Location: near Heidelberg, Germany
Contact:

Post by fachat »

What is the point in using a 6502 then if you already have a 12MHz Atmega sitting on your board? I'd guess that runs circles around a 1MHz 6502... And it would take away all the fun of it ;-)

But seriously, with my stack you're free to implement not only the serial protocol, but anything you like. What is still missing, but what I'm planning is on SCSI-over-USB support - that's the protocol that nearly all USB memory sticks or USB-attached harddisks talk...

And you can play the device for a host, or you can host other devices.
Now who needs an Atmega...? ;-)

André
Dimitri
Posts: 142
Joined: 08 Mar 2010
Contact:

Post by Dimitri »

André,

But if you replace it with a AVR how else are you going to play with your favorite video games you grew up with on the C64 or Apple 2?

Dimitri
cas
Posts: 27
Joined: 21 May 2003
Location: Germany
Contact:

Post by cas »

fachat wrote:

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).
Hi Andre,

this is great news. Thanks for making the code available.

You've got HUBs working, a task that I always postponed. I will have a look at your code and see if I can backport it to the Atari800.

-- Carsten
fachat
Posts: 1124
Joined: 05 Jul 2005
Location: near Heidelberg, Germany
Contact:

Post by fachat »

cas wrote:
You've got HUBs working, a task that I always postponed. I will have a look at your code and see if I can backport it to the Atari800.
Yeah, I had to :-) My only USB keyboard I could spare as test device is a Lenovo keyboard, with built-in trackpoint and touchpad ... both plus two external USB connectors at the back attached to an internal hub in that keyboard...

André
Post Reply