2024-04-18 05:54 AM
Hello ST Community,
I'm currently working on a project using an STM32 microcontroller and encountering a critical issue related to mbedTLS during SSL handshake processes. I’m seeking insights or solutions based on your experience with similar hardware configurations.
Overview of the Setup:
Problem Description: The system functions perfectly with the FreeRTOS heap allocated in the internal memory—mbedTLS successfully completes the SSL handshake without any issues. However, when I configure the FreeRTOS heap to utilize external HyperRAM, the SSL handshake fails every time.
Error Encountered: The specific error encountered during the SSL handshake is MBEDTLS_ERR_SSL_INTERNAL_ERROR with an error code of -0x6C00. This error occurs precisely during the mbedtls_ssl_setup, which configures the SSL context based on the given parameters.
Steps Taken:
Questions for the Forum:
I would greatly appreciate any insights, shared experiences, or debugging tips you might have. It’s crucial for progressing with the security aspects of the project, and any help would be invaluable.
Thank you for your time and assistance.
Best regards, Emo