Dear Thiago,
In My previous Email I shared Memory Footprints for IoTivity and the
OS { IoTivity-Constrained + OS (RIOT / Contiki Supported Boards)}.Without
Enabling Security I generated above .hex /.elf files.
On Thu, Feb 2, 2017 at 5:43 AM, Jaehong, Jo <jaehong.jo at samsung.com> wrote:
>
>
> Dear Matta and Thiago.
>
>
>
> I appreciate your kind and detailed reply.
>
> This really helps me a lot.
>
>
>
> Thank you,
>
> Jaehong
>
>
>
> *__________________________________*
>
> *Jaehong Jo*
>
> * Samsung Electronics Co., Ltd*
>
> *Mobile: +82-10-7260-5021*
>
> *Email: jaehong.jo at samsung.com <jaehong.jo at samsung.com>*
>
>
>
>
>
> --------- *Original Message* ---------
>
> *Sender* : Matta Jayaram <mattajayaram at gmail.com>
>
> *Date* : 2017-02-02 03:43 (GMT+9)
>
> *Title* : Re: [dev] Memory Footprint
>
>
>
> Dear Jaehong,
>
> Just a small additional information to previous Thiago response,
>
> The *"Text" + "Data"* sizes together are the *required space in Flash*,
>
>
> while *"Data" + "Bss"* is the* RAM *requirement.
>
> *Iotivity-Constrained with RIOT OS Supported Boards:*
>
> Tried Iotivity-Constrained with Nucleo-F4XXre,Raspberrypi 3 and Atmel
> Samx2XXpro Boards .
>
> *Case1:* Iotivity-Constrained with RIOT OS to Nucleo-F4XXre Board
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Available Flash Memory: 512Kb*
>
> Client.elf====>>>1.3Mb
>
> Text
>
> 49324
>
> Data
>
> 280
>
> Bss
>
> 27652
>
> Dec
>
> 77256
>
> Hex
>
> 12dc8
>
> *Client.hex====>>>136.3Kb*
>
> Server.elf====>>>1.3Mb
>
>
> Text
>
> 49004
>
> Data
>
> 312
>
> Bss
>
> 27732
>
> Dec
>
> 77048
>
> Hex
>
> 12cf8
>
> *Server.**hex**====>>>**135.5Kb*
>
> *Memory Configuration:*
>
> *Name Origin Length Attributes*
>
> rom 0x08000000 0x00080000 xr
>
> ram 0x20000000 0x00018000 xrw
>
> cpuid 0x1fff7a10 0x0000000c
>
> *default* 0x00000000 0xffffffff
>
>
> *Case2:* Iotivity-Constrained with RIOT OS to Raspberry Pi 3
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Client.elf====>>>125Kb*
>
> Client.hex====>>>125Kb
>
> *Server.elf====>>>124.9Kb*
>
> Server.hex====>>>124.9Kb
>
> Memory Configuration:Default
>
>
> *Case3:* Iotivity-Constrained with RIOT OS to Atmel Samx2XXpro Board
>
> 1.Generated Client and Server Executable files(i.e .hex & .elf)
>
> *Available Flash Memory: **256**Kb*
>
> Client.elf====>>> 2.31 Mb
>
> Text
>
> 72560
>
> Data
>
> 284
>
> Bss
>
> 31120
>
> Dec
>
> 103964
>
> Hex
>
> 1961c
>
>
> *Client.hex====>>>200.1Kb*
>
> Server.elf====>>> 2.3Mb
>
> Text
>
> 72184
>
> Data
>
> 316
>
> Bss
>
> 31200
>
> Dec
>
> 103700
>
> Hex
>
> 19514
>
> *Server.hex====>>>199.2Kb*
>
> *Memory Configuration:*
>
> Name Origin Length Attributes
>
> rom 0x00000000 0x00040000 xr
>
> ram 0x20000000 0x00008000 xrw
>
> *default* 0x00000000 0xffffffff
>
>
> *Iotivity-Constrained with Contiki OS Supported Board:*
>
> *Available Flash Memory: 512Kb*
>
> Memory Configuration :
>
> server.bin ===>114.5kb
>
> client.bin ===>119.3kb
>
> Name Origin Length
> Attributes
>
> FLASH 0x0000000008000000 0x0000000000080000 xr
>
> RAM 0x0000000020000000 0x0000000000014000 xrw
>
> *default* 0x0000000000000000 0xffffffffffffffff
>
> On Wed, Feb 1, 2017 at 8:21 PM, Thiago Macieira <thiago.macieira at intel.com
> > wrote:
>
>> Em quarta-feira, 1 de fevereiro de 2017, ?s 06:24:54 PST, Jaehong, Jo
>> escreveu:
>> > Hi, Thiago.
>> >
>> > Do you have material about memory footprint using IoTivity Constrained?
>> > How can I measure it on Zephyr?
>>
>> Hello Jaehong
>>
>> Since the Constrained FW does not allocate memory dynamically (no
>> malloc), you
>> can measure the size by using the "size" command on your toolchain. The
>> "text"
>> and "data" sizes together are the required space in Flash, while "data"
>> plus
>> "bss" is the RAM requirement.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>> Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> iotivity-dev mailing list
>> iotivity-dev at lists.iotivity.org
>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>
>
>
>
> --
>
> With Regard's'
>
> Matta Jayaram
>
> +91-9493952323
>
> +91-8096796118
>
>
>
>
>
--
With Regard's'
Matta Jayaram
+91-9493952323
+91-8096796118
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/fac7c2bb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13402 bytes
Desc: not available
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170202/fac7c2bb/attachment.gif>