
USBController
forAMIGA

SUBWAY
Legalnotes
•
Informationinthismanualhasbeenassembledandcheckedwithallpossibleaccurency.Anyhow,we
cannotbemaderesponsibleforerrorsormissingparts.
•
Wecannotbemaderesponsiblefordamageswhicharecausedbyusinganyinformationgiveninthis
manual.
•
Technicalspecificationofhardwareand/orsoftwaremaybechangedbyE3BandChrisHodges
withoutfurthernotification.
•
Thismanualmaynotbecopiedorreproducedinanywayandbyanymeans,includingopticaland
electronicalproceedingswithoutpriorwrittenpermissionofE3B.Thisalsoappliestotranslationsinto
otherlanguages.
•
E3BandChrisHodgescannotbemaderesponsiblefordamagesduetoerronousorlostdatacaused
bymisfunctionorwrongapplicationofthe/and/orthesoftwarePoseidonincludedin
thispackage.
•
Damagescausedbymisalignedpluggingandstaticdischargesattheexpansionmoduleand/orthe
computeritwasinstalledareexplicitlynotcoveredbyguarantee.
HIGHWAY
SUBWAY
>10
>75
>23
>10
/CS
/WR
A
D
validaddress
validdata
timeunit[ns]
[Fig.8]Writeaccesstimingfor.SUBWAY
Theislocatedonmemoryaddresses-
SUBWAY
0xd800000xd8ffff
wheninstalledinanAmiga1200.Thewholeclockportaddressspace
isneeded;itisnotpossibletouseadditionalclockportcardstogether
withthe.
SUBWAY
Memoryregionsforthirdpartyproductsshouldbeavailablefromthe
correspondingmanufacturer.
A.3.2Registerdefinition
Informationonregistermappingoftheisavailablefor
interestedprogrammersonrequest.Wewillsupportanyeffortslike
driverdevelopmentforNetBSDorLinux.
SUBWAY
Trademarks
•
•
,andaretrademarksofE3B.
HIGHWAY
Namesandproductsusedinthismanualmayberegisteredtrademarksorproductsofthe
correspondingcompany,eveniftheyareusedinthismanualwithoutfurthernoctice.
SUBWAY NORWAY
Contact
•
Hardware:MichaelBöhmer,Fa.E3B|Riemerfeldring5|85748Garching|mboehmer@e3b.de
•
Software:ChrisHodges|Kennedystr.8|82178Puchheim|chrisly@platon42.de
Version1.04-October2002
© 2001.2002E3B
17

SUBWAY
SUBWAY
A.1.3.JTAGinterface
TheJTAGinterfaceonthebottomsideoftheisintendedfor
SUBWAY
businterfacelogicupgrades.
Upgradesareonlyavailablebyauthorizedsupport.
Thisconnectorisnotintendedforusebycustomers.
WARNING:
Yourcanberenderedunusablebydoingso.
SUBWAY
Donotconnectanycabletothisport!
Youhavebeenwarned.
A.2.Clockporttiming
AsmodernICsareusedontheitispossibletoaccessthe
hardwarewaysfasterthantheoriginalclockportintheAmga1200can.
Ifthetimingsrequiredbythearekeptbythirdpartyclockports
youwillbenefitfromthisadvantage.
Pleaseconsultyourthirdpartyboardmanufacturerifhisproductis
compatiblewiththeserequirements.
SUBWAY
SUBWAY
A.3.Programminginformation
A.3.1Memorymap
>75
>10
/CS
/RD
A
D
[Fig.7]Readaccesstimingfor.SUBWAY
validaddress
data
<73
>10
>1
<21
>23
timeunit[ns]
Contents
1.Unpacking.........................................................................3
2.Specifications....................................................................3
3.BasicinformationontheUSB...........................................4
3.1.Generalhints................................................................4
3.2.Powerconsumption......................................................5
3.3.Connectors...................................................................6
4.Hardwareinstallation..........................................................7
4.1.InstallationintheAmiga1200......................................7
4.1.1.Safetyrecommandations.........................................7
4.1.2.Neededmaterial.......................................................7
4.1.3.Installinghubports...................................................8
4.1.4.Connectingtheclockport..........................................8
4.2.Installationonthirdpartycards..................................12
5.Setupandfirsttests........................................................13
5.1.Afirsttest....................................................................13
5.2.Troubleshooting:theclockport...................................13
5.3.Troubleshooting:USBports.......................................13
A.1.Connectorpinouts........................................................14
A.1.1.Clockport.................................................................14
A.1.2.Hubports................................................................14
A.1.3.JTAGinterface........................................................16
A.2.Timinginformation.......................................................16
A.3.Programminginformation............................................16
A.3.1.Memorymap...........................................................16
A.3.2.Registerdefinition...................................................17
16
1

SUBWAY
SUBWAY
Thanksforchoosingourmodule!SUBWAY
Byacquiringtheyouhavecoosenahighqualityproduct.
SUBWAY
Amiga.DependingondriveravailabilityyoucanusestandardUSB
devicesfromthePCmarketonyourAmiga.
YourpackagecontainsPoseidon-averypowerfulUSBstack.Asa
SoftwareDeveloperKit(SDK)isavailable(containingallinformation
neededonhowtoprogramUSBdrivers)youcanexpectsoftware
developmentalsofromthirdpartycompanies.
Thisdocumentationisintendedtoguideyouthroughtheinstallation
processofthemodule.Moreoveritcontainsbasicinformation
onoperationofUSBdevices.
Pleasereadthisdocumentationcarefullytryingtoinstall
softwareorhardwareonyourown.Youwillavoidproblems-andina
worstcasescenario-hardwaredamagetoyourAmigaand/oryour
newmodule.
TheAmigaGuidefile"ReadMe"enclosedonthediskinyour
packagecontainslastminuteinformationwhichcouldn'tbeaddedin
thisprinteddocumentation.
allowsyoutoconnectmanyUSBperipherialdevicestoyour
SUBWAY
SUBWAY
SUBWAY
BEFORE
SUBWAY
ThecolorcodeofUSBwiresisgivenbytheUSBspecificationandis
definedasfollows:
red............Vcc
white..........DataMinus
green..........DataPlus
black..........GND
(black).........Shielding
USBmotherboardcableswitha10pinconnector(oftenfoundin
computerstores)areusuallycompatiblewiththe!not SUBWAY
Port •
Port ‚
[Abb.6]PinoutdesHub-Steckers(VorderansichtStecker)
Port ƒ
Port „
Pleasecheckthisfileforlatestinformationbefore
startinginstallation!
Mostrecentinformationaswellassoftwareupdatescanbefoundon
ourwebsite:
http://www.e3b.de/usb/
2
15

SUBWAY
SUBWAY
AppendixA
A.1.Connectorpinout
A.1.1.Clockport
TheusesthestandardAmiga1200pinoutfortheclockport.
SUBWAY
Signalsareconnected1:1overtheflatribboncable.
Usinglongercablesinsteadtheoriginalonecanleadtodata
transmissionproblems.
Theinterruptline/INT6usedbyisdrivenbyanopencollector
driver.Ifconnectedtoathirdpartyboardapullupresistorshouldbe
presentonthisline(valueshouldnotbesmallerthan470).
[Fig.5]Pinoutofclockportconnectorof.(frontsideview)SUBWAY
A.1.2.Hubports
ThefourUSBportsofthearecontactedbycablescontaining
fivewireseach.Thesecablesusuallyarestandardized.Ifyouwantto
usecablesfromadifferentmanufacturerpleasecheckcarefullyif
thesecablesare100%compatiblewiththe.
Eachhubporthasfivepinswhichareconnectedtooneadaptorcable.
Thetwoblackwiresaretobeconnectedtoand(
correspondstothenumberofport).
SUBWAY
Ω
SUBWAY
SUBWAY
SHIELDnGNDnn
1.Unpacking
Yourpackageshouldcontainthefollowingitems:
SUBWAY
onemodule(clockportversion)
1
1
1
1
1
1
Pleasecheckyourpackageafterunpackingformissingparts!
Missingpartsshouldimmediatelybereportedtoyourdealer.
Pleasefillouttheregistrationcardcompletelyandreturnittous.
Supportandsoftwareupdateswillbeavailableforregistered
customersonly.
Moreover,youhelpusmakingourproductsbetter.
2.Specificationof
!
!
!
!
!
!
!
!
SUBWAY
oneflatribboncable(22wireversion)
twoholdingplateswithtwoUSBadaptercableseach
onediskwithPoseidonUSBsoftware
thismanual
oneregistrationcard
SUBWAY
SUBWAY
USBcontrolerforAmiga1200clockport
integratedroothubwithfourports
compatiblewithUSB1.1and2.0devices(highspeedmode)
allportsareprotectedagainstovercurrentandshortcircuit
powersaving3.3Vtechnology
integratedpowermanagmentonport-by-portbasis
fullyisolatedforeasymounting
fastclockporttimingsupported
no
14
3

SUBWAY
SUBWAY
3.BasicinformationontheUSB
TheUSB(UniversalSerialBus)hasbeendesignedbyseverallarge
companiestostandardizeconnectionofperipherialdevicesto
computers.USBallowsdataratesof1.5Mbits/s(lowspeed)and
12Mbits/s(fullspeed)initsrevision1.1.Nextgenerationdevices
designedaccordingtotheUSBspecification2.0allowarateof
480Mbits/sinaddition.Uptonowonlyfewdeviceswithhighspeed
supportareavailable.
YourcardconnectstoUSBdeviceswhicharecompatiblewith
SUBWAY
USBspecification1.1and2.0;anyhowhighspeedmodeis
supported.
TheUSBhasabusstructurethatisorganisedlikeatree:eachport
allowsconnectingonlyonedeviceatatime.Moreportscanbeadded
byhubs.Devicescanbeconnectedanddisconnectedwhilepower-on
(hotplugging).DevicesconnectedtotheUSBcanbebuspowered
(powerisdrawnfromUSBhost,upto500mA)orselfpowered(own
powersupply).
Yourhasalreadyanintegratedhubwithfourports:youcan
SUBWAY
startwithuptofourdeviceswithoutspendingextramoneyonhub
hardware!
not
5.Setupandfirststeps
DonotconnectanyUSBdeviceforthefirsttest.Afteryouhave
completedthehardwareinstallationandclosedyourAmiga'shousing
youcanswitchonyourcomputer.
ShouldyourecognizeanyunusualbehaviourofyourAmiga,please
switchitoffimmediately.Pleaseconsultchapter5.2.and5.3.for
troubleshootinginstructions.
5.1.Afirsttest
Pleasereadthesoftwaremanualenclosedonthediskinyourpackage
andinstalltheUSBstackaccordingtotheAmigaGuidefile.
5.2.Troubleshootingtheclockport
Shouldproblemsoccurduringthefirsttest,pleasecarefullycheckif:
hastheclockportcablebeenmountedtherightway?
1
1
arethereanypinsleftopenatthemotherboardconnector?
arethereanypinsleftopenontheconnector?
1
hastheisolationbeendamaged?
1
1
haveanycablesbeendamagedorremovedduringinstallation?
Pleasecheckthecablingaccordingtofigure2onpage6.
SUBWAY
SUBWAY
SUBWAY
3.1.Generalhints
YourhasbeendesignedfortheinternalclockportoftheAmiga
SUBWAY
1200.Thewholemoduleisisolatedbyplasticwrapping.Donot
removethisisolation!Thedoesnotcontainanyuser
configurablejumpers.
Removingtheisolationvoidstheguarantee!
SUBWAY
4
5.3.TroubleshootingtheUSB
ForfurtherdiagnosisyoushouldalsodisconnecttheUSBadaptor
cablesfromthe.
Ifyoudon'tsuceedingettingtheworkingpleasecontactthe
supportteam.
SUBWAY
SUBWAY
13

