IPL-ST7 SofTec Microsystems SRL, IPL-ST7 Datasheet

no-image

IPL-ST7

Manufacturer Part Number
IPL-ST7
Description
PROGRAMMING LIBRARY FOR ST7 DLL
Manufacturer
SofTec Microsystems SRL
Type
Programming Library (DLL)r
Datasheet

Specifications of IPL-ST7

For Use With/related Products
ST7 Flash MCUs
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
520-1026
IPL-ST7
inDART
Programming
Library
Programmer’s Manual
Copyright © 2003 SofTec Microsystems
®
DC00629

Related parts for IPL-ST7

IPL-ST7 Summary of contents

Page 1

... IPL-ST7 inDART Programming Library Programmer’s Manual Copyright © 2003 SofTec Microsystems ® DC00629 ...

Page 2

... E-mail (technical support): support@softecmicro.com Web: http://www.softecmicro.com Important SofTec Microsystems reserves the right to make improvements to the IPL-ST7 Programming Library, its documentation and software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec Microsystems assumes no responsibility for its use; nor for any infringements of rights of third parties which may result from its use ...

Page 3

... Installing the SmartKey Driver 4. Copying the required DLLs to your application’s executable directory Programming Library Reference Using the Interface Library Functions Return Values of the Programming Library Functions Function Reference IPL_BlankCheck IPL_CheckDeviceProtection IPL_CloseCommunication IPL_EndProgramming IPL_Erase IPL_GetInfo IPL_OpenCommunication IPL_Program IPL_Read IPL_Run IPL_StartProgramming IPL-ST7 Programming Library ...

Page 4

... DLL is loaded at run time by its calling modules (.exe or .dll). When a DLL is loaded mapped into the address space of the calling process. The IPL-ST7 Programming Library is a DLL which includes all of the low-level functions that allow you to set up the instrument and perform, from within your own application, most of the programming commands and functions of the DataBlaze user interface ...

Page 5

... Install the inDART communication driver (LPT or USB driver, depending on the inDART model). 3. Install the SmartKey driver (the SmartKey is the provided USB dongle which must be connected to a USB port in order for the IPL-ST7 Programming Library to work—it’s an anti-piracy protection system). 4. Copy the IPL_ST7.dll application’ ...

Page 6

... Contains a Visual C sample project which uses the IPL-ST7 programming library. Contains the driver for the SmartKey dongle, which must be connected to a USB port in order for the IPL-ST7 programming interface to work. Interface Library Contents and files for Visual ...

Page 7

... HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ , Key = TVicLPT HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ , Key = TVicLPT String HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ , Key = TVicLPT d. Reboot the PC. To install the USB driver for the inDART-ST7F model: IPL-ST7 Programming Library directory to the <WINDOWS>\SYSTEM from the TVicLPT.sys Drivers\LPT directory; , Value = “ErrorControl” , Value = “Type” 0x00000001 , Value = “ ...

Page 8

... Drivers\USB\inDART-STX directory. SmartKey file) and Windows will automatically install the file and the appropriate IPL_ST7.dll file from the DLL\IPL_ST7 inDART_ST7.dll file (either from the DLLs\inDART_ST7 directory) to your application’s executable directory directory to directory to directory (which directory to your ...

Page 9

... Closing the communication with the instrument frees the parallel port or USB resource used during communication. Return Values of the Programming Library Functions Most of the IPL-ST7 Programming Library functions return a BOOL value which indicates whether the function has been successfully executed (return value = ...

Page 10

... Programming Library Reference Function Reference IPL_BlankCheck Include file: #include “IPL_ST7.h” Function prototype: BOOL IPL_BlankCheck (int mem_type, unsigned long start_addr, unsigned long len, BOOL *result, IPL_ProgressProc *callback); Parameters: : mem_type : start_addr : len : result : callback Page 10 the type of memory affected. Can be one of the ...

Page 11

... Note: this function must be called within an IPL_EndProgramming IPL_CloseCommunication Include file: #include “IPL_ST7.h” Function prototype: BOOL IPL_CloseCommunication (void); IPL-ST7 Programming Library void IPL_ProgressProc (unsigned long); IPL_GetErrorMessage block. IPL_GetErrorMessage variable) whether the code memory of block. function / ...

Page 12

... Description: Closes the communication with the instrument and frees the parallel port or USB resource used during communication. IPL_EndProgramming Include file: #include “IPL_ST7.h” Function prototype: BOOL IPL_EndProgramming (void); Return value: : the function was successful. TRUE : an error occurred. Call the FALSE to get extended error information ...

Page 13

... FALSE to get extended error information. Description: Erases a portion of the target device’s memory. Note: this function must be called within an IPL_EndProgramming IPL-ST7 Programming Library the type of memory affected. Can be one of the following values: IPL_MEMORY_CODE IPL_MEMORY_DATA IPL_MEMORY_OPTION the start address. When erasing the Option Bytes, set this parameter to ...

Page 14

... TRUE : an error occurred. Call the FALSE to get extended error information. Description: Returns a string containing the version of the IPL-ST7 Programming Library and the version of the underlying IPL_OpenCommunication Include file: #include “IPL_ST7.h” Function prototype: BOOL IPL_OpenCommunication (int comm_channel, ...

Page 15

... MHz). Depending on the specific inDART board model and target device you are working with, this parameter is used by the IPL-ST7 Programming Library to correctly initialize the instrument. For further details, please refer to the appropriate inDART user’s manual. ...

Page 16

... IPL_Program Include file: #include “IPL_ST7.h” Function prototype: BOOL IPL_Program (int mem_type, unsigned long start_addr, unsigned long len, unsigned char *mem, BOOL *result, IPL_ProgressProc *callback); ...

Page 17

... BOOL *result, IPL_ProgressProc *callback); Parameters: : mem_type : start_addr IPL-ST7 Programming Library parameter must be callback function prototype must be defined as follows: void IPL_ProgressProc (unsigned long); IPL_GetErrorMessage block. the type of memory affected. Can be one of the following values: IPL_MEMORY_CODE ...

Page 18

... You can use this feature to display a progress bar while the target’s memory contents are being read. If this feature is not used, the parameter must be . The callback function NULL prototype must be defined as follows: void IPL_ProgressProc (unsigned long); IPL_GetErrorMessage block start_addr for devices 1 ...

Page 19

... IPL_EndProgramming prepares the inDART board to perform programming operations, and turns on the “BUSY” LED (if present on the inDART board). An user application can have as many IPL_EndProgramming operation is called within them. IPL-ST7 Programming Library IPL_GetErrorMessage IPL_StartProgramming block. IPL_GetErrorMessage IPL_StartProgramming block. The ...

Page 20

...

Related keywords