Buy Contact NSDSP Home

nsdsp_session_erase

This function performs bulk erase.

Syntax

int nsdsp_session_erase(
        nsdsp_session_t   session
);

Parameters

session - a reference to the Session Object

Return

The function returns non-zero if erase succeeded or zero otherwise. If it 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.

You do not need to perform bulk erase when your goal is to program the chip. The nsdsp_session_program function already includes bulk erase.

 

Supported session types: program

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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