MCBX51: LOADING & DEBUGGING THE ATMEL 89C51RE2
Information in this knowledgebase article applies to:
I have an Atmel 89C51RE2 device installed in my MCBx51 board. How do I download and debug this device?
For downloading Atmel devices, download and install the FLIP/BatchISP download utility available from Atmel. This download includes the interactive programming utility, FLIP, and the command-line programming utility BatchISP.
After installing the FLIP/BatchISP download file, follow the steps below to download your device:
You may also download using the BatchISP program from within µVision. In your project, select Project — Options for Target, Utilities, then click the Use External Tool for Flash Programming radio button. In the Command textbox, enter:
and in the Arguments textbox, enter:
-device $D -hardware RS232 -port COM1 -baudrate 9600 -operation MEMORY FLASH LOADBUFFER %H PROGRAM
Then click OK. Now, clicking the µVision Load button downloads your application to the Atmel device.
For debugging on the Atmel 89C51RE2 device using Monitor-51, you must have reserved the interrupt vector for either the on-chip or off-chip UART in your application program. For more information regarding this, see the Editing BLINKY section on the BLINKY Example web page.
To start a debug session:
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, November 17, 2008
of your data.