Development systems getting started tutorial (6 pages)
Summary of Contents for Analog Devices ADUC812
Page 1
ADuC8XX GetStarted Guide a tutorial guide for use with the ADuC8XX QuickStart™ Development System One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106, U.S.A. • Tel: 781.329.4700 • Fax: 781.461.3113 • www.analog.com ADuC8xx Evaluation Kit Get Started Guide REV 1.3 -- 1 -- www.analog.com/microconverter...
Page 2
ADuC8XX GetStarted Guide a tutorial guide for use with the ADuC8XX QuickStart™ Development System ONTENTS Introduction pg 4 Installation pg 5 The Metalink 8051 Cross Assembler pg 6 The ADuC Windows Serial Downloader (WSD) pg 7 USB-EA emulator for ADuC8xx debugging pg 10 The ADuC WASP pg 18...
Page 3
ADuC8XX GetStarted Guide (1.0) Installation NTRODUCTION The following GetStarted tutorial guide will bring the user through the various tools that are part of the MicroConverter QuickStart development system. As all our tools are ADuC8XX generic, this tutorial guide should be read for a development on any of our ADuC8XX parts. The ADuC8XX parts and the evaluation boards that are referenced in this tutorial guide are as follows: VALUATION...
Page 4
ADuC8XX GetStarted Guide (1.0) Installation For non-intrusive debugging using Keil or IAR development tools. USB-EA None EMULATOR Also, it can be used for Serial downloading via the EA pin and WSD software. (1.0) I NSTALLATION Installing from CD: ® • Insert the MicroConverter QuickStart™...
Page 5
ADuC8XX GetStarted Guide (2.0) The Metalink Assembler 2.0 T 8051 C ETALINK ROSS SSEMBLER The Metalink 8051 Cross Assembler takes an assembly language source file created with a text editor, saved with a .ASM extension and creates two files, an output list file (.LST) and a machine language object file in standard Intel Hex format (.HEX).
Page 6
ADuC8XX GetStarted Guide (3.0) The Windows Serial Downloader 3.0 T (WSD): INDOWS ERIAL OWNLOADER The Windows Serial Downloader (WSD) is a windows software program that allows a user to serially download standard Intel Hex files as created by the ASM51 assembler to the MicroConverter via the serial port.
Page 7
ADuC8XX GetStarted Guide (3.0) The Windows Serial Downloader Downloading using the WSD Click the Download Button. Select the file at C:\ADuC\Download\DemoCode.hex. Double click on the selected file or click on ‘Open’ to download the file. While the file is downloading a progress bar will appear indicating how much of the file has been downloaded.
Page 8
ADuC8XX GetStarted Guide (3.0) The Windows Serial Downloader Certain options may be grayed out depending on the particular MicroConverter you may have. Run Automatically after Download Click on the Configuration button. Tick the box for 'Run automatically after download' as shown in the configuration window above.
Page 9
ADuC8XX GetStarted Guide (3.0) The Windows Serial Downloader Downloading via the USB-EA emulator Chapter 4 will discuss using the USB-EA emulator for debug purposes. However, it is also possible to use the USB-EA emulator to serially program the ADuC8xx parts via the EA pin – I.e., it doesn’t require the a connection to the UART pins.
Page 10
C847 C848 Note, the ADuC812/814/816/824 are not supported. The debugger interfaces to the ADuC8xx via a single pin – the EA pin of the ADuC8xx part. To enter debug mode, the part must first be placed into download mode by toggling the Reset pin while holding the Serial download pin low.
Page 11
ADuC8XX GetStarted Guide (4.0) USB-EA Emulator Drivers for the USB-EA emulator If the USB drivers for the USB-EA dongle do not install automatically on your PC, then download drivers for the FT245R part for your operating system from the following website: http://www.ftdichip.com/Drivers/D2XX.htm When the drivers are installed and USB-EA dongle is connected to the PC, it will appear as an extra COM port under the Device Manager window –...
Page 12
ADuC8XX GetStarted Guide (4.0) USB-EA Emulator Then Select the “Port Settings” tab and click the “Advanced” button. In the Advanced Settings window, change the COM port number to a port lower than COM 9. REV 1.3 -- 12 -- www.analog.com/microconverter...
Page 13
ADuC8XX GetStarted Guide (4.0) USB-EA Emulator Click “OK” and return to the main Device Manager window. To update the newly selected COM port, unplug and re-plug the USB cable to the USB-EA dongle and the newly selected COM port should appear in the Device Manager window: REV 1.3 -- 13 -- www.analog.com/microconverter...
Page 14
ADuC8XX GetStarted Guide (4.0) USB-EA Emulator Configuring Keil tools for the USB-EA emulator Open your project using a recent version of Keil PK51 development software. From the Keil uVision menu select Flash -> Configure Flash Tools -> Debug Make the selections as shown on the right half of the screen below, ensuring to select the ADI Monitor Driver.
Page 15
Open your project using a recent version of IAR’s EW51 development software. In the “Project Options” menu, go to the “Debugger” section and select the “Analog Devices” driver. Then go to the Analog devices menu and select the “UART debug mode” in the Download menu. REV 1.3 -- 15 -- www.analog.com/microconverter...
Page 16
ADuC8XX GetStarted Guide (4.0) USB-EA Emulator In the “Serial Port” menu, ensure the correct COM port is selected. As described earlier, use Device Manager to identify the correct COM port. Download the latest 8051 tools from these vendors from their website: www.IAR.com Keil/IAR limitations when using the USB-EA emulator The “Halt”...
Page 17
In this tutorial we will briefly introduce both the SAR WASP (for the SAR ADC parts … ADuC812, ADuC814, ADuC831, ADuC832, ADuC841, ADuC842 and the ADuC843) and the Σ∆ WASP (for the Σ∆ ADC parts … ADuC816, ADuC824, ADuC834, ADuC836, ADuC845, ADuC847 and ADuC848).
Page 18
With the parameters shown below selected, press the RUN button. The acquired ADC samples will appear on the chart as shown for the ADuC812 example below. When all the samples are collected the WASP immediately launches the Analysis window.
Page 19
ADuC8XX GetStarted Guide (5.0) The ADuC WASP Click on the Return to Acquisition Window button in the Noise Analysis window to return to the acquisition panel. The functionality of the DAC(s) and general Digital Peripherals can also be exercised via the options available from the WASP front panel.
Page 20
ADuC8XX GetStarted Guide (5.0) The ADuC WASP Sigma Delta WASP The Sigma Delta Acquisition window (as shown below) opens for any of the Sigma Delta ADC MicroConverter products (ADuC816, ADuC824, ADuC834, ADuC836, ADuC845, ADuC847 and ADuC848) From the Acquisition window you can… Select the channel on which you want to convert Set up the ADC Update Rate.
Page 21
ADuC8XX GetStarted Guide (5.0) The ADuC WASP When all the samples are collected the WASP immediately launches the Analysis window. This window displays some mathematical analysis on the ADC conversions, including RMS noise (in µV and bits) and Peak-to-Peak Noise (Code Distribution, µV and Bits). The most important performance figures are highlighted in Red.
Page 22
ADuC8XX GetStarted Guide (6.0) Installed Documentation and Code Directory (6.0) I NSTALLED OCUMENTATION AND IRECTORY ® Installing the MicroConverter QuickStart™ Development System CD installs documentation for all the MicroConverter products at C:\ADuC\Documentation. Directories for each product exist in the Documentation folder, as well as QuickStartTools and TechNotes directories. Each of the product directories follows a similar folder structure as shown below.
Need help?
Do you have a question about the ADUC812 and is the answer not in the manual?
Questions and answers