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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Jan 23, 2014 9:50 am

There is a passthrough ACSI already. Look in the above picture. That's my UltraSatan plugged into the back of it.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Jan 23, 2014 5:31 pm

Just brought up FreeMiNT on my 4MB STE ..... Phew that was a trip......

Anyway, testing the USB ethernet performance, again with "iperf" and I get 42kB/s. Not bad for a plain old 68000 8MHz STE I think.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

NEW USB Host Controller via ACSI

Postby alanh » Sat Feb 15, 2014 5:36 pm

Have some TOS only drivers underway.

This will support mass storage and Ethernet. I'll write a STiNG driver.
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
busybee
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue May 01, 2012 9:45 pm

Re: NEW USB Host Controller via ACSI

Postby busybee » Tue Feb 25, 2014 3:10 am

alanh wrote:Have some TOS only drivers underway.

This will support mass storage and Ethernet. I'll write a STiNG driver.


Alan, I for sure am interested in this....floppies on the windows boxes were phased out a few years ago, so it's hard to move atari files from pc to the atari!

So if you don't mind my asking, what is the price for the controller, and will it work on a Mega STE?

Thanks!

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Tue Feb 25, 2014 9:22 am

Hi busybee,

I'm going to do a small run of about 10 units with the 3D printed case. All parts are ordered, so I just need to solder and test when the bits & bobs are in, and so I think the price will be about 40UK pounds, plus shipping on top. Obviously no ACSI cables are needed, so no extra cost there.

The FreeMiNT mass storage drivers and ethernet are working. But I haven't had much time on the TOS drivers yet.

As for hardware support. It works with all Atari's which have an ACSI port, so that means ST, STE, MegaST, MegaSTE, TT, and the reason I did this is for my Medusa T40 which also has an ACSI port. :-)

Performance varies with the machine as it's the Atari that has the USB stack loaded.
Last edited by alanh on Tue Feb 25, 2014 1:13 pm, edited 1 time in total.
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
busybee
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue May 01, 2012 9:45 pm

Re: NEW USB Host Controller via ACSI

Postby busybee » Tue Feb 25, 2014 1:11 pm

alanh wrote:Hi busybee,

I'm going to do a small run of about 10 units with the 3D printed case. All parts are ordered, so I just need to solder and test when the bits & bobs are in, and so I think the price with be about 40UK pounds, plus shipping on top. Obviously no ACSI cables are needed, so no extra cost there.

The FreeMiNT mass storage drivers and ethernet are working. But I haven't had much time on the TOS drivers yet.

As for hardware support. It works with all Atari's which have an ACSI port, so that means ST, STE, MegaST, MegaSTE, TT, and the reason I did this is for my Medusa T40 which also has an ACSI port. :-)

Performance varies with the machine as it's the Atari that has the USB stack loaded.


Sounds really good Alan....put me down for one! :) Will there be periodic driver updates or anything like that, and if so, will they be downloadable via the net?
Thanks

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Tue Feb 25, 2014 1:12 pm

Yes. All the source code will be available, and most of it already is. The FreeMiNT hardware driver is already in the FreeMiNT repository.
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
busybee
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue May 01, 2012 9:45 pm

Re: NEW USB Host Controller via ACSI

Postby busybee » Tue Feb 25, 2014 5:53 pm

alanh wrote:Yes. All the source code will be available, and most of it already is. The FreeMiNT hardware driver is already in the FreeMiNT repository.


I forgot to ask you how much the shipping would to be to Ashburn, Va. USA.

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Tue Feb 25, 2014 5:54 pm

I think it'd be about 10UKP to 12UKP based on previous experience.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

Dal
Administrator
Administrator
Posts: 4058
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: NEW USB Host Controller via ACSI

Postby Dal » Tue Feb 25, 2014 5:56 pm

Put me down for one please Alan?
TT030: 4MB/16MB + Crazy Dots, Mega"SST" 12, STacy 2, MegaSTE, STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

