NEW USB Host Controller via ACSI

Troubles with your machine? Just want to speak about the latest improvements? This is the place!

Moderators: Mug UK, Zorro 2, Greenious, spiny, Moderator Team

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Aug 01, 2013 5:50 am

O.k. Not as much time as I'd hoped writing the ethernet driver, but it's coming along.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
delvis
Captain Atari
Captain Atari
Posts: 153
Joined: Wed Jul 03, 2013 1:49 pm
Location: Leander, Texas, USA
Contact:

Re: NEW USB Host Controller via ACSI

Postby delvis » Fri Aug 09, 2013 7:46 pm

So this version should connect okay to the Mega ST? If you wanted to put it on the end of a cable would that affect the device?

In other words put a cable on the Atari connection and remote the USB device further away?
Delvis
Atari User since 1982
400 / 800/ 1200XL / 800XL /65XE / 130XE
520ST / 1040ST / MegaST4

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Fri Aug 09, 2013 8:20 pm

As long as USB would allow.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
delvis
Captain Atari
Captain Atari
Posts: 153
Joined: Wed Jul 03, 2013 1:49 pm
Location: Leander, Texas, USA
Contact:

Re: NEW USB Host Controller via ACSI

Postby delvis » Fri Aug 09, 2013 9:07 pm

Any idea when you would have some to sell and how much?
Delvis
Atari User since 1982
400 / 800/ 1200XL / 800XL /65XE / 130XE
520ST / 1040ST / MegaST4

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Fri Aug 09, 2013 9:18 pm

Not for at least a couple of months.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
delvis
Captain Atari
Captain Atari
Posts: 153
Joined: Wed Jul 03, 2013 1:49 pm
Location: Leander, Texas, USA
Contact:

Re: NEW USB Host Controller via ACSI

Postby delvis » Fri Aug 09, 2013 10:20 pm

Make good Christmas gifts. 8)
Delvis
Atari User since 1982
400 / 800/ 1200XL / 800XL /65XE / 130XE
520ST / 1040ST / MegaST4

User avatar
delvis
Captain Atari
Captain Atari
Posts: 153
Joined: Wed Jul 03, 2013 1:49 pm
Location: Leander, Texas, USA
Contact:

Re: NEW USB Host Controller via ACSI

Postby delvis » Tue Dec 31, 2013 4:25 pm

AlanH just wondering if this is being tested anymore or bigger things are out there instead?
Delvis
Atari User since 1982
400 / 800/ 1200XL / 800XL /65XE / 130XE
520ST / 1040ST / MegaST4

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Jan 01, 2014 11:50 pm

Yes, I actually re-started work on this a few days ago. The hardware is complete, and re-started work on the ethernet driver.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Sat Jan 04, 2014 12:57 am

anodyne wrote:Hi Alan,
Nice job, as always! With a USB-ethernet adapter, what kind of ethernet throughput do you anticipate? Currently I get 50-60kB/sec using a SCSI/Link on my TT. It would be nice to up that to say 250kB/sec :-).


Hi Roger,

Thought I'd let you know seeing as you inquired about this.....

I've just got the ethernet driver working over USB now and I'm getting approximately 150kB/sec on my stock TT using the "iperf" benchmark.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
sniperstorm
Captain Atari
Captain Atari
Posts: 470
Joined: Mon Mar 20, 2006 11:58 pm
Location: Cleveland, Ohio

Re: NEW USB Host Controller via ACSI

Postby sniperstorm » Thu Jan 09, 2014 2:07 pm

Has anyone just ever deviced to develop hard and software to use a pc for all this? Like the SIOtoUSB? So can just link the ST to the PC and let the PC work as the hard drives, and internet connection? All this different hard ware for SCSI DS cards, and Eihernet out the the ST, seems we could just make a one stop solution? IE hardware box that has a cable to the COM port, a cable to the SCSI port, and such then a usb connection to a PC as a slave, then we would have easy access to the internet or telnet, and use the PC as our hard drive solution?
SysOp: The St Guild BBS

