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
ATCA1200module.ThefunctionusesthePICMG“FRUControl”command,whichwill
performacoldresetandcausetheentireATCA1200moduletoreset.
Thefollowingdescribeshpiapp:
•Precompiledbinaryisincludedinthemodulesoftwareimagefortheconvenienceof
developersandprovidesmenusforexecutingallHPIAPIcallsdefinedintheHPI
specification.
•Sourcecodeisprovidedinatarformatthatyoucandecompress.UsethestandardGNU
autoconfigureandautomakeprocessestobuild it.
•CanberuneitherremotelyorlocallyandlinkswiththeHPIclientlibrary(HCL)tointerface
withtheHPIserverrunningwiththeShelfManager.
AREADMEfileprovidedwithhpiappintheHCLsourcepackageexplainsindetailthebuild
procedureandhowtoruniteitherlocallyorremotely.Thehpiappsourceprovidesan
exampleofhowtocallmostHPIfunctions.