Hi Expert,
We have a plan to port 3rd party Ethernet/IP solution, which will run on top of Lwip. In a previous conference call, your software team(Prasad) recommended the combination of Lwip and ICSS_EMAC for the use of 3rd party Ethernet/IP and we also discussed the memory optimization of Lwip and ICSS_EMAC driver. From the discussion, your team informed us about the target size of the memory optimization is < 200KB and we can refer to the example is "hsr_prp_demo" in SDK 8.2 to see the combination of Lwp and ICSS_EMAC. driver.
I got the map file of "hsr_prp_demo" to see the memory footprint via email from your team(through Gunter). I guess this file is the map file of "hsr_prp_demo" in 08.02.00.28.
ICSS_PKT_BUF_MEM |
00010000 |
65,536 |
64KB buffer |
.bss |
000585c0 |
361,920 |
230K = 360K – 130K (task stack) |
.data |
00000c10 |
3,088 |
|
.text |
00033600 |
210,432 |
|
.rodata |
00011500 |
70,912 |
|
When I checked each size in the map file, the size seems still big as you can see in the table above. The size of code and data is around 510KB and I think this is NOT the optimized size(200KB) your team is targeting. If my size analysis is wrong, please let me know.
So, my question is, is this the final footprint of your memory optimization? If it is not the final one, please share your plan for memory optimization of Lwip and the relevant driver, ICSS_EMAC driver.
Regards,
Moonil