telnet://stguild-bbs.dyndns.org

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Jan 09, 2014 2:10 pm

USB is that one stop solution.

Once you have a USB port, it's just software to get something to work.

Using USB->Ethernet, which it's nicely working on my setup now, will allow you to run samba and get access to your PC drives from the Atari.

The existing USB Storage driver already gives direct access to USB sticks, hard drives etc.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Mon Jan 13, 2014 4:17 pm

Updated photo.

I'm calling it the "Unicorn-USB" adapter. Because it only has a single USB port. NOTE: The other USB port is just for providing power to the board.

Just committed the driver to the FreeMiNT repository too.

uni.jpg
You do not have the required permissions to view the files attached to this post.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 4774
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: NEW USB Host Controller via ACSI

Postby simonsunnyboy » Mon Jan 13, 2014 4:45 pm

Are you going to sell and manufacture those? Or will Lotharek fill the gap?
I'd be interested depending on the price...
Simon Sunnyboy/Paradize - http://paradize.atari.org/ - STOT: http://www.npoi.de/stot/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

Jabber: simonsunnyboy@atari-jabber.org

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Mon Jan 13, 2014 4:54 pm

I doubt many will want one of these, so I'll probably just produce them.

I suspect price would be about 40 to 50 UKP, but things can vary as we all know with numbers.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
ralcool
Atari Super Hero
Atari Super Hero
Posts: 692
Joined: Sun Mar 07, 2010 10:52 am
Location: Australia

Re: NEW USB Host Controller via ACSI

Postby ralcool » Thu Jan 16, 2014 11:27 am

Alan I cannot even begin to congratulate you on the projects you have delivered.

You have gone above and beyond, I had a face palm moment when you offered dual-IDE on your nice little board. Wicked :twisted:

Now you've re purposed the ACSI port to USB/Ethernet.... and the 8Mb Magnum kit is almost finished too (Exxos's project). What else is on the bucket list?

The PAK 030 et al projekt!...

Some people are just too bloody nice. :lol:

Cheers guys, Doesn't leave many crumbs on the plate to finish!... Remember to fit a Dallas chip folks... Ataris' need a clock too! (Or maybe HD FDD...... :P )

Sean
4160STFM, (Blitter, 4Mb RAM 72pin, 16Mhz OC, IDE, HD FDD, Quad TOS, LaScan, DS1216E Clock, AT-Speed C16, Tom Kirk PS2 mouse, MegaST Keyboard)
What Intel giveth, Microsoft taketh away
Beer is proof that God loves us, and wants us to be happy
Don't let post count or join date fool you as to who is a newbie, and who knows what's what

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Mon Jan 20, 2014 10:02 pm

Just been fiddling with performance. I've boosted ethernet performance from 150kB/s to 190kB/s now, and usb storage has gone from 175kB/s to 250kB/s.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
1st1
Atari Super Hero
Atari Super Hero
Posts: 668
Joined: Mon May 07, 2012 11:48 am

Re: NEW USB Host Controller via ACSI

Postby 1st1 » Wed Jan 22, 2014 9:27 am

This looks very nice! I am definitevly interested. Some questions:
- which USB to Ethernet adapters are supported?
- would it be possible to port your USB support also to back to NetUSbee that it also finally can support for example mass storage device?
- would one also add support for other USB devices, like mice, keyboard
- how many USB devices it can support over USB hub?
- hotplug of USB devices possible?
- wireless lan USB stick support?

:D

Anyhow, consider talking to Lotharek for production, I think there are more peoples interested to have this as you expect.
Power without the Price. It's not a bug. It's a feature. _/|\_ATARI

