Skip to main content
arun singh
Associate II
June 17, 2021
Solved

STM32F750 QSPI Boot Issue

  • June 17, 2021
  • 3 replies
  • 912 views

I am trying to boot from the QSPI on F7508-DK board.

I followed the guide by ST mentioned at STM32Cube\Repository\STM32Cube_FW_F7_V1.16.1\Projects\STM32F7508-DISCO\Templates\ExtMem_Boot

Basically this needs to be flashed once, so the code can jump from 0x08000000 to 0x90000000.

It is working alright for the examples provided by ST, but when I write my own code, the system clock fails to initialize.

If I comment out the system clock config, even memcopy function is working well.

But again, without the system clock, Other things aren't working.

This topic has been closed for replies.
Best answer by arun singh

@Imen DAHMEN​ Thanks for the reply, but I got it working. I forgot to relocate the vector table.

If anyone face this issue, you need to relocate the Vector table in the SystemInit function

SCB->VTOR = QSPI_BASE;

3 replies

Technical Moderator
June 22, 2021

Hello @arun singh​,

Please provide more details to help you solve your issue.

You can share your source code with clock configuration to check more this behavior.

We would mind having a look at the configuration

Thanks

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
arun singh
arun singhAuthorBest answer
Associate II
June 22, 2021

@Imen DAHMEN​ Thanks for the reply, but I got it working. I forgot to relocate the vector table.

If anyone face this issue, you need to relocate the Vector table in the SystemInit function

SCB->VTOR = QSPI_BASE;

Technical Moderator
June 23, 2021

Thanks @arun singh​ for your update and sharing your solution.

I select your answer as Best. This will help other users find that answer faster.

Thanks

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks