Revision B
5-14
CPU Theory of Operation: Theory of Operation
MAC 5000 resting ECG analysis system
2000657-002
Although there are four of these little fellows in the MAC 5000, each
performing a different function, there is only one firmware image. By
merging the code from each of the four functions into a single ROM
image confusion is reduced. It is impossible to place a processor in the
wrong spot on the board.
Startup Self Identification
As each controller is released from reset, it executes a common
"WhoAmI" routine to determine its identity on the board. Each
controller’s environment is uniquely and easily identified with a few
port pin tests. Once the identity is discovered, the code jumps to the
appropriate entry point in the unified image and microcontroller
assumes the desired personality.
BBus
Three of the four stooges (Moe, Larry and Shemp) communicate with
the StrongARM via BBus connections. BBus is a single wire, half-duplex
serial connection that places minimal hardware requirements on the
microcontroller while yielding respectable bit transfer rates (~50KBps).
A common set of BBus commands allow the StrongARM to access 128
bytes of RAM in each microcontroller. This dual port access allows the
StrongARM to examine and modify internal variables in each controller
while code is executing. This ability is used to allow the unalterable
HC05 code to handle modest changes in hardware, such as changes in
paper drive gearing or battery pack capacity.
Curly
Curly is responsible for configuring the FPGA and loading the first level
bootstrap program into the StrongARM. When Reset is released, Curly
reads the PCB ID code from three port pins and then searches the
SmartMedia card via the XBus data bus for a matching FPGA
configuration image (pages with ID "Xn" where n is the 3-bit PCB ID
code 1-8). Once located, the configuration image is loaded into the
FPGA. Included in the FPGA internal logic is "bus-unpacking" circuitry
that constructs 32-bit wide StrongARM instructions from sequences of
bytes on the X data bus. During the earliest phase of the startup process,
these bytes are read from the SmartMedia card by Curly and then
loaded into the "bus-unpacker". This early bootstrap code is stored in
the SmartMedia card in a special format that Curly understands and
contains a small program that enables the StrongARM to read the
SmartMedia card by itself. Once this first stage bootstrap program is
loaded (SmartMedia ID of "Bn", where n is the PCB ID) the StrongARM
is able to read the SmartMedia card without Curly’s help and Curly
shuts off (effectively disappearing from the circuit) until the next system
startup.
Shemp
Shemp scans the keyboard and queues key presses for the StrongARM.
Key presses are reported both on press and release, allowing system
software to implement auto-repeat as well as the continuous operation
of treadmill control keys (up/down, faster/slower). A special key code
indicates when all keys are up as a safeguard against stuck keys in the
application software.
Summary of Contents for MAC 5000
Page 1: ...MAC 5000 resting ECG analysis system field service manual PN 2000657 002 Revision A...
Page 2: ...T 2...
Page 3: ...field service manual PN 2000657 002 Revision B MAC 5000 resting ECG analysis system...
Page 12: ...Revision B 1 2 MAC 5000 resting ECG analysis system 2000657 002...
Page 20: ...Revision B 2 2 MAC 5000 resting ECG analysis system 2000657 002...
Page 68: ...Revision B 5 2 MAC 5000 resting ECG analysis system 2000657 002...
Page 88: ...Revision B 6 2 MAC 5000 resting ECG analysis system 2000657 002...
Page 114: ...Revision B 7 2 MAC 5000 ECG analysis system 2000657 002...
Page 123: ...Revision B 7 11 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 125: ...Revision B 7 13 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 127: ...Revision B 7 15 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 129: ...Revision B 7 17 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 131: ...Revision B 7 19 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 133: ...Revision B 7 21 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 135: ...Revision B 7 23 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 137: ...Revision B 7 25 PCB Assemblies SD801212 003A CPU MAC 5000 ECG analysis system 2000657 002...
Page 142: ...Revision B 7 30 PCB Assemblies SD801222 001A LED MAC 5000 ECG analysis system 2000657 002...
Page 146: ...Revision B A 2 MAC 5000 resting ECG analysis system 2000657 002...
Page 152: ...Revision B A 8 MAC 5000 resting ECG analysis system 2000657 002...
Page 154: ...Revision B B 2 MAC 5000 resting ECG analysis system 2000657 002...