TWTPM CPU readouts and status monitoring devices September, 1999 Updated April 4, 2001 for Download-enable devices Dennis J. Nicklaus The TWTPM CPUs provide various readouts to monitor the status of the TWTPM system as a whole. These readings are implemented with database Devices. One can READ the following things from a TWTCPU CPU (diff. channels): Uptime (time since boot) crate temp twtpm card-missing status word. 1 bit for each of the twtpm's attached (32 bits, which is exactly how many twtpms we can attach to one cpu, conveniently enough. If a particular bit is set, it means that particular twtpm has a card missing. This same word is also read-out through the basic status channel, see below. Basic controls Reset of the CPU status device means reset the error statuses and the IP Watchdog Temp. There is also a reset (re-download) on the download device. The on/off controls on the download device enable/disable the reporting of alarms. (The default is ON.) Basic Status reads three different error status words. (implemented by 4 different devices) These error status words are: 1. CPU Summary status, contains: crate voltage & temp monitors, and summary bits for TWTPM cards missing, TWTPM ID mismatch, CPU ID mismatch 2. Cards Missing Status 1 bit for each TWTPM (up to 32) attached to this CPU indicating whether that we've detected cards missing in that TWTPM 3. TWTPM ID Mismatch Status 1 bit for each TWTPM (up to 32) attached to this CPU indicating whether that we've detected cards missing in that TWTPM 4 Database Download status. Here are the devices which implement all this: system CPUstatus CardMissing TWTPM ID mism. TeMperature UPtime dev Download ------ -------- -------- -------- ------- --------- -------- ACC a:twtacp a:twtacm a:twtaid a:twtatm a:twtaup a:twtadn CoreMom a:twtccp a:twtccm a:twtcid a:twtctm a:twtcup a:twtadn Deb d:twtdcp d:twtdcm d:twtdid d:twtdtm d:twtdup d:twtddn Deb2 d:twtecp d:twtecm d:twteid d:twtetm d:twteup d:twtedn Recyclr r:twtrcp r:twtrcm r:twtrid r:twtrtm r:twtrup r:twtrdn Uptime and temperature are pretty straightforward, just readings. For the CPUstatus device a) There is a STATUS property. See the devices for description of the bits. One of the bits is basically all the bits in the card-missing reading word all ORed together. (It means, are any cards missing in any TWTPMs attached to this CPU.) b) There is a CONTROL property that lets you do a reset. c) There is a Digital alarm property, so you can set alarms on the status. But I haven't really defined any alarms. d) there is a READING property, which is the card-missing error word. 1 bit for each of the twtpm's attached But it is more useful to read this out using the Cards missing basic status device. For the "Cards Missing" and the "TWTPM ID Mismatch" basic status devices, I have set the extended text for each bit to contain a name for the TWT attached to "Side A" of the TWTPM that the bit corresponds to. This makes it simple to identify which TWTPM it is that is having a fault.