Use the Options for Target
toolbar button to display the Target dialog, and configure the
Monitor-51 interface using the following steps:
Enter the memory ROM area and RAM area for your
target system.
When you are using Monitor-51, the complete target application
need to be stored in RAM space. Therefore you need to split the
available RAM space on the MCBx51 into a ROM section for MCBx51
program code and a RAM section for data.
In Off-chip Code
memory EPROM, enter the starting address of 0x0000
in Start and the size of 0x8000 in
Size.
In Off-chip Xdata
memory RAM, enter the starting address of 0x8000 in
Start and the size of 0x5FFF in Size.
In the Options for Target — Debug dialog:
Click the
Use: radio button to select emulator mode, then select the
Keil Monitor-51 Driver from the drop-down list.
Enable Load
Application at Startup and Run to main() to
automatically load and start your application when you start the
debugger.
Click on the
Settings button to open the Target Setup
dialog.
On the Target Setup dialog, select the COM Port
you intend to use. When using the MCBx51 INT RS232 port (on-chip
UART), the baudrate depends on the XTAL CPU clock. Set the
Baudrate to 19200 for the 12MHz XTAL, and
38400 for the 24MHz XTAL.
Connect the serial cable between the COM port on your PC, and
the INT DB9 connector on the MCBx51 board, then power up the
MCBx51 board.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.