ST Turbo uPSD DK3300-ELCD Quick Start Manual
ST Turbo uPSD DK3300-ELCD Quick Start Manual

ST Turbo uPSD DK3300-ELCD Quick Start Manual

Advertisement

Quick Links

V 1.0 Dec. 2004
Contents:
Circuit Board
uPSD DK3300-ELCD Development
Board– with a uPSD3334D-40U6 MCU with Enhanced
Graphic LCD
RLINK-ST
, a USB-based JTAG adapter from Raisonance
for debugging with Raisonance Integrate Development
Environment (RIDE)
ULINK
, a USB-based JTAG adapter from Keil for
debugging with Keil's uVision Tools.
USB Cables and RS232 Cables
110/220V Universal Power Supply
Software and Tools CD's
1) RKit Development Suite CD
o RIDE C-Compiler and Assembler (limited to 4Kbytes code
size)
o RIDE Debugger Utility (no code size limit)
o uPSD3300 sample projects and Application Note
o Also includes ST's PSDsoft Express software for configuring
the Programmable Logic inside the uPSD3300
-
2) DK3300-ELCD CD
STMicroelectronics: Contains
o STMicroelectronics Datasheets, Tools, Software,uPSD3300
sample projects, User Manual and Application Notes
o Keil uVision 2 Software and support Tools (Demo Version) for
uPSD – (Limited to 2Kbytes code size)
Purpose:
The demonstration application code is a RIDE based project
that shows use of the PWM and ADC function blocks within
the uPSD3300 device. A pulse width modulated signal output
from the PWM circuit is tied to an RC circuit resulting in a DC
voltage that is proportional to the pulse width. This DC
voltage is input to an ADC channel and is read after each time
the pulse width out of the PWM is changed. The PWM setting
and the ADC value read is displayed on the LCD.
This simple demonstration project will illustrate the powerful
software development tools based upon Raisonance RIDE
software, and the RLINK-ST adapter, which provides many
features for editing, compiling, programming, and debugging a
uPSD3300 MCU Series from STMicroelectronics. This demo
will quickly illustrate the specific features below to give you a
feel for their simplicity and capability:
Project Compilation and Flash Programming
Single-Step Execution and Source-Level Debugging
Device Specific Formatted Displays
• Breakpoints
Symbolic Debugging and Variables Watch
• Code Iteration
Instruction Tracing approaching Real-Time
performance
The exercise takes a few minutes to complete and
demonstrates the major steps for creating and debugging a
uPSD3300 project.
The RLINK-ST kit, and the DK3300-ELCD Development
Board or your own designed circuit board with a uPSD3300
MCU is all that is needed to develop code. RIDE's debugger
utility can be used to symbolically debug 8051 code
generated from most any 8051 compiler. So you have a
choice ... keep your existing 8051 compiler and debug with
the RIDE debugger (no code size limit), or upgrade the
evaluation version of the RIDE compiler on the CD so you can
compile with no limit and debug code all within the RIDE
environment. See RIDE CD insert, or
http://www.raisonance.com
and upgrades.
Quick Start Guide for the
Turbo uPSD DK3300-ELCD Development Kit- RIDE
Adapter
-
Raisonance: Contains
for more information on RIDE

Software Installation and Connections:

1. Software Installation

• Insert the Raisonance disc supplied with DK3300
Development Kit in your CD drive. The auto run will bring
up the program installation menu.
• First Install PSDsoft Express, take all default choices.
• Next install RIDE, take all default choices.
• Remove the Raisonance Disc and then insert the DK3300-
ELCD Disc from STMicroelectronics in the CD drive.
• Navigate the screens and bring up Menu page with "Copy
Device Drivers and Demo Code". Click on it and then
• Unzip the file pointing to

2. Physical Connections

• Connect RLINK-ST to your PC/Laptop using the supplied
USB cable and let the USB driver install on Windows.
• Connect RLINK-ST ribbon cable to the JTAG connector on
the DK3300-ELCD circuit board.
• Make sure that the Board is powered up using the
Universal Adapter supplied with the kit and ensure that it is
functioning. (See that the LCD display shows the text).
• Make sure that the Jumpers are set correctly. (Refer to
appendix-1 at the end for Jumper settings).

Demo and Features Evaluation:

Launch RIDE from the Windows programs menu (Raisonance
Kit 6.1) or from RIDE icon. Next you'll see a blank work area
with the RIDE title menu bar as shown here:
• Open the demo project. In title menu bar click "Project",
then "Open". Next double-click the project named
pwm_adc.prj, from the folder:
\RIDE\examples\8051\derivatives\st_upsd\upsd3300\dk33
00-elcd\PWM_ADC\pwm_adc.prj
The RIDE environment will display with multiple windows and
icons. Refer to Figure - 8 for help as you follow along.
• The left window will show the project files. Click on the "
to expand the project component files and then double-
click on "pwm_adc.c" to open file (Refer to Figure -2).

3. Compile Project and Program Flash Memory

• Click
"Make All". This compiles and builds the project.
• Start the Debugger by clicking
the Flash and refreshes the RIDE environment showing
actions in the "Debug / Action/Messages Window" (See
Figure-8 ).
The blue line indicates where MCU execution has stopped at
the first line of executable code in the main program, now
waiting for your debugging command.

4. Single-Step and Source-Level Debugging

• Click
"Go" to see that program runs full speed with the
DK3300-ELCD Display showing the following lines of text:
PWM to ADC DEMO
PWM = xx ADC = yyy where xx and yyy are
changing with each execution of the program loop.
• Click
"Reset" and the program returns to first line of the
main program.
• Click
"Step-Over" to execute one line of C code. You
can scroll down to see more lines of code in the program.
1
C:\
root directory in your drive.
"Start". This programs
+"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Turbo uPSD DK3300-ELCD and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST Turbo uPSD DK3300-ELCD

  • Page 1 RIDE Debugger Utility (no code size limit) USB cable and let the USB driver install on Windows. • Connect RLINK-ST ribbon cable to the JTAG connector on o uPSD3300 sample projects and Application Note o Also includes ST’s PSDsoft Express software for configuring the DK3300-ELCD circuit board.
  • Page 2 • Double-click “ Main Registers” in the left debugger instruction steps out to the RLINK-ST adaptor. From this data, window to show the contents of the MCU core registers RIDE will create a formatted file to help you find even the (Refer to Figure -3).
  • Page 3 Please see our web site for the latest information on uPSD the RIDE environment with RLINK-ST for the uPSD DK3300- products, tools, application notes, and other documentation: ELCD Development Board. (Refer to Figure -1): http://www.st.com/psm...
  • Page 4 Quick Start Guide for the Turbo uPSD DK3300-ELCD Development Kit- RIDE V 1.0 Dec. 2004 Figure-4 Watch Window Figure-1 uPSD DK3300-ELCD Development Board Figure-5 Trace Options FIGURE-2 PROJECT WINDOW Figure-6 Blank Trace Figure-3 MCU Registers Figure-7 Messages Window...
  • Page 5 Quick Start Guide for the Turbo uPSD DK3300-ELCD Development Kit- RIDE V 1.0 Dec. 2004 Figure-8 RIDE Environment Interface Display Windows and Icons...
  • Page 6 Quick Start Guide for the Turbo uPSD DK3300-ELCD Development Kit- RIDE V 1.0 Dec. 2004 Figure-10 Trace Display Figure-9 Code View (Disassembly...

Table of Contents