Load the parameter file of MicomPack that matches the target microcontroller you are using.
After loading the parameter file, the ROM Block Configuration setting will be set to match the specifications of the target microcontroller, so do not change any settings other than the execution skip setting
(block size = 00000001) described below. Similarly, do not change the Flash ROM Area (First Address / Last Address) settings from the default values.*Please contact our sales representative to inquire about support for unsupported micros, such as models with different flash memory capacities.
ROM Block Configuration defines the block configuration of flash memory.
- A flash memory block is the smallest unit for erasing flash memory.
- Flash memory cannot be erased in single byte units, but in blocks.
*Depending on the device specifications, some devices can erase the entire area at once, but erasure is usually performed block by block. Flash memory must be erased before it can be written to.
The ROM Block Configuration registers the address where the block size changes and the block size.
- The block size of the target device may vary depending on the address range, depending on the device specifications.
- NETIMPRESS may treat multiple memory areas with distant addresses (for example, Code flash and Data flash) as a single virtual contiguous address area in buffer memory. For details, refer to the manual for the MicomPack you are using.
- Even if the block size is the same across a contiguous address range in buffer memory, if the areas are different (for example, Code flash and Extended user area in Setting Example 1 below), you must set the block size for each area.* Setting the block size to 1 does not mean that the actual block size is 1 byte; NETIMPRESS recognizes this as an area where device function execution will be skipped.
<Configuration Example 1> Micom Pack FRX830M02 (for RH850/F1L 1MB Flash (ECO/ADVANCED)) Configuration
- The block size for the code flash address range 0x00000000 to 0x0000FFFF is 8KB (8KB x 8 blocks).
- The block size for the code flash address range 0x00010000 to 0x000FFFFF is 32KB (32KB x 30 blocks).
- The block size for the extended user area address range 0x01000000 to 0x01007FFF is 32KB (32KB x 1 block).
- The block size for the data flash address range 0xFF200000 to 0xFF207FFF is 64bytes (64byte x 512 blocks).
*In buffer memory, each memory area of flash memory (code flash, extended user area, data flash) is defined as virtually contiguous addresses. Although Group 2 and Group 3 above settings are contiguous areas in buffer memory and have the same block size, the definition of the extended user area (Group 3) cannot be omitted because they are different memory areas.
*The actual block size of the data flash in Renesas RH850 series microcontrollers (such as definition program FRX830 and FRX833) is 0x40 (64 bytes), but the ROM Block Configuration defines the entire data flash as a single block. This is a setting that treats the data flash as a single block to speed up programmer processing, but it is not an incorrect setting. We ask that you do not change the block size to the original size of 0x40.
*Because data flash is defined as a single block, the programmer specifications do not allow you to specify and program (reprogram) a partial area of data flash.
<Configuration Example 2> For the same target MCU as Configuration Example 1, skip a portion of the code flash memory (0x00040000 to 0x0007FFFF) programming.
3. Set the block size of the starting address of the block to be skipped (0x00040000) to 1.
4. Set the original block size (0x8000) to program data from 0x00080000 onwards without skipping.
<Configuration Example 3> For the same target microcontroller as in Configuration Example 1 above, skip the extended user area (32KB) programming.
3. Set the block size of the starting address (0x00100000) of the target block to 1.