mcu_partition
mcu_can_swap mcu_test_memory mcu_hex_factor mcu_instruction_bits mcu_config_bits mcu_eeprom_bits mcu_uid_bits mcu_instruction_spacing mcu_config_spacing mcu_eeprom_spacing mcu_uid_spacing mcu_erase_page_size mcu_write_row_size mcu_id mcu_can_use_method mcu_can_debug mcu_debug_cap mcu_bp_classes mcu_bp_class_first mcu_bp_class_count mcu_bp_class_cap mcu_bp_class_max_count mcu_debug_rom_reserve mcu_debug_ram_reservemcu_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
© 2007-2025 Northern Software Inc. All Rights Reserved.