Buy Contact NSDSP Home

nsdsp_session_read

This function reads data from the target device

Syntax

int nsdsp_session_read(
        nsdsp_session_t   session,
        hex_map_t         hex_map
);

Parameters

session - a reference to the Session Object

hex_map - a Hex Map object containing ranges to be read. The function will read the data and fill it in the Hex Map.

Return

The function returns non-zero if reading succeeds, or zero otherwise. If reading fails, you can use nsdsp_get_error to retrieve the error message.

Notes

After successful completion, the type of the session changes to idle or SPI depending on the nsdsp_reset_after_prog setting. If the operation fails, the session becomes idle.

 

Supported session types: program

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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