AT89LP OCD Developer board. Get the Software The first step in using the OCD board is to obtain and install the AT89LP Developer Studio IDE. This software can communicate with the OCD board to program the target device and control its execution via the OCD interface.
1.2.2 Program the Target Start the AT89LP ISP Studio application and follow these steps. 1. Select Target > Select Target from the menu or click the target icon in the toolbar 2. In the dialog, highlight your device and click on the Select button 3.
Jumper settings for OCD Pair with Another Development Board The AT89LP OCD Developer Board is a low-cost board and as such has limited development resources. For best results it needs to be paired with another fully featured development board. Two configurations are possible: either connect the two boards by cable or piggyback the OCD board on a development board through a PDIP socket.
NOT be mounted in one of the OCD Board sockets. 1.4.2 Daughter Board For target boards that do not support an Atmel 10-pin header the OCD board can piggyback on the tar- get board as a daughter board as shown in Figure 1-3.
Getting Started Start the Debugger Once you have some source code in AT89LP Developer Studio, follow these steps to build, connect and debug your code on the OCD board. 1. Select Debug > Build Solution from the menu or click the build icon in the toolbar 2.
Page 10
Getting Started AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
AT89LP OCD Developer Board allows users to develop and debug their code and prototype their designs. The board was designed to be used with the Atmel AT89LP single-cycle 8051 microcon- trollers along with the Atmel AT89LP Developer Studio, an Integrated Development Environment (IDE).
Target Power Supply The AT89LP OCD Developer Board has an on-board voltage regulator to supply power to the board. This regulator requires a 9VDC external power source connected to the 2.1mm male jack outlet. No spe- cific polarization is mandatory as the on-board diode rectifier provides protection against inadvertent polarization insertion.
The header can be connected to an equivalent header on a target board through a 10-pin ribbon cable such as the Atmel AT89ISP cable. When using the OCD board with an external target board, all target devices must be removed from sockets U3, U4 and U5 on the OCD board or you can permanently damage the target devices and/or development board.
3.5.3 Reset Recovery (J1) AT89LP devices have fuses to enable/disable both OCD and ISP. If OCD is enabled or ISP is disabled, the RST pin cannot be used to enter programming mode during a warm reset. In these cases program- ming mode is activated only if RST is forced active at cold power-up.
J3 is located near the lower left corner of the 28DIP socket U4 as shownin Figure 3-10. Figure 3-9. J3 DDA Selection Settings Crystal External (AT89LP428/828) Clock Strap Crystal Internal (AT89LP3240/6440) Oscillator Jumper Header AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
OCD board on a development board through a PDIP socket. For target boards that do not support an Atmel 10-pin header the OCD board can piggyback on the target board as a daughter board as shown in Figure 3-12.
Page 19
Figure 3-12. AT89LP OCD Developer Board as Daughter Board For this configuration to work the following requirements must be met. The target socket on the AT89LP OCD Developer board must be built with lead extensions on the reverse side as shown in Figure 3-13 so that it can plug directly into another socket.
Section 4 Board Description Board Layout The PCB layout layers for the AT89LP OCD Developer version 3.0 are provided here for reference. Elec- tronic Gerber files and OrCAD schematics can be found at: http://www.atmel.com/dyn/resources/prod_documents/LP_Studio_Board.zip Figure 4-1. Silk Layer AT89LP OCD Developer Board 3.0 User Guide...
Page 22
Board Description Figure 4-2. Top Layer Figure 4-3. Bottom Layer AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
ISP will function correctly 2. In some target configurations prgramming is only possible by forcing the reset active at power-up. Section 3.5.3 on page 3-4 on using jumper J1 to force the reset AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
Section 6 Revision History Revision History Revision No. History • Revision A – February 2011 Initial Release AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
Page 30
Revision History AT89LP OCD Developer Board 3.0 User Guide 3720A–MICRO–2/11...
Page 31
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY...
Need help?
Do you have a question about the AT89LP and is the answer not in the manual?
Questions and answers