cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Using QSPI Function

Charlie CHEN
Associate III

Hi all,

I`m trying to use touchgfx with keil compiler through st-link,I face a problem that my total file more than 2MB(Against internal flash size).

So I need to use external flash QSPI,but there is a problem like photo below.

(When it`s in Debug Mode,it just run without press Run Button.)

0690X000008vtXNQAY.png

And I`m curious about that function in main.c ,in the two condition statement are associate with external storage like SD-card, I suspect that is why it can`t work in correct way.

​How can I do to solve this problem ?

Thanks!0690X000008vtWtQAI.png

1 REPLY 1
Martin KJELDSEN
Chief III

Hi @Charlie CHEN​ ,

Is ENABLE_STORAGE defined? Does execution enter STORAGE_Init() ?

STORAGE_Init, with respect to H743-EVAL, creates an OS task to handle the SD card. This should not have any impact on debugging capabilities. I think we covered something similar in another recent issue related to the H743 Keil QSPI flash loader: https://community.st.com/s/question/0D50X0000Ap3zDmSQI/touchgfx-taget-mdkarm-debug-fault-automatic-run-without-clicking-run-

I suggested to try programming without the Keil flashloader using ST-Link or CubeProgrammer instead and debug in Keil as usual. I have most success with H743-EVAL and STCubeProgrammer.

/Martin