ZSP File I/O Procedures
Real-time file I/O through Host Port Interface

Domain Technologies home page Products description Product support Software updates and evaluations Contacts Online ordering

PC side application

ZSP side application

Download links

The file I/O operation is demonstrated on the DT402EB board connected to the PC through the HPI-USB 1.1 or HPI-USB2 adapter.

Visit our electronic store for both U.S. and International orders.

PC GUI operation

Controls description:
  • Find - check for connected HPI interfaces
  • Open/Close - Connect or disconnect to selected interface
  • 8-bit mode - Used for ZSP403, 8 bit HPI
  • Enable auto receive on start - autoinitialize operation, everytime application is started
  • Browse/Load - not implemented
  • Show stdout - enable separate panel for ZSP stdout display
  • Show timestamp - three states: off, absolute, relative
  • AutoOff/Words/Bytes - control HPI-USB monitor for receiving data from ZSP
  • Clear - clear dialog panels
  • Read/Write value - single shot access to the HPI

 

ZSP application

The sample ZSP application is distributed with the ZView version 1.1.0 or later. The project HpiFileIo is a simple test application utilizing hpidev library (included as another project), and built into the ZSP runtime libraries features of redirecting stdout/stderr streams.
The ZSP application will aut-detect presence of the HPI adapter, and if it is not found, it will use JTAG emulator access routines. File I/O redirection mechanism allows for implementation of different data transfer methods, where used here HPI is just an example.
 

Download Links

hpifileio_pc_src.zip PC GUI sources - VC7/VC8
hpifileio_exe.zip PC executable

Home      Products      Support      Downloads      Contacts      e-shop
© 2004, Domain Technologies, Inc., 811 E Plano Pkwy, Suite 115, Plano, TX 75074, Tel. 972-578-1121, Fax: 972-578-1086
E-Mail Us: info@domaintec.com, http://www.domaintec.com