The information provided below is independent from any tool chain and any platform. It's about static memory allocation required to support Agnos Framework (threre is no dynamic allocation as per coding pattern). Hence, it presents RAM consummation benchmark established from the following system parameters (see Appendixes):
MAX_SUPPORTED_AID = 30 (datamngr.h)
MAX_KERNEL = 25 (datamngr.h)
MAX_AID = 15 (datamngr.h)
MAX_COMBINATION_PER_TRANSACTION_TYPE = 65 (datamngr.h)
MAX_SIMULTANEOUS_SESSION = 65 (datamngr.h)
MAX_DRL_SET = 4 (datamngr.h)
ONLINE_BUFFER_SIZE = 3000 (datamngr.h)
MAX_SUPPORTED_ADF = 10 (agnostypes.h)
AGNOSK compilation symbol = DEFINED (Agnos library)
AGNOSCL compilation symbol = DEFINED (Agnos library)
AGNOSISR compilation symbol = DEFINED (Agnos library)
AGNOSCPL compilation symbol = DEFINED (Agnos library)
AGNOSFMSG compilation symbol = DEFINED (Agnos library)
SIZE_FOR_EMV_TAGS = 11500 (sharedram.c)
SIZE_FOR_EMV_UNKNOWNTAGS = 2500 (sharedram.c)
FREE_SIZE_RAM = 3000 (sharedram.c)
SIZE_FOR_PAYPASS_TORN = 0 (sharedram.c)
SIZE_FOR_CL_DATA_OBJECT = 10000 (sharedram.c)
MAX_CHARACTER_PER_LINE = 16 (display.h)
MAX_NB_LANGUAGE = 2 (display.h)
MAX_STRING_LENGTH = 50 (display.h)
NB_EMV_STRINGS = 34 (display.h)
NB_ACQUIRER_STRINGS = 25 (display.h)
MAX_NUMBER_ITEMS = 10(select.h)
MAX_ITEM_NAME_LENGTH = 16 (select.h)
REPLAY compilation symbol = NOT DEFINED (CAD library)
LOG compilation symbol = NOT DEFINED (Platform library)
TIME_STAMP compilation symbol = NOT DEFINED (Platform library)
Library | RAM (kB) | Comment |
---|---|---|
GPI/Platform | 27.3 | Shared RAM containing all EMV tags and torn transactions |
GPI/CAD | < 1 | n/a |
GPI/HSM | < 1 | n/a |
GPI/SPED | 6.3 | String tables and Selection List (contact only) |
AgnosDB | < 1 | n/a |
Agnos | < 5.6 | Transactional context |
AgnosMW | 17.8 | Instanciated data model |
AgnosEP | 21.9 | Working buffers for entry point indicators and kernels services management |
AgnosGE | < 1 | n/a |
ACE2P | 3.6 | Working buffers for online communication with ACE |
EMVCo | 3.8 | EMVCo context for ADF selection management |
C-1 | n/a | n/a |
C-2/MasterCard | 4.5 | Working buffers for online clean messages management |
C-3/Visa | 1.1 | n/a |
C-4/American Express | 1.5 | n/a |
C-5/JCB | < 1 | n/a |
C-6/Discover | 1.1 | n/a |
C-7/CUP | < 1 | n/a |
PURE | n/a | n/a |
EFTPOS | n/a | n/a |
Interac | n/a | n/a |
TestKernel | < 1 | n/a |
Kizis/DualCertificationLevel3 | 28.5 | Payment and Outcome contexts |
Tool Chain Examples | ROM (kB) | RAM (kB) | Comment |
---|---|---|---|
IAR code | 275 kB | 110 kB | all major kernels along with Kizis provided to TA session |
IAR code | 220 kB | 105 kB | C2, C3, C4 along with Kizis provided to TA session |