nsdsp_get_error
nsdsp_get_serial nsdsp_get_version nsdsp_adjust_vdd nsdsp_adjust_vpp nsdsp_set_vdd_override nsdsp_set_rate nsdsp_set_flow_control nsdsp_use_alt_mclr 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_get_error
The NSDSP object stores the text of the last error caused by operations involving the NSDSP object as well as Session objects linked to it. This function returns the text of the error.
Syntax
void nsdsp_get_error(
nsdsp_t nsdsp,
char* error
);
Parameters
nsdsp - a reference to the NSDSP object returned by nsdsp_connect function
error - the buffer to be filled with the error message. The buffer must be at least 512 characters long.
On Windows, there are two versions of this function - nsdsp_get_error_a (for ASCII) and nsdsp_get_error_w (for UNICODE). The "nsdspif.h" file maps nsdsp_get_error to one of these functions depending on whether UNICODE is defined or not.
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.