Intel 80L188EC, 80L186EB, 80L186EC, 80C186EB, 80C188EB, 80L188EB, 80C188EC BR bpnumber = codeaddr

Page 56

INTEL 186 EB/EC EVALUATION BOARD USER’S MANUAL

NOTE

Most monitor programs similar to iECM-86 display a message on the console when a break occurs (e.g., “Program break at 1234H”). This is not done in iECM-86 because the system supports concurrent interrogation of the target on which the user's code is running; it is possible that the break will occur while you are in the middle of displaying or modifying the state of the target. Any special break message would have to interrupt the execution of the command. Because of this, the iECM-86 does not output a special break message. You have two ways to find out that a break occurred:

The prompt changes from a greater-than sign (>) to an asterisk (*).

The status of the processor shown in the “control panel” at the top of the console screen changes from “running” to “stopped.”

Commands which set the breakpoint array are:

BR

BR [ bp_number ]

BR [ bp_number ] = code_addr

The square brackets in the latter two commands are part of the command syntax and must be entered by the user; the angle brackets are part of the “meta” language used to describe the syntax. Breakpoints can be displayed while your code is running, but they cannot be modified.

NOTE

BR[0] and BR[1] can also be set by the GO command by using the TILL clause; all breakpoints are cleared by the GO command if the FOREVER clause is used.

BR

This command displays all of the active breakpoints (i.e., those not

 

set to zero). You are also informed if no breakpoints are active.

BR [ bp_number]

This command displays the setting of the selected breakpoint and

 

waits for input from you. If you enter a carriage return, the command

 

terminates. If you enter an ESC, the next sequential breakpoint is

 

displayed. If you enter a numeric value, the selected breakpoint is

 

loaded with the value and the iECM-86 again waits for input. At this

 

point, you can enter either a carriage return or an ESC. As before, the

 

ESC causes the iECM-86 to display the next breakpoint and the

 

carriage return terminates the command. This command wraps

 

around from the last breakpoint (15t) to the first breakpoint (0).

BR [bp_number] = code_addr

This command sets the specific breakpoint specified

 

 

by bp_number to the value code_addr.

5-6

 

 

 

 

 

 

 

 

 

 

 

 

 

Image 56
Contents Intel 186 EB/EC Evaluation Board User’s Manual Copyright Intel Corporation Contents Contents Chapter Introduction to the Software Rism Commands Irism VariablesRism Structure TrapisrFigures About This Manual Page Content Overview Chapter About this ManualNotation Conventions ItalicsRelated Documents Document Name Intel Order #World Wide Web FaxBack ServiceElectronic Support Systems Technical Support Customer Support Telephone NumbersPage Getting Started Page Getting Started Intel 186 EC Evaluation Board Layout System Requirements WHAT’S in Your KITIntel 186 EB/EC Evaluation Board USER’S Manual ECM86 Page Hardware Overview Page Jumper Summary LA19/WRT ProtMicroprocessor PackagingMemory Configuration SramF000FFFF LCD I/OPhysical Memory Map Flash Program Memory Jumper Assembly for Flash Downloading Sram Static Memory Programmable LogicPower Supply E1 JumperSerial Interface InitP2 Serial Channel CTSPin to 9-Pin Adaptor EC Peripheral Expansion Connector JP2 40 pin Expansion InterfaceEB Peripheral Expansion Connector JP2 24 pin CPU Bus Expansion EB and EC LCD Interface LCD Interface DemoPage Introduction to Software Page Software Features Introduction to the SoftwareRestrictions Embedded Controller Monitor ECMUser Interface COM2, -COM1 DiagPOLL, -SIGNAL Reset SYSTEM, RES SYSTEM, RESET, RES6 DOS QuitRelated Information Reserved FunctionsReserved Memory Reserved I/OIECM-86 Commands Page Entering Commands File Operations Loading and Saving Object Code Other File Operations Include filenameList filename LOG filenameBreakpoints Resetting the TargetProgram Control BR bpnumber BR bpnumber = codeaddrProgram Execution GO ForeverGO from codeaddr Till codeaddr GO from codeaddr Till codeaddr or codeaddrGO Till codeaddr or codeaddr Program SteppingStep Sstep Displaying and Modifying Program Variables Supported Data TypesByte byteaddress to byteaddress Byte CommandsByte byteaddress = bytevalue Word Commands Byte byteaddress to byteaddress = bytevalueWord wordaddress = wordvalue Word wordaddress to wordaddressDword Commands Word wordaddress to wordaddress = wordvalueDword dwordaddress Dword dwordaddress = dwordvalueStack Commands Dword dwordaddress to dwordaddress = dwordvalueStack stackaddress Stack stackaddress to stackaddressString Commands Port CommandsString byteaddress Port portaddress = bytevalueWport wportaddress Wport CommandsPort portaddress to portaddress = bytevalue Wport wportaddress = wordvalue Wport wportaddress to wportaddressWport wportaddress to wportaddress = wordvalue Processor VariablesPC =codeaddress IRISM-186 Commands Page IRISM Variables Other VariablesRism Commands Rism StructureReceiving Data from the Host Sending Data to the HostSetdataflag Code 00H Transmit Code 02HReadbyte Code 04H Readword Code 05HWritedouble Code 09H Loadaddress Code 0AHReadpc Code 10H Writepc Code 11HTrapisr Reportstatus Code 14HMonitorescape Code 15H Readbport Code 16HWritewport Code 19H Step Code 1AHReadreg Code 1BH Writereg Code 1CHStart Up Commands / or \ Page Parts List Page PIN PWR Conn CN2PMLX PIN Header JUMP3PIN Header JUMP4 Reset PIN SIP SKT SIP14JP1 30 Header HDR2X30XU9 SOP44Intel SO20W20 Header HDR2X20 PNP Transistor SOT23 SMT PNP MMBT2907ALT1 Intel # PA28F400BVTable A-2 EC Board Manual Parts List Sheet 3 Index Index-2