104
6
6.1
ChipProg Device Programmers
Programming Automation via DLL
Any ChipProg programmer can be controlled not only by an operator from the ChipProgUSB user
interface but also from an external computerized environment, mostly for the programming automation.
This chapter describes how to integrate a ChipProg programmer into an external environment by means
of the Phyton's proprietary Application Control Interface (hereafter ACI). Remember that the
Application Control Interface use requires the ChipProg to be driven from a PC under Windows XP, Vista
or 7.
Application Control Interface
What is the Application Control Interface?
The Application Control Interface (hereafter ACI ) is a set of proprietary Phyton software allowing
integration the ChipProg programmers into an external computerized environment. The ChipProgUSB
software includes three Application Control Interface components:
ACI.DLL file that specifies a set of ACI functions , which can be invoked from external applications to
perform programming operations. This DLL is completely conformable to the Microsoft's dynamically-
linked shared library concept.
2) The aciprog.h header file written in the C/C++ language that lists all the ACI functions exported
to the ACI.DLL.DLL and the structures associated with these functions.
3) A few program examples that control programmers from external applications
Requirements and Restrictions
1) The ChipProgUSB software must be installed on the computer that controls the operations
(hereafter the instrumental or host computer). The latest ChipProgUSB software version is available
for free download from the http://www.phyton.com/htdocs/support/update.shtml webpage.
2) The ACI.DLL.DLL requires an operational system Windows 98/ME/2000/XP/Vista and newer.
3) It is necessary to position the windows.h file before the aciprog.h file in the application
program.
How does the Application Control Interface works?
The ACI.DLL launches the programmer executable file by means of the ACI_Launch() function and then
controls the ChipProgUSB software by calling other ACI functions. The ChipProg executable, universal
for all USB-hosted programmers, is the UProgNT2.exe .
Each ACI function, being called by an external application, sends back to this application a unique
function return code. The return code constants - ACI_ERR_xxx - are defined into the aciprog.h
An external application can call either an ACI function without any parameter (just by the function name)
or by the function name with adding a pointer to the structure of parameters. The very first parameter of
any structure is always the 'UNIT size' parameter that defines the structure size. This insures
compatibility of different ACI.DLL versions. The only exemption is the function ACI_IDECommand() -
here we sacrificed uniformity of the structure format in behalf of the pseudo-function declaration
simplicity.
? 2010 Phyton, Inc. Microsystems and Development Tools
相关PDF资料
CHUSBWB-2 BATT CHARGER AA/AAA W/2AAA CELLS
CK-S6-SP623-G BOARD DEV S6 WITH TX
CK-V6-ML628-G KIT VIRTEX-6 CHAR ML628
CLSD004 LED DRIVER PROGRAMMER W/CABLE
CMC484812 RACK STEEL 12X48X48 GRY
CMCQP3 PANEL INNER 25.59X15" GREY
CML12C32SLK KIT STUDENT LEARNING 16BIT HCS12
CMR-8040 RACK CABLE MANAGMNT OPEN ASSMBLY
相关代理商/技术参数
CHIPPROG-G41 功能描述:PROGRAMMER GANG 4 SOCKET RoHS:是 类别:编程器,开发系统 >> 独立编程器 系列:- 产品目录绘图:CHIPPROG-G4 标准包装:1 系列:- 类型:成组编程器 适用于相关产品:EEPROM,EPROM,FLASH,MCU,NVRAM,PLD 所含物品:编程器,线缆,CD 产品目录页面:598 (CN2011-ZH PDF) 相关产品:AE-TS56-16I-3-ND - ISP CABLEADAPTER 14-PIN HEADERAE-TS40N-ND - ADAPTER SOCKET 40-TSOP TO 40-DIPAE-TS32N-ND - ADAPTER SOCKET 32-TSOP TO 32-DIPAE-TS28-ND - ADAPTER SOCKET 28-TSOP TO 28-DIPAE-T44-P16-ND - ADAPTER SOCKET 44-QFP TO 40-DIPAE-T44-I51/505-ND - ADAPTER SOCKET 44-QFP TO 40-DIPAE-SS56-16I-ND - ADAPTER SOCKET 56-SSOP TO 40-DIPAE-SP8U-ND - ADAPTER SOCKET 8-SSOP TO 8-DIPAE-SP28U2-ND - ADAPTER SOCKET 28-SSOP TO 28-DIPAE-SP28U1-ND - ADAPTER SOCKET 28-SSOP TO 28-DIP更多...
CHIPPROG-ISP 功能描述:PROGRAMMER IN-SYSTEM UNIVERSAL RoHS:是 类别:编程器,开发系统 >> 内电路编程器、仿真器以及调试器 系列:- 产品变化通告:Development Systems Discontinuation 19/Jul/2010 标准包装:1 系列:* 类型:* 适用于相关产品:* 所含物品:*
CHIPS CAPACITOR 0.015UF 50V CERAMIC 制造商:AVX Corporation 功能描述:CHIPS CAPACITOR 0.015UF50VCERAMIC*NIC*
CHIPS-IN-DIPS 制造商:未知厂家 制造商全称:未知厂家 功能描述:ASIC
CHIPT1593CSE6327X1SA1 制造商:Infineon Technologies AG 功能描述:RF SILICON MMIC - Gel-pak, waffle pack, wafer, diced wafer on film
CHIPV6 制造商:JDSU 制造商全称:JDS Uniphase Corporation 功能描述:The industrya??s most compact 100 G test solution
CHIS-24 制造商:Mencom 功能描述: