B&B Electronics Parallel Printer Card PIOC Manual de usuario Pagina 37

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 36
GHI Electronics,LLC USBwiz User Manual
USBwiz Command Set
Example 1 GT<SP>F<CR>
!00<CR>
01/20/2006<SP>-<SP>06:21:04<CR>
!00<CR>
Get time in formatted ASCII
format.
Example 2 GT<SP>X<CR>
!00<CR>
$34210000<CR>
!00<CR>
Get time in DWORD HEX.
VR - Get Version Number
It prints the version number of USBwiz firmware. Note that this version is not same or
related to the version number of the boot loader nor the OEM boards we offer.
Format VR<CR>
USBwiz<SP>M.mm<CR>
!00<CR>
M Major number
mm minor number
Example VR<CR>
USBwiz<SP>2.28<CR>
!00<CR>
BR - Set UART Baud Rate
UART defaults to 9600 at power up. This is extremely slow but some systems don’t
support faster bauds. The baud rate can be set to many different standard baud rates.
BR command sets the internal divider registers of the UART hardware. This way any
possible baud rate can be set. To calculate the divider value use (OSC*4/BaudRate/16)
The OSC we use on USBwiz is 14745600. The baud rate value is lost on reset and
UART goes back to 9600.
Format BR<SP>vvvv<CR>
!00<CR>
vvvv: WORD HEX Baud Rate
Divider
Example BR<SP>0020<CR>
!00<CR>
Baud Rate is 115200
Some common values:
Baud Rate Divider in decimal Divider in HEX
9600 384 0180
19200 192 00C0
38400 96 0060
57600 64 0040
115200 32 0020
921600 4 0004
RT - Reset Firmware
Format RT<SP>OK<CR>
Rev.2.27 Page 37 of 64 www.ghielectronics.com
Vista de pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 63 64

Comentarios a estos manuales

Sin comentarios