1040STFM in PC-Tower (PAK68/2, OvrScn, 4 MB, 1GB SCSI, CD-ROM...) * 2x Falcon 030 32GB/14MB+ScrnBlstrIII * 2x TT030 73GB/20MB+Nova * 520/1040STFM * 520/1040STE * 260/520ST/+ * some Mega ST * 2x Mega STE 500MB/4MB+M.CoCo * Stacy * STBook * SLM605 * SLM804 * SLM605 * SMM804 * SH 204/205 * Megafile 30/44/60 * SF314 * SF354 * 5x Pofo * PC3

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Jan 22, 2014 10:51 am

1st1 wrote:This looks very nice! I am definitevly interested. Some questions:
- which USB to Ethernet adapters are supported?
- would it be possible to port your USB support also to back to NetUSbee that it also finally can support for example mass storage device?
- would one also add support for other USB devices, like mice, keyboard
- how many USB devices it can support over USB hub?
- hotplug of USB devices possible?
- wireless lan USB stick support?

:D

Anyhow, consider talking to Lotharek for production, I think there are more peoples interested to have this as you expect.


- Currently I'm using a DUB-E100 Rev B.1. Although the USB driver I'm using supports more variants of the ASIX 88772 device, as well as the 88172. These are listed in the asix source code....

{ 0x05ac, 0x1402, FLAG_TYPE_AX88772 }, /* Apple USB Ethernet Adapter */
{ 0x0b95, 0x772a, FLAG_TYPE_AX88772 }, /* Cables-to-Go USB Ethernet Adapter */
{ 0x0b95, 0x7720, FLAG_TYPE_AX88772 }, /* Trendnet TU2-ET100 V3.0R */
{ 0x0b95, 0x1720, FLAG_TYPE_AX88172 }, /* SMC 2209 - others ?? */
{ 0x0db0, 0xa877, FLAG_TYPE_AX88772 }, /* MSI - ASIX 88772a */
{ 0x13b1, 0x0018, FLAG_TYPE_AX88172 }, /* Linksys 200M v2.1 */
{ 0x1557, 0x7720, FLAG_TYPE_AX88772 }, /* 0Q0 cable ethernet */
{ 0x2001, 0x1a00, FLAG_TYPE_AX88172 }, /* D-Link DUB-E100 */
{ 0x07d1, 0x3c05, FLAG_TYPE_AX88772 }, /* D-Link DUB-E100 H/W Ver B1 */
{ 0x2001, 0x3c05, FLAG_TYPE_AX88772 }, /* D-Link DUB-E100 H/W Ver B1 Alternate */
{ 0x2001, 0x1a02, FLAG_TYPE_AX88772B }, /* D-Link DUB-E100 H/W Ver C1 */

I'm not sure about the 88172 though, that may need some additional tweaks to get working. But shouldn't be hard.

- As for NetUSBee, I don't have one, but the ethernet and mass storage code is independent of the main hardware driver so they should just work if the NetUSBee hardware driver works.
- Keyboard and mice support should be do-able but I've not done it.
- USB can support any number of devices, via hubs, but you need to remember that more means less performance, especially if transferring between multiple devices at once.
- I've been testing hotplug with the Unicorn quite a bit and I've got a few bug fixes to the main stack to push, but hotplug can be problematic especially with in-progress transfers and applications that don't understand hotplug. Say transferring files to a USB stick and you pull it during transfer. Things like this have to have more fixes to detect disappearing devices.
- Wireless LAN requires more code, which pulls in the 802.11a/b/g code. I'm not sure where to pull that from currently, but again do-able, if someone feels the urge.

I'm happy that the Unicorn USB hardware is done and working. If everyone jumped on the software bandwagon and helped write software and fix FreeMiNT/TOS/XaAES to deal with hotplug we'd be in much much much better shape.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Jan 22, 2014 10:57 am

A 3D printed case too 8)

case.JPG
You do not have the required permissions to view the files attached to this post.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
1st1
Atari Super Hero
Atari Super Hero
Posts: 668
Joined: Mon May 07, 2012 11:48 am

Re: NEW USB Host Controller via ACSI

