B.4.3. Cortex-R4 configuration parameters

Table B.19 describes the configuration parameters for the Cortex-R4 model.

Table B.19. Cortex-R4 model configuration parameters

ParameterDescriptionDefault
cfgnmfiConfigure non-maskable Fast Interrupts.False
dcachemaxData cache maximum size (0x0, 0x1, 0x3, 0x7, or 0xF Kb).0xF
dcacheminData cache minimum size (0x0, 0x1, 0x3, 0x7, or 0xF Kb).0x0
dtcmsizeData TCM size (0 to 14Kb).0x2000
hivecsLet exception vectors start at 0xFFFF0000.False
icachemaxInstruction cache maximum size (0x0, 0x1, 0x3, 0x7, or 0xF Kb).0xF
icacheminInstruction cache minimum size (0x0, 0x1, 0x3, 0x7, or 0xF Kb).0x0
initeeSet data endianness.False
initieSet instruction endianness.False
initramdEnable D-TCM at reset.False
initramiEnable I-TCM at reset.False
itcmsizeInstruction TCM size (0 to 14Kb).0x2000
loczramiSet initial I-TCM offset to 0x00000000.False
mpuregionsNumber of MPU regions (0, 8, or 12)0xC
nodcacheNo Data Cache.False
noicacheNo Instruction Cache.False
saveAndRestore-enable

When disabled the model:

  • can not save its state for a future session

  • can not pick up a saved state from a previous session.

There is a minimal overhead on the performance of the simulation when this is enabled.

False
semihosting-ARM_SVCThe ARM SVC used for semihosting. The value must be in the range 0 to 16777215 (0xFFFFFF).0x123456
semihosting-clock_frequency

Simulated clock frequency in MHz, which uses the elapsed time based on the number of instructions executed. The value must be in the range 1 to 4294967295 (0xFFFFFFFF).

Note

The number you specify has no relationship to the hardware processor.

0x32
semihosting-cmd_line

Semihosting command line string used for passing command-line arguments to an image. Separate each argument with a space, and quote any arguments that include a space, for example:

argument1 "argument 2" argument_3

 
semihosting-debugPrint verbose messages for semihosting.False
semihosting-enableEnable or disable semihosting.True
semihosting-Thumb_SVCThe Thumb SVC used for semihosting. The value must be in the range 0 to 16777215 (0xFFFFFF).0xAB
semihosting-heap_baseSemihosting heap base. The value must be in the range 0 to 4294967295 (0xFFFFFFFF).0x0
semihosting-heap_limitSemihosting heap limit. The value must be in the range 0 to 4294967295 (0xFFFFFFFF).0xF000000
semihosting-stack_baseSemihosting stack base. The value must be in the range 0 to 4294967295 (0xFFFFFFFF).0x10000000
semihosting-stack_limitSemihosting stack limit. The value must be in the range 0 to 4294967295 (0xFFFFFFFF).0xF000000
tcmhiinitaddrTCM High initialization address offset.0x40000000
teinitException handling state. Set processor to Thumb mode when entering an excpetion.False
warn-extraPrint some useful additonal warning messages.False
warn-undefinedPrint a warning when an undefined instruction is hit.False
Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0182I
Non-Confidential