Page tree
Skip to end of metadata
Go to start of metadata

Test Equipment


  • CPU: netX500
  • Compiler: Hitex GCC 4.0.3
  • Mode: ARM
  • Endianess: Little
  • cifX Toolkit V1.1.2.0

Code and static Data Size

 

cifX Toolkit Samplecode (.text)
[Byte]
constants (.rodata)
[Byte]
data (.bss / .data)
[Byte]
cifXDownload.c5780119041024
cifXFunctions.c127005796568
cifXHWFunctions.c82129370
cifXInit.c172681561224
cifXInterrupt.c217600
md5.c3280680
Sum49416343171616
Example Applicationscode (.text)
[Byte]
constants (.rodata)
[Byte]
data (.bss / .data)
[Byte]
ToolkitSample.c4888979268
HWFunctionsSample.c +
DEV_InterfaceUser.c
518081004

ATTENTION

Code and data usage by user supplied functions (e.g. malloc, strcmp, etc.) is NOT included in this table, as these are target system / OS dependent

Dynamic memory analysis

Global Data

Device Management    
 per Device1x LOCK_SIZELOCK_SIZE if the size of an allocated lockOS dependent
 per Device1xsizeof(DEVICEINSTANCE*)size depends on compiler/target CPU


Device Data

Polling Mode
Device Managementper Device684sizeof(DEVICEINSTANCE)size depends on compiler/target CPU
 per Device132sizeof(CIFX_DMABUFFER_T)
(Info) Optional (if CIFX_TOOLKIT_DMA is set)
 per Channel348sizeof(CHANNELINSTANCE) + sizeof(CHANNELINSTANCE*)
 per IO Area36sizeof(IOINSTANCE) + sizeof(IOINSTANCE*)
     
Reentrancy Protectionper Device3x MUTEX_SIZEMUTEX_SIZE is the size of an allocated mutex
LOCK_SIZE if the size of an allocated lock
OS dependent
 per Device2x LOCK_SIZE
 per Channel3x MUTEX_SIZE
 per Channel1x LOCK_SIZE
 per IO Area1x MUTEX_SIZE


Interrupt Mode (in addition to polling data)
IRQ Eventsper Device8x EVENT_SIZEEVENT_SIZE is the size of an allocated eventOS dependent
 per Channel16x EVENT_SIZE


Initialization (freed afterwards)

RAM-based (cifX)
PCI Configuration Spaceper Device256 Byte sizeof of PCI_COMMON_CONFIGmandatory for PCI cards
2nd Stage Loaderper Devicemax. 64 kBFilelength of NETX-BSL.binmandatory
Firmware Fileper Device / Channelmin. 250 kBFilelength of .NXF Filemandatory
Configuration Databaseper Channelmin. 1 kBFilelength of .NXD Fileoptional
Flash-based (COMX)
Firmware Fileper Device / Channelmin. 250 kBFilelength of .NXF Fileoptional
Configuration Databaseper Channelmin. 1 kBFilelength of .NXD Fileoptional


Typical Requirement per Device

  • CPU: 32 Bit, Little-Endian
  • OS: None
  • Reentrancy: Disabled (Mutex/Lock stubbed out)
  • IRQ Mode: Disabled
  • FW / Config Download: not used
  • Device Type: Flash-Based

 

Nr of Channels12
Nr of IO Areas per Channel44
Allocated DeviceData [Bytes]11761668

ATTENTION

Possible padding bytes and overhead caused by target system allocation routines are not included