Specifications
4
Changing Shelf Settings Using HPI
63
Using the example HPI application (hpiapp)
RadisysprovidesanexampleHPIapplication,hpiapp,thatiscompliantwiththeSAFHPI
Specification.YoucanuseittoperformtasksandasanexamplewhenwritingyourownHPI
applications.
Important:
•Donotcallthehpiappexampleapplicationprogrammatically.Itisanexampleonlyandis
notintendedforuseinhighavailabilityapplications.
•DonotusethesaHPIResourceResetStateSet()functiontoresetAMCsinstalledinan
ATCA‐1200module.ThefunctionusesthePICMG“FRUControl”command,whichwill
performacoldresetandcausetheentireATCA‐1200moduletoreset.
Thefollowingdescribeshpiapp:
•Pre‐compiledbinaryisincludedinthemodulesoftwareimagefortheconvenienceof
developersandprovidesmenusforexecutingallHPIAPIcallsdefinedintheHPI
specification.
•Sourcecodeisprovidedinatarformatthatyoucandecompress.UsethestandardGNU
auto‐configureandauto‐makeprocessestobuild it.
•CanberuneitherremotelyorlocallyandlinkswiththeHPIclientlibrary(HCL)tointerface
withtheHPIserverrunningwiththeShelfManager.
AREADMEfileprovidedwithhpiappintheHCLsourcepackageexplainsindetailthebuild
procedureandhowtoruniteitherlocallyorremotely.Thehpiappsourceprovidesan
exampleofhowtocallmostHPIfunctions.