cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot configure MbedTLS in CubeMX for H755

SPetr.6
Associate III

When trying to setup MBedTLS through CubeMX for the NUCLEO-H755ZI-Q, CubeMX does not give the option to select LWIP as the TCP/IP stack in the MBEDTLS "Version and modes" configuration tab. The only options given are "None" and "User defined". Additionally, for the "RNG dependency", the only options are "SW RNG(no entropy)" and "Custom RNG(Custom entropy)". It does not detect that I have enabled hardware level RNG. If I try setting up a project for NUCLEO-H745ZI-Q, I have the same issue. I tried setting up the project so the Ethernet stack was on the M7 only, the M4 only, and both the M7 and M4 and none of these variations made a difference.

However, if I try setting up a project for any single core F4 or H7 variant, like the NUCLEO-H753ZI, I am able to select LWIP and HW RNG(ST entropy). In fact, when I enable MbedTLS, they are auto selected. Please see the attached screenshots.

 

This is the order always followed:

  1. Enable Ethernet RMII
  2. Enable RNG
  3. Enable FreeRTOS
  4. Enable LWIP
  5. Enable MBEDTLS

 

So it seems that MBEDTLS configuration for dual core MCUs with CubeMX does not work correctly or I am missing a step.

3 REPLIES 3
Souhaib MAZHOUD
ST Employee

Hello @SPetr.6 

Could you provide an IOC file illustrating the problem in order to investigate the issue?

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Souhaib,

Please see the attached IOC file. Thank you.

 

Kind regards,

Sam Petrocelli

Hello @SPetr.6 

For RNG dependency, I found that RNG was not enabled in your ioc, by enbling it I was able to select HW RNG(ST entropy).
For the TCP/IP stack issue, I have submitted an internal ticket (212599 This is an internal tracking number and is not accessible or usable by customer) with the CubeMX team to fix it.

KR,

Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.