Download RI600PX Real-Time Operating System User`s Manual: Coding
Transcript
RI600PX CHAPTER 20 SYSTEM CONFIGURATION FILE 20.23 RAM Capacity Estimation Memory areas used and managed by the RI600PX are broadly classified into four types of sections. - BRI_RAM section: The RI600PX’s management data, data queue area created by the system configuration file, message buffer area created by the system configuration file without specifying section - RRI_RAM section: The RI600PX’s management data (when dynamic creation function is used) - BURI_HEAP section: Fixed-sized memory pool area and variable-sized memory pool area created by the system configuration file without specifying section - SURI_STACK section: User stack area of tasks created by the system configuration file without specifying section - SI section: System stack area 20.23.1 BRI_RAM and RRI_RAM section The RI600PX’s management data is located in the BRI_RAM and RRI_RAM section. The Table 20-11 shows the size calculation method for the BRI_RAM and RRI_RAM section (unit: bytes). In addition, actual size may become larger than the value computed by Table 20-11 for boundary adjustment. Table 20-11 BRI_RAM and RRI_RAM Section Size Calculation Method Object Name Section Size Calculation Method (in bytes) BRI_RAM 28 + 4 × down( ( TMAX_TPRI - 1) / 32 + 1) + TMAX_TPRI + VTMAX_SEM + 2 × VTMAX_DTQ + VTMAX_FLG + VTMAX_MBX + VTMAX_MTX + 2 × VTMAX_MBF + VTMAX_MPF + VTMAX_MPL + 57 × VTMAX_DOMAIN RRI_RAMa 4 + VTMAX_SEM + 2 × VTMAX_DTQ + VTMAX_FLG + VTMAX_MBX + VTMAX_MTX + 2 × VTMAX_MBF + VTMAX_MPF + VTMAX_MPL BRI_RAM 28 × VTMAX_TSK RRI_RAMb 24 × VTMAX_TSK BRI_RAM 4 × VTMAX_SEM + down ( VTMAX_SEM / 8 + 1) RRI_RAMd 4 × VTMAX_SEM BRI_RAM 8 × VTMAX_FLG + 2 × down ( VTMAX_FLG / 8 + 1) RRI_RAMf 4 × VTMAX_FLG Data queue control blockg BRI_RAM 6 × VTMAX_DTQ+ down ( VTMAX_DTQ / 8 + 1) + DTQ_ALLSIZE RRI_RAMh 8 × VTMAX_DTQ Mailbox blocki BRI_RAM 8 × VTMAX_MBX + 2 × down ( VTMAX_MBX / 8 + 1) RRI_RAMj VTMAX_MBX BRI_RAM VTMAX_MTX + down ( VTMAX_MTX / 8 + 1) RRI_RAMl VTMAX_MTX Message buffer control blockm BRI_RAM 16 × VTMAX_MBF + MBF_ALLSIZE RRI_RAMn 8 × VTMAX_MBF Fixed-sized memory pool control blocko BRI_RAM 8 × VTMAX_MPF + down ( VTMAX_MPF / 8 + 1) + Σ(memorypool[].num_block / 8 + 1) RRI_RAMp 12 × VTMAX_MPF System control block Task control block Semaphore blockc control Eventflag blocke control control Mutex control blockk R20UT0964EJ0101 Rev.1.01 Sep 20, 2013 Page 530 of 565
Related documents
機械・電気設備一般仕様書
Coding - Renesas Electronics
A4EG-OP3 Enabling Grip Switch Instruction Sheet
RI600/4 V.1.00 User`s Manual
HI7000/4 V.2.02, HI7700/4 V.2.02, and HI7750/4 V.2.02
MR8C/4 V.1.01 User`s Manual
RI850V4 Real-Time Operating System User`s Manual: Coding
RI850V4 V2 Real-Time Operating System User`s Manual: Coding
HI1000/4 V.1.04 User`s Manual
M3T-MR30/4 V.4.01 User`s Manual
RI850MP Real-Time Operating System User`s Manual: Coding
MR8C/4 V.1.00 User`s Manual (Real