USBwiz User ManualRev.2.27 Date: April 20, 2009 User ManualDocument InformationInformation DescriptionAbstract This document covers complete informati
GHI Electronics,LLC USBwiz User ManualPin-Out and Description3. Pin-Out and DescriptionThe following table includes brief description about USBwiz chi
GHI Electronics,LLC USBwiz User ManualPin-Out and DescriptionPin Name Description22 I2C_SCL The SCL line for I2C bus23 VCC 3.3V power pin24 RTCK/DBG#
GHI Electronics,LLC USBwiz User ManualPin-Out and DescriptionPin Name DescriptionUART_RTS In UART mode, this pin is Ready To Send Signal.54 SPI_MOSIUA
GHI Electronics,LLC USBwiz User ManualCommunication Interface selection4. Communication Interface selection4.1. Selecting an InterfaceUSBwiz uses U
GHI Electronics,LLC USBwiz User ManualCommunication Interface selectionpins for handshaking. SPI_SSEL, SPI_SCK, SPI_MISO, and SPI_MOSI are the standar
GHI Electronics,LLC USBwiz User ManualCommunication Interface selection● SCK is idle high● SCK is lower that 7Mhz. (1.75 in boot loader)● Data is shif
GHI Electronics,LLC USBwiz User ManualGetting Started with USBwiz5. Getting Started with USBwizThe following chapter give simple steps to get USBwiz w
GHI Electronics,LLC USBwiz User ManualGetting Started with USBwizOther options are using USB to UART modules or cables. You will have a virtual COM po
GHI Electronics,LLC USBwiz User ManualGetting Started with USBwiz4. Reset the chip and you will get the GHI electronics banner s
GHI Electronics,LLC USBwiz User ManualGetting Started with USBwizμPICFAT™ Development BoardFor even easier and faster startup, GHI offers a developmen
GHI Electronics,LLC USBwiz User ManualTable of ContentsTable of Contents1.Introduction...
GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions6. 1. USBwiz Functions6.1. CommanderThe commands and response in USBwiz are mad
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsMD USBWIZ Create “USBWIZ” folderCD USBWIZ Change the current folder access to “U
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsKeyboardMost keyboards return 8 bytes in the HID report which are decoded as follows:First by
GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions18 Keyboard u and U 19 Keyboard v and V 1A Keyboard w and W remapped for other languages1B
GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions49 Keyboard Insert4A Keyboard Home4B Keyboard PageUp 4C Keyboard Delete Forward4D Keyboard En
GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions7A Keyboard Undo 7B Keyboard Cut 7C Keyboard Copy 7D Keyboard Paste 7E Keyboard Find 7F
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsB8 Keypad { B9 Keypad } BA Keypad Tab BB Keypad Backspace BC Keypad A BD Keypad B BE K
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsExample: This example is taken from USB HID specifications. It assumes a 4-bytes HID report
GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions6.5. USB PrintersUSBwiz Printer driver support those that have interface with unidirectional
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsUP 0Now you can preform any printer commands, such as reset.PR 0The actual print command PP,
GHI Electronics,LLC USBwiz User ManualIntroduction1. IntroductionUSBwiz is an optimized solution for easy interfacing almost any embedded system to US
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsStage 2:Load device descriptor into the internal Buffer,LD 0>DThis is an optional command,
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsSIFind an Endpoint that belongs to the previously found InterfaceFE 03 02transfer= interrupt,
GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsRev.2.27 Page 32 of 64 www.ghielectronics.com
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Set7. USBwiz Command SetAll commands below are entered in ASCII. We choose to
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCommand Description Command DescriptionZF Resize File DF Delete FileIF Find File or Folder ND
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setfurther commands.● Some commands have multiple error codes !xx, usually, the first error code
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetIT - Initialize Real Time ClockUSBwiz has a built in real time clock that is used to save the
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetExample 1 GT<SP>F<CR>!00<CR>01/20/2006<SP>-<SP>06:21:04<CR>
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetEE - Enable/Disable EchoTo echo the sent data to USBwiz.Format EE<SP>h<CR>!00<C
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetFormat FM<SP>d<CR>!00<CR>$mm<CR>!00<CR>Mount File System for dev
GHI Electronics,LLC USBwiz User ManualIntroduction● 40 to 50 mA, power consumption● Single supply 3.3V● 5V tolerant I/O pins● -40˚C to +85˚C temperatu
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetUM - Register USB Mass StorageUSB Memory register command. Use it in case you need to read or
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetNF - Get Next Directory EntryThis command will print out the Directory Entry “File or Folder”
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setsubdirectories.Format RD<SP>foldername<CR>!00<CR>Example RD<SP>MYFOLDE
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCF - Close File HandleThis command issues a flush file (FF – Command) automatically and then c
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setall of them must be sent; if an error occurs while writing, USBwiz still expects all bytes bef
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setand the other for write, this command allows copying data from a file to another even if they
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetPF - Seek FileThis command changes the file pointer position. File must be opened in read mode
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetExample IF<SP>TEST.TXT<CR>!00<CR>$00000F34<SP>$00<SP>$34210000&l
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetHR - Read HID ReportThis command read HID Report data. It also returns HID Report Size.Format
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetPP - Send Data to USB Printer to printFormat PP<SP>p>ss<CR>!00<CR>Data to
GHI Electronics,LLC USBwiz User ManualIntroductionThanks to USBwiz chip, through RS232, UART, SPI or I2C interfaces you can access many USB devices, i
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetData to device!00<CR>Example SW<SP>0>3<CR>!00<CR>AT<CR>!00<
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCK - Check KeyChecking the stored key:1. The user application will generate a random
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetTF - Print FileThis command transfers a file from a connected storage media
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Set!00<CR> assign handle number 0 to it.UR - Release USB Device Handle (Raw Command)Release
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetSC - Set Configuration (Raw Command)Set USB configuration.Format SC<SP>h>n<CR>!
GHI Electronics,LLC USBwiz User ManualUSBwiz Command Set 00 Setup 01 Output 02 Input 07 is fixedExample FE<SP>03<SP>02<CR>!00&l
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetSS<SP>h>tt<SP>rr<SP>vvvv<SP>iiii<SP>lll<CR>!00<CR>
GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetWP - Write Pipe (Raw Command)Format WP<SP>p>ss<CR>!00<CR>User sends ss by
GHI Electronics,LLC USBwiz User ManualUSBwiz Boot Loader8. USBwiz Boot Loader8.1. General DescriptionThe boot loader is used to update the firmware of
GHI Electronics,LLC USBwiz User ManualUSBwiz Boot Loaderversion number of the boot loader may not match the version number of USBwiz.Important Note: U
GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2. USBwiz ArchitectureUSBwiz is a single chip that performs all work needed for
GHI Electronics,LLC USBwiz User ManualError CodesError CodesValue (HEX) Description00 Operation has passed successfully.01 Failed to read sector from
GHI Electronics,LLC USBwiz User ManualError CodesValue (HEX) Description4D This is not an error. Indicated the end of the file/folder list.4E Failed t
GHI Electronics,LLC USBwiz User ManualError CodesValue (HEX) Description91 USB Mass Storage device uses unsupported protocol.92 USB Mass Storage devic
GHI Electronics,LLC USBwiz User ManualUSBwiz EventsUSBwiz EventsValue (HEX) Description01 SD inserted.02 SD removed.20 Failed to initialize ISP1160.30
GHI Electronics,LLC USBwiz User ManualDISCLAIMERDISCLAIMERIN NO EVENT SHALL GHI ELECTRONICS, LLC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,INDIREC
GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.1. Block Diagram2.2. LPC2134 MicrocontrollerThe LPC2134 microcontroller is based on a 32/
GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.3. CommanderUSBwiz uses LPC2134 UART, SPI or I2C to let the user communicate with boot loa
GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.6. Supported USB Client ClassesThe USB organization defines many classes for different USB
Commenti su questo manuale