SUBWAY
4.2.Installationonthirdpartycards
Yourcanoperateonsomethirdpartycards,ifcertain
requirementsarefulfilled(seealsothecompatibilitylistonourweb
site):
Carefullychecktheserequirementsbeforeconnectingyour.
Thethirdparty'smanualshouldcontaintheneededinformation;in
caseofdoubtspleaseconsultthemanufacturerdirectly.
Thirdpartycardswillalsodifferintheclockportorientation.Please
carefullychecktherightorientationbeforeinstallation;your
and/oryourAmigacanbedestroyediftheexpansionmoduleis
mountedthewrongway.
SUBWAY
Damagescausedbyincorrectlyfittedboardsontheand/or
>
Thethirdpartyclockportiselectricallycompatiblewiththeoriginal
oneimplementedintheAmiga1200.
Thethirdpartyboardisabletodeliverthemaximumcurrentofup
>
to2Ampere(seealsohintsonpage5).
>
Thetimingofthethirdpartyboardiscompatibletotheoneinthe
Amiga1200andisnotviolatingthevaluesspecifiedinthe
appendixofthismanual.
>
Thethirdpartyboardissupportedbytheenclosedsoftware
(checkalsoourwebsiteon)
http://www.e3b.de/usb/
SUBWAY
SUBWAY
yourAmigaarenotcoveredbyguarantee.Referforpage7fordetailed
installationguide.
3.2.Powerconsumption
Onewithfourdevicesconnectedtoherportscancosumeupto
2Ampereofcurrent.EspeciallyfullyequippedAmigas(harddisks,
turbocards)cangetunstableinthiscondition.
Pleasecheckcarefullyifyourpowersupplyisabletodeliverthepower
neededbyexternaldevicesbeforeconnectingUSBdevicestoyour
SUBWAY.
Especiallymodernturbo-andgraphiccardsandfastharddisksmay
usealmostallpowerresourcesdeliveredbyCommodoreorAmiga
originalpowersupplies.
WedonotrecommendoperationofpowerhungryUSBdevices
directlyonthe.Theclockporthasnotbeendesignedforhigh
currentdevices.
SUBWAY
SUBWAY
Becareful:themaynotbeconnectedto
theclockportthewrongway!
SUBWAY
SUBWAY
SUBWAY
Installationisdonethesamewayasdescribedbefore.Mindthecable
orientationsasgiveninfigure2.
Wheninstallingtheintoatowercasepleasetakespecialacre
ofthecableconnections:theymightloosecontactifmechanicalstress
isapplied,leadingtounreliableoperation(hint:youmaymountthe
SUBWAY
withself-adhesivebelt).
SUBWAY
12
Possiblesolutions:
Ifpossible,useyourUSBdevices"selfpowered"withtheir
1
ownpowersupplyattached.
1
Useanexternalhubwithownpowersupply("selfpowered").
ReplacetheoriginalpowersupplyofyourAmiga1200witha
1
compatibleonefeaturinghigherpower.
1
OperateyourAmiga1200inatowerhousingwithabigger
powersupply.
5

SUBWAY
3.3.connectorsSUBWAY
Thehastwoconnectors:theclockport(22pinheader,small
SUBWAY
pitch)andthehubports(20pinheader).
Pleasehavealookonfigure1;allconnectorpositionsandPCB
markingscanbefoundthereforreferenceissues.
QU
JTAG
CAP
USB
CTRL
CAP
CAP
BUS
CTRL
VR
[Fig.1]Connectorsonthe.(topsideview)SUBWAY
SUBWAY
1
Don'tremountthemetalplateovertheclockportarea.Youmight
severlydamagetheflatribboncable,renderingyour
unusable.
Remountyourkeyboardtotheplastichooksinthebottompartof
1
thecaseandreconnectthecabletothemotherboard(ifremoved).
Remounttheupperpartofcasebacktoitsplaceandclosethe
1
casebyinsertingthefivescrewsontheirplaceonthebottomside
oftheplasticcase.
Aftercasereassemblytheisreadyforoperation.Please
SUBWAY
followthestepsinchapter5,"Setupandfirststeps".
SUBWAY
Whileinstallingthe,fivecableshavetoconnectedtothe
SUBWAY
module.Figure2illustratestheconnectionstobemade.Pleaseuse
thisfigureasreference,ifanydoubtsariseduringinstallation.
Pin1
redwire
[Fig.2]Cableconnectionscheme(topsideview)
Arrow
PCBtop
Rectangle
PCBbottom
Rectangle
PCBbottom
ƒ
•
black
wires
„
‚
Connectorpinoutdetailsaregivenintheappendixofthismanual
(page14).
6
11