Postby 1st1 » Wed Jan 22, 2014 12:42 pm

Hello, you should replace the USB port which is for power supply only to a B-type to avoid missunderstandings. It also will be easier to get a cable, USB-A to A type connector cable is quite unusual.

Another question:

- Will there be (basic) support for plain TOS ? Don't forget that running MiNT isn't that easy with standard ST, even if it is a 4 MB one...
Power without the Price. It's not a bug. It's a feature. _/|\_ATARI

1040STFM in PC-Tower (PAK68/2, OvrScn, 4 MB, 1GB SCSI, CD-ROM...) * 2x Falcon 030 32GB/14MB+ScrnBlstrIII * 2x TT030 73GB/20MB+Nova * 520/1040STFM * 520/1040STE * 260/520ST/+ * some Mega ST * 2x Mega STE 500MB/4MB+M.CoCo * Stacy * STBook * SLM605 * SLM804 * SLM605 * SMM804 * SH 204/205 * Megafile 30/44/60 * SF314 * SF354 * 5x Pofo * PC3

alanh
Hardware Guru
Hardware Guru
Posts: 1375
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Jan 22, 2014 12:58 pm

I did think of using a mini-B. But buying bulk of the same connector makes sense cost wise, and also Type A to A is very common. I can pick one up on ebay for 99p. It also doesn't matter if you plug the cables in the wrong way, all that will happen is that you'll get no USB traffic on the incorrect port as it isn't wired up for the data lines. So no breakage can occur.

EDIT: I may move the Yellow LED underneath the data port. Currently the red led is underneath the power port. This will make it obvious which port is which.

As for TOS support without MiNT, yes, it's possible, but not currently planned.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

User avatar
1st1
Atari Super Hero
Atari Super Hero
Posts: 668
Joined: Mon May 07, 2012 11:48 am

Re: NEW USB Host Controller via ACSI

Postby 1st1 » Wed Jan 22, 2014 5:40 pm

alanh wrote:As for TOS support without MiNT, yes, it's possible, but not currently planned.


Please... :)
Power without the Price. It's not a bug. It's a feature. _/|\_ATARI

1040STFM in PC-Tower (PAK68/2, OvrScn, 4 MB, 1GB SCSI, CD-ROM...) * 2x Falcon 030 32GB/14MB+ScrnBlstrIII * 2x TT030 73GB/20MB+Nova * 520/1040STFM * 520/1040STE * 260/520ST/+ * some Mega ST * 2x Mega STE 500MB/4MB+M.CoCo * Stacy * STBook * SLM605 * SLM804 * SLM605 * SMM804 * SH 204/205 * Megafile 30/44/60 * SF314 * SF354 * 5x Pofo * PC3

User avatar
TheNameOfTheGame
Atari God
Atari God
Posts: 1023
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: NEW USB Host Controller via ACSI

Postby TheNameOfTheGame » Wed Jan 22, 2014 6:32 pm

Definitely interested. I would also vote for a mini-B power connector.

Good project! This has a lot of potential. :cheers:

jok
Atari freak
Atari freak
Posts: 72
Joined: Wed Dec 19, 2012 3:06 pm

Re: NEW USB Host Controller via ACSI

Postby jok » Wed Jan 22, 2014 7:21 pm

I am also interested in one of these, great project! -- I do not care too much about the power cable thought, but non-Mint drivers would be very nice (as I would also use this on a ST).

User avatar
TheNameOfTheGame
Atari God
Atari God
Posts: 1023
Joined: Mon Jul 23, 2012 8:57 pm
Location: Almost Heaven, West Virginia

Re: NEW USB Host Controller via ACSI

Postby TheNameOfTheGame » Thu Jan 23, 2014 3:42 am

Just a thought, what about adding a pass-though ASCI port on the side? That way we can use our CDROM drives again with ultrasatan :D


Social Media

     

Return to “Hardware”

Who is online

Users browsing this forum: No registered users and 5 guests