upsd_windows_Cbuider
所属分类:单片机开发
开发工具:C++ Builder
文件大小:592KB
下载次数:12
上传日期:2006-02-28 22:12:44
上 传 者:
chendl
说明: ST公司upsd34XX评估板上位机源程序,通过USb接口实现与评估板通信,供参考!
(ST upsd34XX Evaluation PC source, through the USB interface and Evaluation communications, for reference!)
文件列表:
upsd windows\DK3200_Windows_USB_Demo\resource.h (1469, 2002-08-25)
upsd windows\DK3200_Windows_USB_Demo\Mirror.dsp (4413, 2002-08-26)
upsd windows\DK3200_Windows_USB_Demo\Mirror.dsw (535, 2002-06-13)
upsd windows\DK3200_Windows_USB_Demo\Mirror.exe (61440, 2002-08-26)
upsd windows\DK3200_Windows_USB_Demo\MirrorOld.cpp (39193, 2002-08-26)
upsd windows\DK3200_Windows_USB_Demo\Resource.rc (3757, 2002-08-25)
upsd windows\DK3200_Windows_USB_Demo\StdAfx.cpp (293, 2002-06-13)
upsd windows\DK3200_Windows_USB_Demo\StdAfx.h (901, 2002-08-26)
upsd windows\DK3200_Windows_USB_Demo (0, 2004-04-17)
upsd windows\WinApp\USB_DK3200_Demo.exe (664576, 2004-02-11)
upsd windows\WinApp\+test\USB_DK3200_Demo.exe (695296, 2004-02-03)
upsd windows\WinApp\+test (0, 2004-04-17)
upsd windows\WinApp\source\app_intr.h (3405, 2003-10-15)
upsd windows\WinApp\source\USB_Demo.cpp (56155, 2004-02-11)
upsd windows\WinApp\source\USB_Demo.ddp (51, 2004-02-11)
upsd windows\WinApp\source\USB_Demo.dfm (7350, 2004-02-11)
upsd windows\WinApp\source\USB_Demo.h (2828, 2004-02-11)
upsd windows\WinApp\source\USB_DK3200_Demo.bpr (3346, 2004-02-11)
upsd windows\WinApp\source\USB_DK3200_Demo.cpp (1139, 2004-02-11)
upsd windows\WinApp\source\USB_DK3200_Demo.dsk (5643, 2004-02-11)
upsd windows\WinApp\source\USB_DK3200_Demo.res (876, 2003-11-07)
upsd windows\WinApp\source (0, 2004-04-17)
upsd windows\WinApp (0, 2004-04-17)
upsd windows (0, 2004-04-17)
// 此版本有问题!!
USB Mirror Example README.TXT
App version: 1.0.0
Firmware version: 1.0.0
Date: Aug 27, 2002
-- Contents
* Introduction
* Setup
* Using the Windows app
* Known Bugs/Issues
-- Introduction
This example application illustrates how to program the uPSD3200 as
a HID device and how to communicate with the chip using the Windows
HID API.
The example consists of two components: a firmware project using the
Keil C compiler, and a Windows dialog application. The firmware sends
a mirror of the DK3200 LCD display to the Windows app through the
EP1 interrupt endpoint. The Windows app provides several buttons for
sending flash programming commands to the device.
-- Setup
1. Run the Keil development environment and open the
\Firmware\USB_test.uv2 project file. Build the project.
2. In PSDSoft, open the PSDSoft project for the AN1560 application
note. Select the "Merge MCU/DSP..." button and change the hex
file burned into the boot CS0 sector to \Firmware\USB_test.hex.
3. Program the chip through the JTAG interface in PSDSoft.
4. Plug the DK3200 board into the USB port of a host computer. Go
to the Device Manager and you should see an enumerated HID device.
-- Using the Windows app
The Windows dialog application (mirror.exe) can be run from the \App
directory. Click the Connect button to open a handle to the HID
device. The application will begin mirroring the LCD display of the
DK3200 evaluation board.
To speed up the flash commands, select the Stop Mirror button to
disable mirroring of the LCD display.
The following command buttons are available for manipulating flash
sectors:
* Read
This command will read a number of bytes specified by the Count edit
field and starting at the sector offset specified by the Offset edit
field. The data will be displayed in the Data edit field.
* Erase
This command will erase the specified flash sector.
* Program
This command will prompt for a hex file and will program the hex
file into the selected flash sector.
* Upload
This command will upload the selected flash sectors contents and will
save the data into a hex file.
* Write
This command will write data from the Data edit field to the selected
flash sector starting at the offset specified by the Offset edit
field. Note that the Count edit field is not used by this command.
* Verify
This command will prompt for a hex file and will verify that the data
in the selected flash sector matches the hex file data.
* Blank Check
This command verifies that the selected flash sector is blank.
* Reset
This command resets the chip.
-- Known Issues/Bugs
* The flash commands currently only work with the primary flash.
* The board must be unplugged when it is reset through the Windows
app. It will not re-enumerate.
* The application supports a Load MMF command, but the MMF file
contents are not currently used by the application in any way.
近期下载者:
相关文件:
收藏者: