Buy Contact NSDSP Home

nsdsp_debug_can_swap

This function determines if the device has swappable partitions which can be swapped during the debug session.

Syntax

int nsdsp_debug_can_swap(
        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 device has swappable partition, or zero otherwise.

Notes

Some of the devices, such as PIC32MZ, have swappable partitions permanently. For such devices this function always returns non-zero.

Other devices, such as dsPIC33CK, do not normally have swappable partitions, but may be partitioned. For such devices, this function returns non-zero only if the target device is partitioned (nsdsp_debug_is_partitioned returns non-zero).

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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