nsdsp_config_lvp
nsdsp_config_cksw nsdsp_config_wdt nsdsp_reset_after_prog nsdsp_set_debug_magic nsdsp_set_debug_rom nsdsp_set_debug_ram nsdsp_set_debug_cores nsdsp_start_spi_session nsdsp_start_uart_session nsdsp_start_prog_session nsdsp_start_debug_session nsdsp_end_sessionnsdsp_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
© 2007-2025 Northern Software Inc. All Rights Reserved.