Buy Contact NSDSP Home

mcu_partition

This function changes the MCU object so that it represents a partitioned device.

Syntax

int mcu_partition(
        mcu_t             mcu
);

Parameters

mcu - a reference to the MCU object returned by mcu_create or mcu_get_slave_core function.

Return

The function returns non-zero if the MCU object has been changed as requested, or zero otherwise.

Notes

The function changes the MCU object. After this function, the MCU object represents a partitioned device. This will affect other functions such as mcu_test_memory or mcu_can_swap. There is no reverse operation. If you partition the MCU object, it is permanent.

This function does not affect device programming. If you want to partition your target device, you should partition the Hex Map instead. Typically, the HEX file is partitioned by the compiler. However, if you have built the Hex Map by yourself, you need to partition it manually with hex_map_partition, as shown in the example for hex_map_merge function.

 

Minimum library version - 163

Northern Software Home NSDSP Contact Us Purchase/View Cart

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