2024-11-20 07:09 AM
Hello,
I succeed to run all demo programs of the H7 performance suite (STM32CubeExpansion_Performance_H7_V1.0.0) except the QSPI single mode demo (8 - D1_QuadSPI_Single - D1_DTCM) on STM32H753I_EVAL2. But I can run the dual mode demo (9 - D1_QuadSPI_Dual - D1_DTCM) successfully.
As far as I can see, both demos use the same source, the only difference is in the preprocessor settings, a symbol "QSPI_DUAL_FLASH" is present in the dual demo toolset settings. If this symbol is removed the same error as shown below appears too.
It seems that the call / execution of the FFT function crashes if run in the single QSPI mode. I can set a breakpoint on the function but as soon as I try to step over it
the debugger jumps to this line here in HAL_RCC_MCOConfig() function
which doesn't make much sense to me.
The debug window shows
According to the linker script, the fft functions are located in OSPI flash. The same code runs in dual mode but fails in single mode. This leads me to the assumption that there is something wrong in the QSPI interface configuration for single mode.
BTW: I can successfully run the memory mapped demo (as supplied by CubeMx for H743 evaluation board) in single and dual mode, also the XIP demo, which is also in single mode.
Any idea why the program above has stopped here? What can I do to gather more information?
Thanks
2024-11-20 09:03 AM
Hello,
I see you are using CubeIDE to build the examples.
Originally, the projects was provided with EWARM, MDK-RAM and System Workbench (AC6).
So I suggest you to try with the deprecated tool System workbench downloadable from here.
It could be something was missed when you imported the project from System Workbench to CubeIDE.