Amiga Hardware Manuals USB Controller for Amiga a

USBController forAMIGA
Legalnotes
Informationinthismanualhasbeenassembledandcheckedwithallpossibleaccurency.Anyhow,we cannotbemaderesponsibleforerrorsormissingparts.
Technicalspecificationofhardwareand/orsoftwaremaybechangedbyE3BandChrisHodges withoutfurthernotification.
Thismanualmaynotbecopiedorreproducedinanywayandbyanymeans,includingopticaland electronicalproceedingswithoutpriorwrittenpermissionofE3B.Thisalsoappliestotranslationsinto otherlanguages.
E3BandChrisHodgescannotbemaderesponsiblefordamagesduetoerronousorlostdatacaused bymisfunctionorwrongapplicationofthe/and/orthesoftwarePoseidonincludedin
thispackage.
Damagescausedbymisalignedpluggingandstaticdischargesattheexpansionmoduleand/orthe computeritwasinstalledareexplicitlynotcoveredbyguarantee.
HIGHWAY
SUBWAY
HIGHWAY
Notes
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.06-May2002
© 2001,2002E3B
17
HIGHWAY
HIGHWAY
Memoryregionsmarkedwith"reserved"partiallycontainmirrorsof otherregionsandmaynotbeusedforprogramming.
Clockportandexpansionportmemoryregionscanbeusedfor programmingwithoutfurtherdocumentation.Youarenotencouraged toaccessUSBcontrollerorcontrolregisterregionswithoutdeeper knowledgeoftheseparts.Don’tplaywiththingsyoudon’tunderstand.
ASoftwareDeveloperKitisavailableonrequest. PleasecontactusifyouareinterestedinUSBprogramming.
A.3.3Registerdefinition
Informationonregistermappingoftheisavailablefor interestedprogrammersonrequest.Wewillsupportanyeffortslike driverdevelopmentforNetBSDorLinux.
HIGHWAY
Contents
1.Unpacking.........................................................................2
2.Specifications....................................................................2
3.BasicinformationontheUSB...........................................3
3.1.Generalhints..................................................................3
3.2.Powerconsumption......................................................4
3.3.Connectors...................................................................4
4.Hardwareinstallation.........................................................6
4.1.Safetyrecommandations.............................................6
4.2.Neededmaterial...........................................................6
4.3.InstallationinAmiga2000............................................7
4.4.InstallationinAmiga3000/4000.................................7
4.5.InstallationinAmiga3000T/4000T.............................7
4.6.InstallationinAmiga1200Tower..................................8
4.7.Installingthehubports.................................................8
5.Setupandfirsttests..........................................................9
5.1.Afirsttest......................................................................9
5.2.Troubleshooting:Zorrobus..........................................9
5.3.Troubleshooting:USBports........................................9
A.1.Connectorpinouts........................................................10
A.1.1.Hubports................................................................10
A.1.2.Expansionport........................................................11
A.1.3.Clockport.................................................................12
A.1.4.JTAGinterface........................................................12
A.2.Zorrotiming..................................................................13
A.3.Programminginformation............................................14
A.3.1.Autoconfigdata.......................................................14
A.3.2.Memorymap...........................................................16
A.3.2.Registerdefinition...................................................16
16
1
HIGHWAY
HIGHWAY
Thanksforchoosingourcard!HIGHWAY
Byacquiringtheyouhavechosenahighqualityproduct.
HIGHWAY
Amiga.DependingondriveravailabilityyoucanusestandardUSB devicesfromthePCmarketonyourAmiga.
YourpackagecontainsPoseidon-averypowerfulUSBstack.Asa SoftwareDeveloperKit(SDK)isavailable(containingallinformation neededonhowtoprogramUSBdrivers)youcanexpectsoftware developmentalsofromthirdpartycompanies.
Thisdocumentationisintendedtoguideyouthroughtheinstallation processoftheboard.Moreoveritcontainsbasicinformation onoperationofUSBdevices.
Pleasereadthisdocumentationcarefullytryingtoinstall softwareorhardwareonyourown.Youwillavoidproblemsand-ina worstcasescenario-hardwaredamagetoyouAmigaand/oryour
HIGHWAY
newboard.
TheAmigaGuidefile"ReadMe"enclosedonthediskinyour packagecontainslastminuteinformationwhichcouldn'tbeaddedin
thisprinteddocumentation.
allowsyoutoconnectmanyUSBperipherialdevicestoyour
Pleasecheckthisfileforlatestinformationbefore
HIGHWAY
HIGHWAY
BEFORE
HIGHWAY
startinginstallation!
A.3.Programminginformation
A.3.1Autoconfigdata
Theregisterswiththefollowingspecs:
HIGHWAY
-ManufacturerID:0x0861
-ProductId:0xC8
-Adressrange:64kB
-Shutup:supported
-serialnumber:D[31:24]hardwarerevision D[23:16]firmwarerevision D[15:0]serialnumber
SomeZorrocardsdonotsavethebaseaddressassignedtothem duringautoconfigprocesscompletely.Iftoomanycardsgetintothe expansionspaceyoumightencountererrors.Inthiscasethe shouldbeplacedintoaslotbehindthecardcausingthismalfunction.
Usuallythisavoidstheproblemscausedbythemaldesignedcard.
A.3.2Memorymap
HIGHWAY
0x0000-0x1ffeUSBController 0x2000-0x3ffereserved 0x4000-0x401eClockport 0x4020-0x403ereserved 0x4040-0x4040ControlRegister 0x4042-0x7ffereserved 0x8000-0x81feExpansionPort 0x8200-0xfffereserved
memoryspaceisusedasfollows:
HIGHWAY
Mostrecentinformationaswellassoftwareupdatescanbefoundon ourwebsite:
http://www.e3b.de/usb/
2
15
HIGHWAY
HIGHWAY
A.2.Zorrobustiming
ThehasbeendesignedaccordingtotheZorroII specification.Wetriedtogetitworkingwithasmanybusboardsas possible,evenwithnon-Commodorebusboards.
Despitemanytestingeffortswecannotguaranteethefunctionalityof theonthirdpartybusboard,astherearetoomanydifferent revisionsoftheseboardsonthemarket.
Pleaseconsultthemanufacturerofyourbusboardforcompatibility issues.
Alistofalreadytestedbusboardscanbefoundonourwebsite.
HIGHWAY
HIGHWAY
1.Unpacking
HIGHWAY
Yourpackageshouldcontainthefollowingitems:
onecard(Zorroversion)
1 1 1
1 1
Pleasecheckyourpackageafterunpackingformissing parts!Missingpartsshouldimmediatelybereportedtoyourdealer.
Pleasefillouttheregistrationcardcompletelyandreturnittous. Supportandsoftwareupdateswillbeavailableforregistered customersonly. Moreover,youhelpusmakingourproductsbetter.
2.Specificationsof
! ! ! ! ! ! ! !
HIGHWAY
twoholdingplateswithtwoUSBadaptercableseach onediskwithPoseidonUSBsoftware thismanual oneregistrationcard
HIGHWAY
HIGHWAY
USBcontrollerforAmigaZorroIIbus integratedroothubwithfourports compatiblewithUSB1.1and2.0devices(highspeedmode) allportsareprotectedagainstovercurrentandshortcircuit powersaving3.3Vtechnology integratedpowermanagementonport-by-portbasis completeautoconfigurationaccordingtoZorroIIstandard compatiblewithmanyNon-Commodorebusboards
no
14
3
HIGHWAY
HIGHWAY
3.BasicinformationenonUSB
TheUSB(UniversalSerialBus)hasbeendesignedbyseverallarge companiestostandardizeconnectionofperipherialdevicesto computers.USBallowsdataratesof1.5Mbits/s(lowspeed)and 12Mbits/s(fullspeed)initsrevision1.1.Nextgenerationdevices designedaccordingtotheUSBspecification2.0allowarateof 480Mbits/sinaddition.Uptonowonlyfewdeviceswithhighspeed supportareavailable.
HIGHWAY
YourcardconnectstoUSBdeviceswhicharecompatible withUSBspecification1.1and2.0;anyhowhighspeedmodeis
supported. TheUSBhasabusstructurethatisorganisedlikeatree:eachport
allowsconnectingonlyonedeviceatatime.Moreportscanbeadded byhubs.Devicescanbeconnectedanddisconnectedwhilepower-on (hotplugging).DevicesconnectedtotheUSBcanbebuspowered (powerisdrawnfromUSBhost,upto500mA)orselfpowered(own powersupply).
Yourhasalreadyanintegratedhubwithfourports:youcan
HIGHWAY
startwithuptofourdeviceswithoutspendingextramoneyonhub hardware!
not
A.1.3Clockport
Theoffersoneclockportforeasyexpandibility.Timingofthis
HIGHWAY
portisasslowasontheoriginalAmiga1200,butmuchfaster (correspondstoonenormalZorroIIfourclockcycle). Pleasemindthecorrectorientationoftheclockporthardwarewhen connectingamoduletothe!
Refertofigure1onpage6. Pleaseverifythatyourcardiscapableofthefasttimingandifthereis driversupportforthecombinationclockportmoduleand. Foradaptionofdriverspleasecontactthecorrespondingvendorofthe clockportmodule.Instructionsonhowtomodifyadrivermayalsobe givenbythesupportteamiftheabovefails.
not
HIGHWAY
HIGHWAY
[Fig.5]Clockportpinout(connectortopview)
A.1.5JTAGinterface
3.1.Generalhints
YourhasbeendesignedforinternalZorrobussesasfound
HIGHWAY
inAmiga2000,3000,4000and1200towerhousings.Pleasecheck yourcomputersmanualbeforeinstallationoninformationhowtoadd anexpansioncard.
Becareful:thecardmaynotbeinserted
HIGHWAY
intoZorroslotsthewrongway!
4
TheJTAGinterfaceonthelowerleftsideoftheisintendedfor businterfacelogicupgrades.
Upgradesareonlyavailablebyauthorizedsupport. Thisconnectorisnotintendedforusebycustomers.
WARNING:
Yourcanberenderedunusablebydoingso.
HIGHWAY
Donotconnectanycabletothisport!
Youhavebeenwarned.
13
HIGHWAY
HIGHWAY
HIGHWAY
Port
Port
[Fig.3]Hubportconnectorpinout(connectorfrontview)
Port ƒ
Port
A.1.2Expansionport
Thecanconnecttoexpansionmodulesbya38pinexpansion
HIGHWAY
port.Thisportiselectricallycompatibletothevmcisdnblasterifonly the26rightmostpinsareused.
Thisconnectoriscompatibletoindividualcomputersexpansion modules. Timinginformationfordevelopmentofownexpansionmodulesare availableonrequest.
not
Damagescausedbyincorrrectlyfittedboardsontheand/or yourAmigaarenotcoveredbyguarantee.Refertopage7fordetailed
installationguide.
HIGHWAY
3.2.Powerconsumption
Onewithfourdevicesconnectedtoherportscanconsume
HIGHWAY
upto2Ampereofcurrent.EspeciallyfullyequippedAmigas (harddisks,turbocards)cangetunstableinthiscondition. Pleasecheckcarefullyifyourpowersupplyisabletodeliverthepower neededbyexternaldevicesbeforeconnectingUSBdevicestoyour
HIGHWAY
Especiallymodernturbo-andgraphiccardsandfastharddisksmay usealmostallpowerresourcesdeliveredbyCommodoreorAmiga originalpowersupplies. ConnectingadditionalbuspoweredUSBdevicescangetyouoverthe 2AmperepowerlimitoftheZorrospecification!
Possiblesolutions:
1
1
.
Ifpossible,useyourUSBdevices"selfpowered"withtheir ownpowersuppliesattached Useanexternalhubwithownpowersupply("selfpowered"). Buspoweredhubswon’thelpwiththisissue!
[Fig.4]Expansionportpinout(connectortopview)
12
3.3connectors
HIGHWAY
Thehasseveralconnectors:thehubports(20pinheader),
HIGHWAY
oneclockport(22pinheader)andoneexpansionport(38pinheader). Pleasehavealookatfigure1;allconnectorpositionsandPCB
markingscanbefoundthereforreferenceissues.
5
HIGHWAY
HIGHWAY
Whileinstallingthe HIGHWAY board,fourcableshavetobeconnected
totheboard.Figure1illustratestheconnectiontobemade.Please usethisfigureasreference,ifanydoubtsariseduringinstallation.
Expansionport
1
1
JTAG
ZorroConnector
[Fig.1]Connectorsonthe.(topsideview)HIGHWAY
Hubports
ƒ
black wires
Connectorpinoutdetailsaregivenintheappendixofthismanual (page11).
AppendixA A.1.Connectorpinout
A.1.1Hubports
ThefourUSBportsofthearecontactedbycablescontaining fivewireseach.Thesecablesusuallyarestandardized.Incaseyou wanttousecablesfromadifferentmanufacturerpleasecheck carefullyifthesecablesare100%compatiblewiththe. Eachhubporthasfivepinswhichareconnectedtooneadaptorcable. Thetwoblackwiresaretobeconnectedtoand( correspondstothenumberofport).
ThecolorcodeofUSBwiresisgivenbytheUSBspecificationandis definedasfollows:
red............Vcc
white..........DataMinus
green..........DataPlus
black..........GND
(black).........Shielding
USBmotherboardcableswitha10pinconnector(oftenfoundin computerstores)areusuallycompatiblewiththe!
HIGHWAY
HIGHWAY
SHIELDnGNDnn
not Y
HIGHWAY
6
11
HIGHWAY
HIGHWAY
5.Firststeps
DonotconnectanyUSBdeviceforthefirsttest.Afteryouhave completedthehardwareinstallationandclosedyourAmiga’shousing youcanswitchonyourcomputer. ShouldyourecognizeanyunusualbehaviourofyourAmiga,please switchitoffimmediately.Pleaseconsultchapter5.2.and5.3.for troubleshootinginstructions.
5.1.Afirstcheck
Newerkickstartversionscandisplayalistofallfoundexpansion boardsintheearlystartupmenu(keepbothmousebuttonspressed afterreset).Youshouldfindtheentryinthe“ExpansionBoard Diagnostic”menu:
Manufacturer:2145Product:200Status:Working
AfterbootingyourAmigapleaseinstalltheUSBstackusingthe installerskriptinthe"Poseidon"directoryonthediskenclosedinyour package.TheAmigaGuide"Poseidon.guide"(alsoinstalledbythe installer)conatinsallnecessaryinstructionsonthestack.
HIGHWAY
5.2.TroubleshootingtheZorrobus
Shouldproblemsoccurduringthefirsttest,pleasecarefullycheckif:
1
thehasbeeninstalledintherightorientation?
HIGHWAY
1
theisinserted100%intotheslot?
HIGHWAY
anycableshavebeenremovedordamagedduringinstallation?
1
5.3.TroubleshootingtheUSB
4.Installationofthe HIGHWAY
YourboardhasbeendesignedfortheCommodoreZorroII
HIGHWAY
standard.Installationispossibleinthirdpartycompanies'busboardsif theZorrostandardisfollowedbytheseboards.
4.1.Safetyrecommendations
Pleasefollowtheserecommendations
foryourownsafety:
SwitchoffyourAmigabeforeinstallation.
>
RemovethepowersupplyACcable.
>
Disconnectallexternaldevices.
>
Avoidstaticcharge.
>
Followyoucomputermanufacturer’sinstallation
>
guideforexpansioncards.
4.2.Listofrequiredmaterial
HIGHWAY
1
twoholdingplateswithtwoUSBadaptorcableseach
1
Philipsstylescrewdriver
1
(perhaps)isolatingmaterial(thickpaper)
1
expansioncard
ForfurtherdiagnosisyoushouldalsodisconnecttheUSBadapter cablesfromthe. Ifyoudon’tsuceedingettingtheworkingpleasecontactthe supportteam.
HIGHWAY
HIGHWAY
10
7
HIGHWAY
HIGHWAY
4.3.installationintheAmiga2000
HIGHWAY
OpenyourAmiga2000housingbyremovingfivescrewsintotal:two oneachsideandoneatthebackofthehousing.Afterwards,theupper partofthehousingcaneasilyberemoved.
Zorroslotscanbefoundontheleftsideofthemainboard.Insertyour
HIGHWAY
mustbe,facingyourpowersupplyunit! CloseyourcomputerbeforereconnectingtheACpowercable.
4.4.installationinAmiga3000/4000
TheAmiga3000/4000housingisfixedbyseveralscrewsontheback ofthehousing.Afterremovingthesescrewstheupperpartofthe housingcanbetakenoff.Zorroslotsarelocatedonadaughterboard intheleftpartofthecomputer.
InsertyourintoafreeZorroslot.Componentsonthe expansioncardmustbe!
IfyourZorroslothasalreadybeenusedmanytimes,thenthe cardmightnotbefixedproperlytotheslot.Inthiscaseitisagoodidea toelectricallyisolatethecardbyinsertingsomeisolatingstuff(not
burnable!)betweenotherinstalledcards.Thiswillpreventshortcuts. CloseyourcomputerbeforereconnectingtheACpowercable.
intoafreeZorroslot.Componentsontheexpansioncard
ontherightside
HIGHWAY
HIGHWAY
visiblefromtop
HIGHWAY
CloseyourcomputerbeforereconnectingtheACpowercable.
4.6.installationinAmiga1200Towersystems
HIGHWAY
Pleaseconsultyourtowerhousingmanualoninstructionshowtoopen thehousing.
Usuallythecardhastobeinstalledsothatcomponentsonthe expansioncardare.Thehubportconnectorusually istheonthebacksideoftheslots.
CloseyourcomputerbeforereconnectingACpowercable.
HIGHWAY
visiblefromtop
4.7.Installingthehubports
FourexternalUSBconnectors(twooneachholdingplate)are includedinyourpackage.Theseplatesfitperfectlyintothe correspondingcounterpartsonthebacksideofyourcomputer.Should notenoughemptyplatesbeavailable,youcanalsomount onlyone plate,reducingthemaximumnumberofdevicestoconnect(without addinganexternalhub)totwodevices. Aftercompleteremountingofyourcomputer’shousingyoucan continuewithafirsttestandthesoftwareinstallation.Theseissuesare describedinthefollowingchapter.
TheAmiga4000Thasanadditionalslotplateatthebottom,whichis notdirectlyusableforfullsizeZorrocards.Itisrecommendedtouse thelowermostslotsforthehubportplates.
4.5.installationinAmiga3000T/4000T
HIGHWAY
TheAmiga3000T/4000Thousingcanbeopenedafterremoving severalscrewsatthebackside.Zorroslotscanbefoundinthelower partofthecomputeronthemainboard.
InsertyourintoafreeZorroslot.Componentsonthe expansioncardmustbe!
Isolationissues:see4.4above.
HIGHWAY
visiblefromtop
8
9
Loading...