B&B Electronics Parallel Printer Card PIOC Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Mise en réseau B&B Electronics Parallel Printer Card PIOC. B&B Electronics Parallel Printer Card PIOC User manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 0
1 2 3 4 5 6 ... 63 64

Résumé du contenu

Page 1 - USBwiz User Manual

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

Page 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

Page 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#

Page 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

Page 5

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 11

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

Page 12

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

Page 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

Page 14

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

Page 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

Page 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

Page 17

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

Page 18

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

Page 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

Page 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

Page 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

Page 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,

Page 23 - 1. USBwiz Functions

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

Page 24

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

Page 25

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

Page 26

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

Page 27

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

Page 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

Page 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

Page 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

Page 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>

Page 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

Page 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

Page 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

Page 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

Page 36

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

Page 37 - RT - Reset Firmware

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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<

Page 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

Page 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

Page 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

Page 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>!

Page 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

Page 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>

Page 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

Page 54

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 60 - Error Codes

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

Page 61

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

Page 62

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

Page 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

Page 64 - DISCLAIMER

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

Commentaires sur ces manuels

Pas de commentaire