Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


wolfSSL integration for STM32F207 with CubeMX

I’m managed to compile wolfSSL and am trying to run test.c provided in to make sure that the library works correctly. However I run into Hardfault after RANDOM test is passed and RSA test is being conducted. The options that I am using below:

  1. define FREERTOS
  2. define WOLFSSL_LWIP
  3. define NO_MAIN_DRIVER
  4. define HAVE_ECC
  5. define NO_FILESYSTEM
  6. define NO_INLINE
  7. define USE_FAST_MATH
  8. define TFM_TIMING_RESISTANT
  9. define USE_CERT_BUFFERS_1024
  10. define NO_OLD_RNGNAME
  11. define NO_RSA
  12. define STM32F2_RNG
  13. define USE_WOLFSSL_MEMORY
  14. define WOLFSSL_MALLOC_CHECK
  15. define BENCH_EMBEDDED
  16. define SIZEOF_LONG_LONG 8
  17. define SIZEOF_LONG 4
  18. define NO_DEV_RANDOM
  19. define NO_WOLFSSL_DIR
  20. define NO_RABBIT
  21. define STM32F2_RNG
  22. define WOLFSSL_SMALL_STACK

  1. ifdef FREERTOS
  2. define malloc(size) pvPortMalloc(size)
  3. define free(ptr) vPortFree(ptr)
  4. endif


I get at this point and recieve the following from SWV:

MD4 test passed!
SHA test passed!
SHA-256 test passed!
HMAC-MD5 test passed!
HMAC-SHA test passed!
HMAC-SHA256 test passed!
ARC4 test passed!
DES test passed!
DES3 test passed!
AES test passed!
RANDOM test passed!

It gets Hardfault at RSA test and if I exclude that test with #define NO_RSA, it gets stuck at ECC Test with HardFault. Can anyone help me out?