cancel
Showing results for 
Search instead for 
Did you mean: 

I can't realize opening of a web page from QSPI "external bootloader"!

DK.7
Senior

I have a project No.1 for STM32H750VB, which working well with LWIP and open simple web page for the testing and everything works well!

Also exist a project No.2 for STM32H750VB, the external bootloader for the QSPI chip also works fine. And I can launch projects from the QSPI chip with Freertos and without it!

But, I can’t make run properly project No.1 that would be launched using the project No.2 and the web page opened! Only the ping works but, does not open a web page!

Could someone tell me what aspects do I need to pay attention to?

Maybe somehow I need to especially configure MPU settings?

1 ACCEPTED SOLUTION

Accepted Solutions

You'd typically only call SystemClock_Config() in the *Loader* once, and then not call it a second time in the App

The loader's not using the RTOS, right?

Make sure you're not disabling interrupts on the Loader side.

Can you build an App the just does UART output, or interaction?

Can you step the debugger across the transfer point?

Can you use debugger on the App?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3

Don't reconfigure the MCU and Clocks (PLL, APB, AHB) a second time. Remove that code.

Make sure the code setting SCB->VTOR does so using the address of Vectors in the specific build. ie 0x90000000 for the one in QuadSPI.

Only bring up the QSPI and it's pins in the loader.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

>Only bring up the QSPI and it's pins in the loader.​

In this aspect, I am 100% sure! That, my loader. bring up only the QSPI!

> Make sure the code setting SCB->VTOR does so using the address of Vectors in the specific build. ie 0x90000000 for the one in QuadSPI.

I'm not quite sure about that!

I added an entry in system_stm32h7xx.c on the application side.

SCB-> VTOR = QSPI_BASE; // qspi_base = 90000000

Should I do something like this on the bootloader side?

>Don't reconfigure the MCU and Clocks (PLL, APB, AHB) a second time. Remove that code.

I don't understand this at all!

What should I delete and where? On the side of the application or on the bootloader side?

You'd typically only call SystemClock_Config() in the *Loader* once, and then not call it a second time in the App

The loader's not using the RTOS, right?

Make sure you're not disabling interrupts on the Loader side.

Can you build an App the just does UART output, or interaction?

Can you step the debugger across the transfer point?

Can you use debugger on the App?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..