Cart Contact NSDSP Home

nsdsp_debug_is_boot_swapped

This function determines if the boot flash is swapped.

Syntax

int nsdsp_debug_is_boot_swapped(
        nsdsp_session_t   session
);

Parameters

session - a reference to the Debug Session Object obtained with nsdsp_session_program_for_debug or nsdsp_start_debug_session function

Return

The function returns non-zero if the boot flash is swapped or zero otherwise.

Notes

This function is specific to dual boot PIC32M devices. These devices have two boot partitions and two boot aliases - the mapping of aliases may be swapped at boot, but then persists until the next boot.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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