nsdsp_use_method
nsdsp_ignore_eeprom nsdsp_ignore_uid nsdsp_allow_otp nsdsp_config_jtag nsdsp_config_debug 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_use_method
This function specifies a programming method
Syntax
void nsdsp_use_method(
nsdsp_t nsdsp,
int method
);
Parameters
nsdsp - a reference to the NSDSP object returned by nsdsp_connect function
method - one of the following constants
Value | Constant | Method |
---|---|---|
0 | NSDSP_METHOD_DEFAULT | The default programming method for the device |
1 | NSDSP_METHOD_LVP | Low voltage ICSP programming (LVP) |
2 | NSDSP_METHOD_HVP | High voltage ICSP programming (HVP) |
The target device must support the method you select. You can find out if it does by calling mcu_can_use_method function.
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.