ST Turbo+ mPSD DK3400 User Manual
ST Turbo+ mPSD DK3400 User Manual

ST Turbo+ mPSD DK3400 User Manual

With ride software

Advertisement

Quick Links

Introduction
The Turbo+ µPSD DK3400 with RIDE software is a development kit which provides all you
need to develop and debug applications. An easy-to-use graphical interface provides a quick
and efficient way of:
Compiling projects and programming the flash memory, see
Doing single-step execution and source-level debugging, see
Obtaining device specific formatted displays, see
Inserting breakpoints, see
Performing symbolic debugging and monitoring variables, see
Iterating code, see
Setting instruction traces approaching real-time performance, see
13.
This development kit contains a simple demonstration project that illustrates the power and
efficiency of the software development tools based upon Raisonance RIDE software. It also
demonstrates the capabilities of the embedded eRLink which provides many features for
editing, compiling, programming, and debugging programs developed for the Turbo+ µPSD
DK3400 MCU Series from STMicroelectronics.
The demonstration application code is a RIDE-based project that shows how to use the
GPIO block within the µPSD3400 device. It is a very simple demo that drives an external red
LED. During the short tutorial, you will be able to step through the code and change the LED
blinking rate.
The DK3400 kit also includes an evaluation version of Keil µVision 3 and Keil ULINK JTAG
adapter. You can try the evaluation version of µVision 3 (code-limited) and upgrade to a full
version for a complete µPSD3400 development environment.
March 2007
Turbo+ µPSD DK3400 with RIDE software
Section 3.5 on page
Section 3.7 on page
12.
Rev 3
User manual
Section 3.2 on page
Section 3.3 on page
Section 3.4 on page
11.
Section 3.6 on page
Section 3.8 on page
UM0299
9.
10.
10.
12.
1/24
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Turbo+ mPSD DK3400 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST Turbo+ mPSD DK3400

  • Page 1 The DK3400 kit also includes an evaluation version of Keil µVision 3 and Keil ULINK JTAG adapter. You can try the evaluation version of µVision 3 (code-limited) and upgrade to a full version for a complete µPSD3400 development environment. March 2007 Rev 3 1/24 www.st.com...
  • Page 2: Table Of Contents

    Contents UM0299 Contents Delivery checklist ......... . . 5 Installing the software and connecting the hardware .
  • Page 3 UM0299 List of tables List of tables Table 1. Summary of icons ............17 Table 2.
  • Page 4 List of figures UM0299 List of figures Figure 1. Turbo+ µPSD DK3400 development board ........5 Figure 2.
  • Page 5: Delivery Checklist

    UM0299 Delivery checklist Delivery checklist This section lists the hardware and software components of the Turbo+ µPSD DK3400 development kit. Hardware components ● Turbo+ µPSD DK3400 development board- with a ED3K4 v1.1 daughter-card and µPSD3434E-40U6 (see Figure ● eRLINK, an embedded JTAG adapter from Raisonance for debugging with Raisonance integrated development environment (RIDE), present on bottom-side of ED3K4, ●...
  • Page 6 Delivery checklist UM0299 Software components on the Turbo+ µPSD DK3400 CD from STMicroelectronics ● RIDE C-compiler and assembler (limited to 4Kbytes code size) in RIDE ● RIDE debugger utility (no code size limit) in RIDE ● µPSD3400 sample projects with USB support and application notes ●...
  • Page 7: Installing The Software And Connecting The Hardware

    Insert the STMicroelectronics CD supplied with the µPSD3400 development kit in your CD drive. The auto run utility will bring up the home page or the main menu page. Click on Install ST and 3rd Party Tools. Install CAPS, accept all default choices.
  • Page 8: Running The Demo Project

    Running the demo project UM0299 Running the demo project This section contains a number of exercises that will rapidly help you become familiar with the major steps for creating and debugging µPSD3400 projects. Using the demo project supplied with the µPSD3400 development kit as an example, it provides step-by-step instructions on how to to do basic tasks in RIDE.
  • Page 9: Compiling The Project And Programming The Flash Memory

    UM0299 Running the demo project Figure 3. Project window Compiling the project and programming the flash memory Click the "Make All" icon in the menu bar: This compiles and builds the project. Start the debugger by clicking the debugger icon in the menu bar. This programs the flash and refreshes the RIDE environment, showing actions in the "Debug/Action/Messages Window"...
  • Page 10: Debugging

    Running the demo project UM0299 Debugging Click the "Go" icon in the menu bar to run the program. The program runs full speed with the D6 red LED (middle LED in the bank of 3 red ones) blinking at a couple HZ frequency. Click the "Reset"...
  • Page 11: Setting Breakpoints In The Program

    UM0299 Running the demo project Figure 4. MCU registers Double-click the "Port 1" icon in the left debugger window to show the current value of the pins in I/O port 1. Go back to the file, led_blink.c by clicking on the tab at the bottom of the main display window (see Figure 10), and expand the window view back to full screen.
  • Page 12: Monitoring Variables In The Watch Window

    Running the demo project UM0299 Monitoring variables in the Watch window Click STOP to stop running the program. Double-click the variable name blink_delay at the beginning of the main() function to highlight it. Right-click on it, then select "Add Watch". Alternatively, press F6. You can now monitor this variable in the Watch Window at bottom left of the screen as shown in Figure 5...
  • Page 13: Setting Instruction Traces

    UM0299 Running the demo project Close the debugger by clicking on the debugger icon. (It is same icon that starts the debugger). You are now in the editor. Go to the file led_blink.c by clicking on its file tab, and change the following C code statement from blink_delay = SHORT;...
  • Page 14: Displaying Traces

    Running the demo project UM0299 Figure 6. Trace options To open the Trace Display, from the title bar select "Debug", then "Trace", then "View". A blank Trace Display window appears. A Trace Display file can display program source code in both C and Assembly formats. Tracing runs in the background with little impact on the real-time performance of the project.
  • Page 15: Figure 7. Code View (Disassembly)

    UM0299 Running the demo project Figure 7. Code view (disassembly) Note: The red line indicates where the breakpoint is set, the blue line indicates the next instruction to execute, and pink lines indicate where a breakpoint happened. Open the Trace Display window by clicking on the "Trace (led_blink)" file tab. The last instruction that was executed (MCU Program Counter at 01B) is listed at the bottom of the Trace Display window.
  • Page 16: Ride Windows And Icons

    Running the demo project UM0299 Figure 8. Trace display To list both C and ASM code instructions, right-click in the trace window, select Options, and in the Trace Options dialog box, select ASM and C sequential list. Go back to the file led_blink.c and click "Go". The LED should now blink normally and in real-time.
  • Page 17 UM0299 Running the demo project Table 1. Summary of icons Icon Associated action Runs the current program. Stops the current program. Resets program execution at the beginning of the program. Runs the compiler. Starts and stops the debugger. Step-in: single-steps into a called function. Step-over: steps through code, one instruction at a time.
  • Page 18: Figure 10. Ride Interface Window

    Running the demo project UM0299 Figure 10. RIDE interface window 18/24...
  • Page 19: Appendix A Μpsd3400 Jumper Descriptions And Default Settings

    UM0299 µPSD3400 jumper descriptions and default settings Appendix A µPSD3400 jumper descriptions and default settings Table 2 Figure 11 describe the settings of the DK3400 jumpers on the daughter-board. These are the defaults setting for Operating Mode #2 that enables the on-board eRLINK to drive the on-board µPSD3400.
  • Page 20: Figure 11. Ed3K4 Jumpers Factory Default Settings

    µPSD3400 jumper descriptions and default settings UM0299 Figure 11. ED3K4 jumpers factory default settings eRlink uPSD JP1 JP2 JP3 uPSD3400 128Mbit NAND Flash JP8 JP9 JP10 JP11 JP12 Power JTAG connector IrDA 20/24...
  • Page 21: Appendix B Product Support

    You can order extra components, such as sockets and adapters, from STMicroelectronics, from the component manufacturer or from a distributor. To help you find what you need, a listing of accessories for STMicroelectronics development tools is available on the STMicroelectronics Internet site, www.st.com. B.2.1 Sockets Complete documentation and ordering information for P/LQFP sockets from Yamaichi, Ironwood, CAB and Enplas are provided at their respective Internet sites.
  • Page 22: Getting Prepared Before You Call

    (i.e. the UK, Continental Europe or the USA). Serial Number: The serial number is found located on the rear panel of the ST Micro Connect box and is also listed on the Global Reference card provided with the emulator.
  • Page 23: Appendix C Revision History

    UM0299 Revision history Appendix C Revision history Table 3. Document revision history Date Revision Changes 1-Jun-2006 Initial release. 14-Feb-2007 Format update. 23/24...
  • Page 24 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents