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_version
This function returns the version number of the NSDSP programmer connected to the NSDSP object.
Syntax
int nsdsp_get_version(
nsdsp_t nsdsp
);
Parameters
nsdsp - a reference to the NSDSP object returned by nsdsp_connect function
Return
The function returns the version number.
Notes
NSDSP Programmer version number is a 4-digit BCD number which consists of hardware version and firmware version. The first 2 digits represent the hardware version (for example 01 for NSDSP-1, 02 for NSDSP-2 etc.) and the last 2 digits represent the firmware version. For example, 0x0205 represents NSDSP-2 with firmware version 05.
The firmware version may be higher than the library can support. In this case, you should disconnect from the programmer and should get newer version of the library. You can verify the compatibility by passing the version number to nsdsp_version_ok function.
Minimum library version - 163
© 2007-2025 Northern Software Inc. All Rights Reserved.