IFAGbHrQgLKm a/sRxmPUDgH3KKHOVj4utWp UhnMJbulHheb4mjUcAwhmahRWa6 MAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvī3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXjĬa9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZMĩO6II8c 6zf1tRn4SWiw3te5djgdYZ6k/oI2peVKVuRF4fn9tBb6dNqcmzU5L/qw MIIDQTCCAimgAwIBAgITBmyfz5m/jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsFĪDA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6ī24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTEL Unfortunately I have a day-job as well, so my response is slow.Īs you suggested, I tried HTTP GET os. and a resource from my host Win10, using default config.h: C:\win-builds\projects\mbedtls-2.16.5>programs\ssl\ssl_client2 server_name=os. server_port=443 I am still left with pretty much ~35KB of RAM (using peak usage).ĭo you have any indication that it is RAM related? Maybe any logs while you were trying TLS to see where it hangs? For what I know, that micro can run a bunch of algorithms, see some benchmarking results I got: Say I perform an HTTPS request and I need 4K 1.5K 50K= 55.5K. RAM> Used: 4144 B | Memory Region: 96 KB | %age used: 4.22% Implies that there is a network interface occupying memory (like lwIP or some network.c interface I suppose).įrom my RAM at compilation (mind you, I have 2xUARTS, ADC, DMA, various interrupts and RTC enabled) This means that you cannot use HTTPS on devices with less than 128K of memory, asyou also need to reserve memory for the stack and network interface. HTTPS requires additional memory: on FRDM-K64F about 50K of heap space (at its peak). If you need to handle requests that return a large response body, see ‘Dealing with large body’. When the request is finished they require 1.5K of RAM, depending on the size of the response. Small requests where the body of the response is cached by the library (like the one found in main-http.cpp), require 4K of RAM. One question though, from the linked post I read: Memory usage To be honest, I havent looked at RAM usage at all. Hello Paul and thank you very much for your input. Nucleo f401re example code free#In the meantime, If you have any comments on my post, please feel free to provide any feedback. I will review support’s responses because it looks like most of the issues there are similar to mine and PEBCAK. I was browsing the forum and came across this. #define MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGEĪny input would be really appreciated. #define MBEDTLS_ECP_DP_CURVE25519_ENABLED #define MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES I also provide my config file for reference: Nucleo f401re example code full#I am currently not looking at full mbed OS implementation, which has a lot of functionality, but I cannot integrate with the rest of my code. What am I missing and instead of getting any response from the server, I am getting the same response either with or without my module connected to it? I even tried to go PPPoS to leverage sockets and so on but to be honest it is discouraging from scratch, at least for my level. Nucleo f401re example code how to#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |