Functions related to DSP operation may cause the MCU to crash

Question/Issue:
[Describe the question or issue in detail]
question 1:
When I start debug and execute the following function, it causes the STM32 to enter a HardFault infinite loop.


This function is in ei_run_classifier.h

question 2:
When I import the SDK, even the simplest program with serial output and LED blinking doesn’t produce any output after compilation and flashing; the MCU doesn’t work at all. It only works normally with serial output during debugging.

May I ask where I can find other related forums? I need more assistance,PLZ.

Environment:

  • Platform: [stm32f407vet6]
  • Build Environment Details: [
    keil MDK v5.43,
    ArmCompilerV6.24,
    CubeMx,
    CMSIS pack V5.9.0,(CORE V5.6.0)
    DSP 1.14.2, NN Lib 4.0.0]
  • OS Version: [Windows 10]
  • Edge Impulse SDK Version: [1.79.0]

thk @ei_francesco
I noticed the version issue with the pack, so I accurately described each version in the post where I encountered the new problem. It seems the new problem is no longer related to the version.