ST UM0087 User Manual

查询UM0087供应商
UM0087
USER MANUAL
Turbo uPSD DK3300 User Manual
WELCOME TO THE DK3300 DESIGN KIT
The DK3300 board is a demo board f or the uPSD 3300 family which is a s eries of 8051 class microc on­trollers (MCUs) that contain a new fast Turbo 8032 core with a large Dual Bank Flash memory, a large SRAM, many peripherals, programmable logic and a JTAG Debug / In System Programming (ISP) port.
Figure 1. DK3300 Kit Contents
1. DK3300 Board
2. DK3300 CD
3. 110V/220V AC adapter
4. Plug adapters
5. RS232 Serial Cross-Over Cable
6. USB R-LINK Adapter
7. USB ULink Adapter
8. USB Cable
9. Quick Start Flyer (not shown)
1/11May 2004
UM0087 - USER MANUAL
TABLE OF CONTENTS
WELCOME TO THE DK3300 DESIGN KIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 1. DK3300 Kit Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
GETTING STARTED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Before you can use the uPSD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 1 - Install PSDsoft Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 2 - Install Keil uVision2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 3 - Connecting the DK3300 Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Step 4 - Try Your DK3300 Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 5 - Starting a Debugging Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Step 6 - Following the AN1763 Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
DK3300 HARDWARE FEATURES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Figure 2. DK3300 Board Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
APPENDIX A.DK3300 JUMPERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Table 1. DK3300 Jumpers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
APPENDIX B.DK3300 SCHEMATICS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Figure 3. MCU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Figure 4. Peripheral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 5. Input/Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
REVISION HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Table 2. Document Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2/11
UM0087 - USER MANUAL
GETTING STARTE D
Please insert the CD that comes with the Kit and print the following documents. These documents will help you become familiar with the CD contents, the DK3300 Users Guide and an Application Note that will walk you through a design example.
Read me text file (Readme.txt)
DK3300 Users Guide (UM0087.PDF)
AN1763 Example Design (AN1763.PDF)
Any errata file that may exist (*errata*.PDF)
Before you can use the uPSD
You will need to install some software on your PC system before you can program the DK3300. This in­cludes PSDSoft Express and the Keil uVision Integrated Development Environment. Please follow the fol­lowing steps to get started using the DK3300:
Step 1 - Install PSDsoft Express. Install the latest version of P SDsoft Express (from the Raisonance CD).
Note: PSDSoft Express is required to configure the µ PSD device. Please che ck the ST Websi te for the Latest PSDSoft version: www.st.com/micropsd
If you already have PSDSoft Express installed, then please install the update file by first unzipping the file called Update_ExpressXXX.zip. This update file will automatically update your version of PSDSoft to sup­port the Turbo µPSD3300.
If you do not have PSDSoft Express installed, then please install it by first unzipping the file called In­stallExpressXXX.zip. This will install the s oftware needed to configure and optionally program t he Flash inside the µPSD3300 product.
Step 2 - Install K e il uVisi on2. Install the latest version of Keil uVision2 Integrated Development Environ­ment (ver 2.39 or greater). or the latest version of Raisonance’s Ride Environment.
Note: The Keil IDE or Raisonance IDE is required in order to make use of the JTAG debug f eat ure built­into the µPSD3300. Please check the Keil website for the latest version: www.keil.com, or Raisonance website: www.raisonance.com
If you already have uVision2 Integrated Development Environment from Keil Software Inc., and your Keil software maintenance period has not expired, just update your uVision2 by double-clicking the file UP51XXXX.exe located in the Keil directory on the CD.
If you do not have uVision2 Integrated Development Environment, you should install the trial version from Keil in order to com pile t he ex amp le application des cribed in AN1763. To insta ll the trial version double­click the file EK51XXXX.exe located in the Keil directory on the CD.
3/11
UM0087 - USER MANUAL
Step 3 - Connecting the DK3300 Board. Connect the Cables to the DK3300 board (see Figure
2., page 5) by connecting the following cables from the DK330 0 board to your PC system.
1. Connect the AC adapter to the DK3300 board. The DK3300 AC adapter w ill wor k o n eithe r 110V or 220V, and contains several different plug adapters to fit popular European AC outlets. Please set up your AC adapter to fit your AC plug type and plug in the AC adapter. Then plug the small power plug into the DK3300 9V DC input.
2. Connect the R-LINK adapter to a USB port on your PC system by using the supplied USB cable.
3. Next, connect the small ribbon cable on the R-LINK adapter to the 14 pin JTAG connector on the DK3300 board.
4. Start the PSDsoft application on your PC.
5. Make sure that you have selected R-LINK in the PSDsoft environment.
6. Test the R-LINK connection to ensure that PSDsoft and the R-LINK cable is communicating with your DK3300 board.
7. Follow the Design Guide to program the desired design/demo in the uPSD using R-LINK and JTAG port.
8. Verify that the correct application or demo is installed by viewing the LCD. Note: The DK3300 may come with a pre-programmed demo described in AN1763.
9. Refer to the Design Guide and application notes for more details.
Step 4 - Try Your DK3300 Board. Your DK3300 board comes pre-programmed with the ADC demo ap­plication that is discussed in AN1763. To test your DK3300 board, you should have the AC adapter power plugged in and connected to the 9V DC input on the DK3300 board.
Once you hav e confirmed your c onnections physically, turn the DK330 0 board on. Yo u should see t he DK3300 AC demo running in the LCD window. If you do not see it running, please verify that you have power by verifying the red power LED is on.
Note: Use the R-LINK adapter in conjunction with PSDsoft and Design guide to flash the other demos in the DK3300 Kit to configure/reconfigure the uPSD device and then switch to ULink adapter to debug and re-program the Flash as needed.
Step 5 - Starting a Debugging Session. To continue with the Raisonance debugging suite, leave the R­LINK connected, otherwise for starting the Keil Tool chain, swap the R-LINK adapter for the ULink adapter.
The ULink/R-LINK adapters provided with DK3300 kit are used to debug the µPSD3300 with the built-in JTAG debugger. It can optionally program the Flash in the µPSD3300 as well. This ULink/R-LINK adapter plugs into the SAME 14-pin JTAG connector. Follow the IDE environment and the associated user’s guide for debugging the codes.
Step 6 - Following the AN1763 Example. Read a nd follow the examp le in applica tion note A N1763 on the CD.
This Application Note will guide you through a design cycle of the ADC demo to help you fam iliari ze your­self with PSDSoft Express (used to configure and program the uPSD device) and Keil’s uVision2 (used to compose, compile, and debug firmware, as well as understand the architecture of the uPSD device).
4/11
Loading...
+ 7 hidden pages