SUBWAY
SUBWAY
FurtherstepsdependontheconnectormountedonP9B
(dependingonrevisionandmanufacturer).
# noconnector
thisconnector.
onlyleftpart
#
contactyourdealerforupgradingthisconnector.
completeconnector
#
aligntheflatribboncabletotheright.
onlyrightpart
#
thisshouldbethecasewithmostAmiga1200.
Alignyourflatribboncablesothattheredwireisfacingleft
1
(directingtotheharddisk)andtheattachedfemaleconnector
facesdownwardstothemaleconnectorP9Bonthemotherboard.
Mountbothconnectorstogether(consultfigure2forright
orientation).Makesuretheconnectionisfirmlyseated.
OrientateyoursothatSMDcomponentsfaceupwards
1
andtheclockportconnectorisfacingtowardsyou.
Pleasecheck:
>
connectormustbeinlinewiththeredwireoftheflatribbon
cable.
Connecttheflatribboncablewiththeclockportconnector.
1
Checkconnectionaccordingfigure2.
>
InstalltheUSBadaptorcablesinyourcomputercase.
1
ConnecttheUSBadaptorcablestoyourhubport
1
connector.Thetwoblackwiresofthecablesmustbealignedto
therightsideofthe.
Pleasecheck:
>
showthecorrectpositionfortheblackwires.
Checkfigure2forcorrectseatingoftheUSBadaptorcables.
>
1
BeforereassemblingyourAmigacarefullycheckthattheisolating
plasticofyourhasnotbeendamaged(riskof
shortcircuiting).
mounted:contactyourdealerforupgrading
isequipped:
isequipped:
isequipped:
SUBWAY
thesmallsilverarrowlefttotheclockport
SUBWAY
SUBWAY
SUBWAY
thesilverrectanglesonPCBbottomside
SUBWAY
4.Installationofthe SUBWAY
ThehasbeendesignedfortheclockportoftheAmiga1200.
SUBWAY
Installationispossibleonthirdparties'clockportsifcertainstandards
arefollowed.Youwillfindmoreinformationonthisissueonpage12
("Installationonthidpartyclockports")andintheappendixonpage16.
4.1.InstallationofintheAmiga1200SUBWAY
YouwillhavetoopenyourAmiga1200toinstalltheonthe
internalclockport.Youcanalsoaskyourdealertoinstallyour.
4.1.1.Safetyrecommandations
Pleasefollowtheserecommandations
foryourownsafety:
SwitchoffyourAmigabeforeinstallation.
>
RemovethepowersupplyACcable.
>
Disconnectallexternaldevices.
>
>
Avoidstaticcharge.
4.1.2.Listofrequiredmaterial
SUBWAY
1
flatribboncableforclockportconnection
1
twoholdingplateswithtwoUSBadaptorcableseach
1
1
aPhilipsstylescrewdriver
smallpliers
1
Mountingmaterialforhubports
1
expansionmodule
SUBWAY
SUBWAY
10
7

SUBWAY
SUBWAY
4.1.3.Installingthehubports
Fourexternalhubports(twooneachholdingplate)areincludedin
yourpackage.Thereareseveralpossibilitiestogettheseportsoutof
yourAmiga1200,differinginthegradeyourAmigaisalreadyequipped
withadditionalhardware.Wecanthereforegivenogeneralguideon
howtoinstallthehubportsordelivermaterialforthistask.
Themostcommonwayistousetheexpansionportunderthedisk
drive.IfinstallingtheinatowermountedAmiga1200,youcan
usethecounterpartsonthebacksideofyourhousingdirectly.
Pleasefollowtheserecommandationsforselectingamountingplace
forthehubports:
>
Useonlytheincludedclockportflatribboncable.Correct
Operationofthecannotbeguaranteedotherwise.
DonotextendtheUSBadaptorcables.
>
Don'tdamagethecablesonsharpedgesofyourcase.
>
>
Keepcablesoutof"hot"areasofyourcomputer(processors
andtheirheatsinks)
Youwillfindsomepicturesofhubportmountingonourwebsite.
4.1.4.Connectingthetotheclockport
Followthesestepsforhardwareinstallation:
SUBWAY
SUBWAY
SUBWAY
1
RemoveallfivescrewsonthebottomsideofyourAmiga1200
(seefigure3).
1
Removetheupperplasticcasetothebackside.
>
Takecareofthesmallplastichooksatthebacksideofyour
computer!Theytendtobreak.
>
TakecareoftheLEDcablesintheupperpart!
1
Removethekeyboardfromtheplastichooksinthebottompart
andstoreisbehindtheAmiga1200.
Takecarenottodamagetheflatribboncablegoingfromthe
>
mainboardtothekeyboard.Youcanalsoremovethiscable
bycarefullyopeningtheconnectoronthemainboard.
1
Nexttotherightedgeoftheharddisk(ifinstalled)youwillfinda
metalplate coveringtheclockportareaofthemainboard.
Carefullybendupthetwometaledgesholdingtheplateand
removeit.
DependingonmotherboardrevisiontheconnectorP9Bwillbe
1
equippeddifferently(figure4).
RAM
RAM
HDD
RAM
RAM
CLOCKPORT
[Fig3]BottomsidescrewsonAmiga1200.
Expansionport
1
ROM1
[Fig.4]LocationodAmiga1200clockport(motherboardtopsideview).
8
P9B
9