|
From: | Giuseppe Modugno |
Subject: | Re: [lwip-users] altcp_tls_mbedtls |
Date: | Fri, 22 Feb 2019 10:26:43 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Il 22/02/2019 09:54, Andy Pont ha scritto:
Giuseppe wrote...I'm trying to integrate lwip and mbedTLS on a project running on LPC1769 MCU from NXP. This MCU features 64kB SRAM in two separate banks of 32kB.I don’t have any particular experience of the lwIP + mbedTLS combination that you are using and how to tune it but I have recently been working on a similar sounding project using the LPC1768.
Didn't you use mbedTLS for your project?
16kB for SSL? I understood this is too small. SSL requires at least 16kB for *only* input buffer. But you need output buffer too.The way that the memory ended up being partitioned was:16K @ 0x2007C000 (AHBSRAM0) - Ethernet send and receive buffers / descriptors16K @ 0x20080000 (AHBSRAM1) - Dedicated memory used for SSL 32K @ 0x10000000 (RAM) - System memory for remaining applicationWe had to be careful in the memory management to make sure that when memory was requested dynamically it was allocated from the right pool.
[Prev in Thread] | Current Thread | [Next in Thread] |