IPL-ST7 SofTec Microsystems SRL, IPL-ST7 Datasheet - Page 13

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
Function prototype:
Parameters:
Return value:
Description:
BOOL IPL_Erase
(int mem_type,
unsigned long start_addr,
unsigned long len,
BOOL *result,
IPL_ProgressProc *callback);
mem_type
start_addr
len
result
callback
TRUE
FALSE
Erases a portion of the target device’s memory.
Note: this function must be called within an
IPL_EndProgramming
:
:
:
:
:
:
:
the function was successful.
an error occurred. Call the
to get extended error information.
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
the number of bytes (starting from
erase. When erasing the Option Bytes, this parameter
is
with 1 Option Byte.
returns
otherwise.
specifies the address of a callback function which will
get the progress (a value from 0 to 100) of the erasing
operation. You can use this feature to display a
progress bar while the target’s memory is being
erased. If this feature is not used, the
parameter must be
prototype must be defined as follows:
void IPL_ProgressProc (unsigned long);
2
block.
for devices with 2 Option Bytes, and
TRUE
if the erasing was successful,
0
.
NULL
IPL_GetErrorMessage
IPL-ST7 Programming Library
. The callback function
IPL_StartProgramming
start_addr
callback
1
FALSE
for devices
function
Page 13
) to
/

Related parts for IPL-ST7