_wipe_secondary Function

Erases the Secondary core to the erase state.

Include

<libpic30.h>

Prototype

int _wipe_secondary(int secondary_number)

Arguments

secondary_number Identifier of the Secondary core to be programmed. The identifier for the first Secondary core is 1.

Return Value

Remarks

None.

Default Behaviour

The _wipe_secondary routine can be used to completely wipe the PRAM memory of the Secondary core. This routine will always wipe the entire memory range, even if dual partition mode is selected.

File

wipe_secondary.c (in libpic30.zip>data_init_dualch.S)