User avatar
busybee
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue May 01, 2012 9:45 pm

Re: NEW USB Host Controller via ACSI

Postby busybee » Tue Feb 25, 2014 5:58 pm

alanh wrote:I think it'd be about 10UKP to 12UKP based on previous experience.


Okay. So how much time do I have to save up for it? And I guess you'll pm your papypal email to me?

Thanks!

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Tue Feb 25, 2014 6:14 pm

I'll have a brief order page up at

http://www.freemint.org/unicorn/unicorn.html

when it's ready for ordering.

Thanks for the interest.
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
busybee
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 103
Joined: Tue May 01, 2012 9:45 pm

Re: NEW USB Host Controller via ACSI

Postby busybee » Tue Feb 25, 2014 9:22 pm

alanh wrote:I'll have a brief order page up at

http://www.freemint.org/unicorn/unicorn.html

when it's ready for ordering.

Thanks for the interest.


Will be looking forward to the TOS drivers for your controller....don't really care for the thought of running Mint on only 4 megs of memory!! :) :)

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Sun Mar 09, 2014 9:51 am

Hi folks.

I've soldered up a couple of controllers this weekend and been checking prices. Unfortunately, due to the high cost of DB19's these days the device is going to be sold for 50 GBP, plus shipping.

I know even less people will want one because of this, but as I'm using real DB19's it's cost prohibitive. :-(

I'm only offering them to Atari Forum folks at this time who are reading this thread, so if you want one, please PM me and we can sort things out.

Thanks!

unicorn.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by alanh on Fri Mar 14, 2014 2:52 pm, edited 1 time in total.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Mon Mar 10, 2014 9:49 am

One additional thing to note is that if you use HDDRIVER for hard disk functionality like the UltraSatan, or Atari MegaFile etc, then you need HDDRIVER 9.x to use this, or other HD software that honours FLOCK. I think CBHD does too.

HDDRIVER 8.x and below don't correctly use FLOCK for arbitration to the DMA port.

You basically tell HDDRIVER to ignore the ACSI ID that the USB controller is on.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Fri Mar 14, 2014 2:33 pm

For those that have bought one, I've put up a brief reference page at..

http://www.freemint.org/unicorn/ref.html

Thanks.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Mar 19, 2014 9:42 pm

Ethernet driver for the ASIX chipsets has just hit the FreeMiNT source repository. The binaries will be compiled up in tonights build and available tomorrow in the trunk archive.

The driver is called ASIX.XIF. I've been using a DLINK DUB-E100 Rev B1 device.

You'll need the ETH.UDD driver installed into the USB directory along with the normal STORAGE.UDD for mass storage devices, as well as the normal UNICORN.UCD and USBXXX.KM.

Ensure you get a new INET4.XIF as well.

If all goes well, you should get an ethernet device called 'asx0' to configure with the normal ifconfig/route commands.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Sat Mar 22, 2014 5:31 pm

4 left in this first batch.... I'd need another 10 orders to do another run, so if you want one, best get it asap :-)
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Mar 26, 2014 9:17 pm

Just had a report that the DUB-E100 Rev C1 (the black one) works fine with the ASIX driver.
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
umberto1st
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 117
Joined: Tue Mar 24, 2009 12:23 am

Re: NEW USB Host Controller via ACSI

Postby umberto1st » Thu Mar 27, 2014 8:45 am

I definitely want one :o
800, 2) 600XL, 2) 800XL, 1) 1200XL, 2) 130XE, 1) XEGS, 2) 1050,2) 810, 1) 850, 2) 1040 STFM's, 1) 4160 STE, 1) MEGA ST2,1)Mega ST4,1)Mega STE, 1) FALCON CT63+CTPCI+Radeon, 1)FALCON STOCK 14 MEG CF IDE, NEMESIS NOT INSTALLED, 1) 2600, 2)5200, 1) 7800. 5)JAGUAR's, 3) JAGUAR CD UNITS, CATBOX, SKUNKBOARD ECT. Lynx II, Lynx I..

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Mar 27, 2014 1:24 pm

