RCA RMB-167 manual Minimal Monitor

Page 30

9 THE MINIMAL MONITOR

The minimal monitor is placed by the bootstrap loader starting at address 8000h. The monitor responds to two single-letter commands ’D’ and ’G’. The ’D’ command places the monitor in a download mode. Code in the Intel Hex format is expected. Code may be downloaded anywhere in the first 64L segment. The ’G’ (Go) command expects 4 hexadecimal characters. These 4 characters specify an address within the first 64K segment. A jump is performed to this address. If a user program is downloaded (using the ’D’ command), say at address 0C000h, then the GC000 command branches to the user program. In many cases, the user program is the application program or a monitor program, such as RMON167, and hence, the minimal monitor is no longer required. If, however, the user program wishes to return to the minimal monitor, it should branch to address 8000h. Note that the minimal monitor initializes the stack, so either a call or a jump to address 8000h would work.

The minimal monitor is a loop that executes the following flowchart:

-24-

Image 30
Contents USER’S Guide Page Page Warranty Table Of Contents 10.1.1 Hardware READS166 Evaluation Software OverviewParts List System Requirements Software Installation, READS166Software Third Party SoftwareSoftware Initialization Connections, Jumper SettingsSTART-UP Serial NumberBootstrapping Verifying that the Monitor is Loaded A D S C O M M a N D SSoftware Set-up TroubleshootingHardware Set-up PC set-upSerial port PowerOperating Notes Jumper SelectionEprom Memory Options Memory OptionsRAM Memory Options Alternate Memory Map with Eprom in Low MemoryMoving RMON167 to Eprom Eprom CFG1Rstisr Syscon is 89h on the 167 dw 089E6h Dw 0F800h Nop Mov Default GAL Equations GAL Equations1 U1 Equations Alternate GAL Equations U2 Equations1 U1 Equations For Eprom In Low Memory 2 U2 Equations For Eprom In Low Memory Equations Headers and Jumpers JP6 System Header SignalPins Signal System and I / O HeadersJP7 Input/Output Header Signal 166 JP2 JP7JP8 Extra Input/Output Header of the RMB-167 Signal PinsSignal RMB-167 Analog-to-Digital Converter Reference Jumpers Bootstrapping S0RIRDiswdt Einit Mov R1, #0A55Ah Minimal Monitor Download HEX file Port ConfigurationMON167 Monitor HelpPort Data Word MemoryREADS166 Version READS166 V3.00 ConceptsExecutable Projects Archive ProjectsModule Circuit Diagrams