44
Chapter 4. Programming
Typically, the first time you load the CPU driver for the 251 monitor, you must
set the COM port and baud rate. If dScope cannot determine the COM port and
the baud rate automatically, the following dialog box appears informing you that
dScope could not find the target system.
When using the MCB251 evaluation board, the baud rate should be set for
57,600 baud. You must determine which COM port you use.
Next, you should configure the CPU driver to enable serial breaks. To do this,
select the Configuration command from the Peripherals menu. dScope displays
the Configuration dialog box shown below.
Finally, you are ready to load the BLINKY program. To do so, type the
following in the command window.
load blinky
/* this loads the blinky program */
g,main
/* this steps over the startup code */
/* and stops on the first line of main */
Once BLINKY is loaded, the module window displays the BLINKY program as
shown in the following figure.
Set Enable serial
break to let dScope
stop programs
running on the
MCB251.
Summary of Contents for MCB251
Page 6: ...vi Contents...
Page 18: ...12 Chapter 2 Setup...
Page 24: ...18 Chapter 3 Hardware Schematics...
Page 25: ...MCB251 Evaluation Board User s Guide 19...
Page 26: ...20 Chapter 3 Hardware...
Page 27: ...MCB251 Evaluation Board User s Guide 21...