Just to make it clear on this......

The only requirement of Hard Disk Driver software is the use of the FLOCK (floppy lock) variable. HD drivers are meant to check if it's unset before use, then set it, and then use the DMA controller, then unset FLOCK. This makes multi-tasking OS's arbitrate correctly over use of the DMA port.

That's all, there's nothing special in HDDRIVER to use this. Just check with your HD driver software that it correctly sets FLOCK when using the DMA chip.

Like I say, HDDRIVER 9.x correctly sets FLOCK now. I know AHDI 6.x does too, and HUSHI and CECILE. I also think CBHD does, but don't have the source code to double check.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.

Sowden
Atari nerd
Atari nerd
Posts: 49
Joined: Mon Mar 17, 2014 6:15 pm

Re: NEW USB Host Controller via ACSI

Postby Sowden » Thu Mar 27, 2014 7:02 pm

Hey guys. I wanted to see if I was getting this strait. I understand that this only gives me one USB port that I can plug a hub into. But my question is if this device will read a USB mouse. Or if it will read a portable hard drive. If it does, what format does the drive have to be to communicate with a Windows and an ST machine? Thanks.

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

Re: NEW USB Host Controller via ACSI

Postby alanh » Thu Mar 27, 2014 8:34 pm

Yes, it's a single USB port that you can plug a hub into.

It will work with any USB 1.1 device (and USB 2.0 providing they have 1.1 compatibility) providing there's a driver to make it work under FreeMiNT or TOS. Currently there are FreeMiNT drivers for USB mass storage such as USB sticks and I've tested using a 100MB FAT16 partition just fine. There's also a driver for the ASIX ethernet chip which I've successfully tested the DLINK DUB-E100 Rev B1 device, again under FreeMiNT.

There are TOS drivers in the works that will support the same drivers for mass storage and ethernet with STiNG in the future. As to formats, I'm hoping it'll be similar to what HDDRIVER can support for TOS/DOS partition support under pure TOS mode, but we'll see.

As for USB mouse. No driver exists for that at this time, but there's no reason there couldn't be.

Hope that helps understand the state of play today.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Tue Apr 01, 2014 10:27 am

Just a heads up that I've got a USB mouse driver working on TOS now.
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: 1372
Joined: Mon Jul 24, 2006 9:01 pm
Location: North Wales, UK

Re: NEW USB Host Controller via ACSI

Postby alanh » Wed Apr 02, 2014 5:41 pm

Just to give people an idea of the current USB stack size, this is an output from my development Linux box...

The core USB stack is only just over 8kB.
-rwxr-xr-x 1 alanh alanh 8323 Apr 2 18:34 sys/usb/src.km/.compile_prg/usb.prg

The unicorn HW driver is just under 7kB.
-rwxr-xr-x 1 alanh alanh 6866 Apr 2 18:34 sys/usb/src.km/ucd/unicorn/.compile_prg/unicorn.prg

The current mouse USB driver is under 3kB.
-rwxr-xr-x 1 alanh alanh 3050 Apr 2 18:34 sys/usb/src.km/udd/mouse/.compile_prg/mouse.prg

The storage driver (currently not functional), is just under 12kB.
-rwxr-xr-x 1 alanh alanh 12252 Apr 2 18:34 sys/usb/src.km/udd/storage/.compile_prg/storage.prg

Obviously there is some runtime memory use too.
Falcon CT60, Falcon CT63 x2, TT x3, MegaST x2, MegaSTE x2, STFM x2, STE x2, STacy, STBook, (Dead) Hades 060, Milan 060, T40.


Social Media

     

Return to “Hardware”

Who is online

Users browsing this forum: No registered users and 2 guests