Skip to main content
Angle
Associate III
December 29, 2022
Question

QUADSPI warning

  • December 29, 2022
  • 2 replies
  • 2319 views

Hi, may I know what cause of this warning? how can I solve it?

0693W00000Y71hfQAB.png

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 29, 2022

>> how can I solve it?

Use the function?

The deeper problem here is perhaps you're using the QSPI for the entirety of the project code.

I'd probably opt for a small boot-loader that brings up the clocks, and external memory, and calls into the App code in the external memory, and then NOT repeat the clock, pin, QSPI stuff again.

If your code is split between internal/external flash memory then you'd need to bring up the external memory before touching it, otherwise it will Hard Fault.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Angle
AngleAuthor
Associate III
December 29, 2022

Sorry im a beginner.

So what I do is I just use the default setting for touchgfx and I just add the USART and I2C for my project. So, how do I know if I need to use it or not? I read the manual but don't understand

Tesla DeLorean
Guru
December 29, 2022

Not using TouchGFX or this board.

The size of the software seems to exceed the size of the internal flash (128K), so some of it is going to have to exist in the external memory.

I don't know how your project/memory is mapped out.

>>Sorry im a beginner.

But took computer science, engineering, or something?

Any linker or compiler classes?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Angle
AngleAuthor
Associate III
December 29, 2022

I using the STM32H750XBH-DK board. What i want to do just display the sensor value on screen. But the uart also seem doesn't work on me. the thing I curious is when I using the board setting without touchgfx everything is ok but when I want to use with touhgfx everything go wrong.

im engineering graduate

MM..1
Super User
December 29, 2022

You showed warning is basic C warning about declared but not used func.

For your board QSPI init is critical part and maybe as beginer better is start with other MCU...