B&B Electronics Parallel Printer Card PIOC Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Sítě B&B Electronics Parallel Printer Card PIOC. B&B Electronics Parallel Printer Card PIOC User manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
USBwiz User Manual
Rev.2.27 Date: April 20, 2009 User Manual
Document Information
Information Description
Abstract This document covers complete information about
USBwiz, specifications, tutorials, and references.
G H I E l e c t r o n i c s
Zobrazit stránku 0
1 2 3 4 5 6 ... 63 64

Shrnutí obsahu

Strany 1 - USBwiz User Manual

USBwiz User ManualRev.2.27 Date: April 20, 2009 User ManualDocument InformationInformation DescriptionAbstract This document covers complete informati

Strany 2 - Table of Contents

GHI Electronics,LLC USBwiz User ManualPin-Out and Description3. Pin-Out and DescriptionThe following table includes brief description about USBwiz chi

Strany 3 - 1. Introduction

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#

Strany 4 - 1.3. USBwiz Circuit Boards

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

Strany 5

GHI Electronics,LLC USBwiz User ManualCommunication Interface selection4. Communication Interface selection4.1. Selecting an InterfaceUSBwiz uses U

Strany 6 - 2. USBwiz Architecture

GHI Electronics,LLC USBwiz User ManualCommunication Interface selectionpins for handshaking. SPI_SSEL, SPI_SCK, SPI_MISO, and SPI_MOSI are the standar

Strany 7 - 2.2. LPC2134 Microcontroller

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

Strany 8 - 2.5. USB Hosting

GHI Electronics,LLC USBwiz User ManualGetting Started with USBwiz5. Getting Started with USBwizThe following chapter give simple steps to get USBwiz w

Strany 9 - USB supported Devices:

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

Strany 10 - 3. Pin-Out and Description

GHI Electronics,LLC USBwiz User ManualGetting Started with USBwiz4. Reset the chip and you will get the GHI electronics banner s

Strany 11

GHI Electronics,LLC USBwiz User ManualGetting Started with USBwizμPICFAT™ Development BoardFor even easier and faster startup, GHI offers a developmen

Strany 12

GHI Electronics,LLC USBwiz User ManualTable of ContentsTable of Contents1.Introduction...

Strany 13 - 4.3. SPI Interface Mode

GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions6. 1. USBwiz Functions6.1. CommanderThe commands and response in USBwiz are mad

Strany 14

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsMD USBWIZ Create “USBWIZ” folderCD USBWIZ Change the current folder access to “U

Strany 15 - 4.4. I2C Interface Mode

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsKeyboardMost keyboards return 8 bytes in the HID report which are decoded as follows:First by

Strany 16 - Step-by-Step:

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

Strany 17

GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions49 Keyboard Insert4A Keyboard Home4B Keyboard PageUp 4C Keyboard Delete Forward4D Keyboard En

Strany 18

GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions7A Keyboard Undo 7B Keyboard Cut 7C Keyboard Copy 7D Keyboard Paste 7E Keyboard Find 7F

Strany 19

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

Strany 20 - 6. 1. USBwiz Functions

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsExample: This example is taken from USB HID specifications. It assumes a 4-bytes HID report

Strany 21 - 6.3. USB Mass Storage

GHI Electronics,LLC USBwiz User Manual1. USBwiz Functions6.5. USB PrintersUSBwiz Printer driver support those that have interface with unidirectional

Strany 22 - Keyboard

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsUP 0Now you can preform any printer commands, such as reset.PR 0The actual print command PP,

Strany 23 - 1. USBwiz Functions

GHI Electronics,LLC USBwiz User ManualIntroduction1. IntroductionUSBwiz is an optimized solution for easy interfacing almost any embedded system to US

Strany 24

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsStage 2:Load device descriptor into the internal Buffer,LD 0>DThis is an optional command,

Strany 25

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsSIFind an Endpoint that belongs to the previously found InterfaceFE 03 02transfer= interrupt,

Strany 26

GHI Electronics,LLC USBwiz User Manual1. USBwiz FunctionsRev.2.27 Page 32 of 64 www.ghielectronics.com

Strany 27

GHI Electronics,LLC USBwiz User ManualUSBwiz Command Set7. USBwiz Command SetAll commands below are entered in ASCII. We choose to

Strany 28 - 6.5. USB Printers

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCommand Description Command DescriptionZF Resize File DF Delete FileIF Find File or Folder ND

Strany 29 - 6.7. Raw USB Access

GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setfurther commands.● Some commands have multiple error codes !xx, usually, the first error code

Strany 30

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

Strany 31

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetExample 1 GT<SP>F<CR>!00<CR>01/20/2006<SP>-<SP>06:21:04<CR>

Strany 32

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetEE - Enable/Disable EchoTo echo the sent data to USBwiz.Format EE<SP>h<CR>!00<C

Strany 33 - 7. USBwiz Command Set

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetFormat FM<SP>d<CR>!00<CR>$mm<CR>!00<CR>Mount File System for dev

Strany 34

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

Strany 35 - <SP>d<CR>

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetUM - Register USB Mass StorageUSB Memory register command. Use it in case you need to read or

Strany 36

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetNF - Get Next Directory EntryThis command will print out the Directory Entry “File or Folder”

Strany 37 - RT - Reset Firmware

GHI Electronics,LLC USBwiz User ManualUSBwiz Command Setsubdirectories.Format RD<SP>foldername<CR>!00<CR>Example RD<SP>MYFOLDE

Strany 38 - FM - Mount File System

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCF - Close File HandleThis command issues a flush file (FF – Command) automatically and then c

Strany 39 - II - Get USB Device Info

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

Strany 40 - QF - Quick Format Media

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

Strany 41 - RD - Remove Directory

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetPF - Seek FileThis command changes the file pointer position. File must be opened in read mode

Strany 42 - FF - Flush File Data

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetExample IF<SP>TEST.TXT<CR>!00<CR>$00000F34<SP>$00<SP>$34210000&l

Strany 43 - WF - Write to File

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetHR - Read HID ReportThis command read HID Report data. It also returns HID Report Size.Format

Strany 44

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetPP - Send Data to USB Printer to printFormat PP<SP>p>ss<CR>!00<CR>Data to

Strany 45 - SF - Split file

GHI Electronics,LLC USBwiz User ManualIntroductionThanks to USBwiz chip, through RS232, UART, SPI or I2C interfaces you can access many USB devices, i

Strany 46 - IF - Find File or Folder

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetData to device!00<CR>Example SW<SP>0>3<CR>!00<CR>AT<CR>!00<

Strany 47 - ND - Rename File or Folder

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetCK - Check KeyChecking the stored key:1. The user application will generate a random

Strany 48 - PS - Get USB Printer Status

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetTF - Print FileThis command transfers a file from a connected storage media

Strany 49 - SW - Write to Serial Device

GHI Electronics,LLC USBwiz User ManualUSBwiz Command Set!00<CR> assign handle number 0 to it.UR - Release USB Device Handle (Raw Command)Release

Strany 50 - SK - Store Key

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetSC - Set Configuration (Raw Command)Set USB configuration.Format SC<SP>h>n<CR>!

Strany 51 - CK - Check Key

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

Strany 52 - TF - Print File

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetSS<SP>h>tt<SP>rr<SP>vvvv<SP>iiii<SP>lll<CR>!00<CR>

Strany 53

GHI Electronics,LLC USBwiz User ManualUSBwiz Command SetWP - Write Pipe (Raw Command)Format WP<SP>p>ss<CR>!00<CR>User sends ss by

Strany 54

GHI Electronics,LLC USBwiz User ManualUSBwiz Boot Loader8. USBwiz Boot Loader8.1. General DescriptionThe boot loader is used to update the firmware of

Strany 55

GHI Electronics,LLC USBwiz User ManualUSBwiz Boot Loaderversion number of the boot loader may not match the version number of USBwiz.Important Note: U

Strany 56 - RP - Read Pipe (Raw Command)

GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2. USBwiz ArchitectureUSBwiz is a single chip that performs all work needed for

Strany 57 - WP - Write Pipe (Raw Command)

GHI Electronics,LLC USBwiz User ManualError CodesError CodesValue (HEX) Description00 Operation has passed successfully.01 Failed to read sector from

Strany 58 - 8. USBwiz Boot Loader

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

Strany 59 - 8.3. Firmware Update

GHI Electronics,LLC USBwiz User ManualError CodesValue (HEX) Description91 USB Mass Storage device uses unsupported protocol.92 USB Mass Storage devic

Strany 60 - Error Codes

GHI Electronics,LLC USBwiz User ManualUSBwiz EventsUSBwiz EventsValue (HEX) Description01 SD inserted.02 SD removed.20 Failed to initialize ISP1160.30

Strany 61

GHI Electronics,LLC USBwiz User ManualDISCLAIMERDISCLAIMERIN NO EVENT SHALL GHI ELECTRONICS, LLC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,INDIREC

Strany 62

GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.1. Block Diagram2.2. LPC2134 MicrocontrollerThe LPC2134 microcontroller is based on a 32/

Strany 63 - USBwiz Events

GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.3. CommanderUSBwiz uses LPC2134 UART, SPI or I2C to let the user communicate with boot loa

Strany 64 - DISCLAIMER

GHI Electronics,LLC USBwiz User ManualUSBwiz Architecture2.6. Supported USB Client ClassesThe USB organization defines many classes for different USB

Komentáře k této Příručce

Žádné komentáře