|
| Setting Target Options 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.
|
|