Buy Contact NSDSP Home

nsdsp_config_lvp

This function forces LVP configuration bits to the specified value when programming.

Syntax

void nsdsp_config_lvp(
        nsdsp_t           nsdsp,
        int               force,
        int               value
);

Parameters

nsdsp - a reference to the NSDSP object returned by nsdsp_connect function

force - non-zero to force the setting, zero otherwise

value - the value to use for LVP, ignored if force is zero

Notes

Some of the target devices cannot program the LVP bit to OFF when using Low Voltage Programming (LVP). Therefore, if the LVP bit is set to OFF in the HEX file, programming will fail. To ensure successful programming in such cases, you can force the LVP bit to ON.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

© 2007-2025 Northern Software Inc. All Rights Reserved.