GetProtectionList
Fills the output buffer with the list of protections supported by a given device.
Note: Protection is an optional state that allows user to protect some reserved addresses, for
instance the RC Calibration bytes for some ST7LITE microcontrollers. When protection is
set, the relevant addresses are not programmed (see ESetProtection).
In the Output buffer, the items in the list are separated by ’\n’.
When the function returns an error, the error is due to a database access problem. Use the
CGetLastError function to retrieve the error message.
Prototype: int GetProtectionList(const char*szDeviceName, char* szListBuffer, int
iBufferSize)
Parameters:
szDeviceName: device name
szListBuffer: output buffer that contains the list of protection options supported by the
device
iBufferSize: size of the output buffer
Return: 0 if error, 1 if success
这个是STVP programming toolkit的文档,但是看不出还需要调用什么函数,开启特别的东西。
那些配置参数都是正常的,因为我调用编程接口/检测空片接口 都是能够正常工作的.
有没有遇到此问题的大侠,或者能够正常使用此函数的大侠支持一下啊
|