ST Turbo+ mPSD DK3400 Скачать руководство пользователя страница 1

March 2007

  Rev 3

1/24

UM0299

User manual

Turbo+ µPSD DK3400 with RIDE software

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 

Section 3.2 on page 9

.

Doing single-step execution and source-level debugging, se

Section 3.3 on page 10

.

Obtaining device specific formatted displays, se

Section 3.4 on page 10

.

Inserting breakpoints, see 

Section 3.5 on page 11

.

Performing symbolic debugging and monitoring variables, se

Section 3.6 on page 12

.

Iterating code, see 

Section 3.7 on page 12

.

Setting instruction traces approaching real-time performance, see 

Section 3.8 on page 

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.

www.st.com

Содержание Turbo+ mPSD DK3400

Страница 1: ...mance see Section 3 8 on page 13 This development kit contains a simple demonstration project that illustrates the power and efficiency of the software development tools based upon Raisonance RIDE sof...

Страница 2: ...ng 10 3 4 Changing the display of information 10 3 5 Setting breakpoints in the program 11 3 6 Monitoring variables in the Watch window 12 3 7 Iterating code 12 3 8 Setting instruction traces 13 3 8 1...

Страница 3: ...UM0299 List of tables 3 24 List of tables Table 1 Summary of icons 17 Table 2 ED3K4 jumpers factory default settings 19 Table 3 Document revision history 23...

Страница 4: ...2 RIDE menu bar 8 Figure 3 Project window 9 Figure 4 MCU registers 11 Figure 5 Watch window 12 Figure 6 Trace options 14 Figure 7 Code view disassembly 15 Figure 8 Trace display 16 Figure 9 Messages...

Страница 5: ...th a ED3K4 v1 1 daughter card and PSD3434E 40U6 see Figure 1 eRLINK an embedded JTAG adapter from Raisonance for debugging with Raisonance integrated development environment RIDE present on bottom sid...

Страница 6: ...notes Keil uVision 3 software and support tools for PSD3400 demo version limited to 2Kbytes code size The PSD3400 circuit board with its embedded RLINK tool or your own designed circuit board with a...

Страница 7: ...cept all default choices 5 Go back to the home page and click on Copy Device Drivers and Demo Code 6 Click on Install Demos for the Ride Environment Raisonance 7 Unzip the files in the foloder of your...

Страница 8: ...help as you follow the procedures 3 1 Opening the demo project in RIDE 1 Launch RIDE from the Windows programs menu Raisonance Kit 6 1 or from the RIDE icon The RIDE title menu bar is diplayed see Fi...

Страница 9: ...icking the debugger icon in the menu bar This programs the flash and refreshes the RIDE environment showing actions in the Debug Action Messages Window See Figure 10 on page 18 The line highlighted in...

Страница 10: ...unction timer0_init 4 Double click Disassembly Code in the left debugger window This opens a display named Disassembly code led_blink showing both C and Assembly code source instructions 5 Click the S...

Страница 11: ...breakpoint addresses can be set by the debugger 1 Set two breakpoints by clicking on the green dot on the left of the two lines of code timer0_delay blink_delay in the while 1 loop The green dot turns...

Страница 12: ...he watch window It should report the value 0x0A see Figure 5 5 Click Go again While the code is running place the mouse over the Value field should read as 0xA right click and select Evaluate enter 0x...

Страница 13: ...he LED is now permanently blinking at the slower rate This code modification is now permanent and resident in the code Flash 6 Click Reset 3 8 Setting instruction traces The PSD3400 will rapidly strea...

Страница 14: ...n the real time performance of the project 3 8 2 Displaying traces 1 Go back to the file led_blink c by clicking on its file tab 2 Set one breakpoint at the following line of code before while 1 PSD_r...

Страница 15: ...nk lines indicate where a breakpoint happened 4 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...

Страница 16: ...normally and in real time 7 After about 10 seconds click Stop and look at the messages in the window that records the actions see Figure 9 This window shows the number of non sequential instructions...

Страница 17: ...arts and stops the debugger Step in single steps into a called function Step over steps through code one instruction at a time Executes an entire called function as one step stopping with the first in...

Страница 18: ...Running the demo project UM0299 18 24 Figure 10 RIDE interface window...

Страница 19: ...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 Table 2 ED3K4 jumpers factory default se...

Страница 20: ...t settings JP4 1 2 3 JP6 1 2 JP7 1 2 3 JP8 JP9 JP10 1 2 1 JP1 JP2 JP3 2 1 2 JP11 2 4 6 1 3 5 JP12 JP5 1 2 3 uPSD3400 128Mbit NAND Flash uPSD eRlink JTAG connector Power Extension connector CN1 Extensi...

Страница 21: ...re using software from a third party tool provider please refer to the third party for software product support and downloads B 2 Hardware spare parts Your development tool comes with the hardware you...

Страница 22: ...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 5 TEB Target Emulation Board h...

Страница 23: ...UM0299 Revision history 23 24 Appendix C Revision history Table 3 Document revision history Date Revision Changes 1 Jun 2006 2 Initial release 14 Feb 2007 3 Format update...

Страница 24: ...NTIES OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS E...

Отзывы: