📄 readme.txt
字号:
uPSD3200 USB Demo README.TXT
App version: 1.0.7
Firmware version: 1.0.7
Date: Jan 23, 2003
-- Contents
* Introduction
* Setup
* Using the Windows app
* Known Bugs/Issues
* What's New
-- 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 three components: a firmware project using
the Keil C compiler, a Windows dialog application, and a PSDSoft
project. The firmware sends a mirror of the DK3000 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 in the \PSDSoft subdirectory.
3. Program the chip through the JTAG interface in PSDSoft.
4. Plug the DK3000 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\Release directory. Click the Connect button to open a handle
to the HID device. The application will begin mirroring the LCD
display of the DK3000 evaluation board.
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 board must be unplugged when it is reset through the Windows
app. It will not re-enumerate.
-- What's New 1/23/2003
* Fixed '0 length packet' bug on some fast host controllers
and USB 2 host controllers.
* Stall EP0 on unhandled SETUP packet requests.
-- What's New 11/06/2002
* Erase command erases flash sector rather than entire flash.
-- What's New 11/05/2002
* Radio buttons in app immediately select flash.
* LCD on board displays flash in code space (main (M) or boot (B)).
* Bug fix: Switching to boot flash didn't always work due--page
register needed to be set to 0.
-- What's New 11/04/2002
* Corrected boot flash memory mapping in PSDSoft project (CSBOOT0
at 0x8000 to 0x9FFF, CSBOOT1 at 0xA000 to 0xBFFF, etc.)
* Minor UI changes to the app.
-- What's New 10/31/2002
* PSDSoft project now included to support switching between boot
and primary flash.
-- What's New 10/21/2002
* Bug fix: hex file checksum values were calculated incorrectly.
* The 'Verify' code ignores errant AA value at 0x1555 (see Known
Issues/Bugs above)
* Critical section was added in application to hold off monitor
thread while doing flash read/write operations.
* USB ISR in firmware code now handles USB suspend and reset
interrupts.
* Firmware clock frequency set to 36MHz.
-- What's New 08/30/2002
* Switch to ST Vendor ID (0x0483) in firmware and app.
* Set sector size in app to 0x8000 for 8MB part.
* Code cleanup in firmware. Switched to startu32.a51 startup file
and standard upsd3200.h header. Set clock for 48MHz.
-- What's New 08/29/2002
* App LCD mirror input thread uses second device handle.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -