2022-07-17 03:36 AM
Could someone tell me, what i do wrong?
I made an external bootloader on QuadSPI chip and it works well with applications that do not use a FreeRTOS!
But, I need to make the application that use FreeRTOS and it is don't work properly!
The steps that I have done:
1. I added in to code of "External Bootloader" line
__set_CONTROL(0);
2. In my linker script of "My_FeeRTOS_application" I changed a line according size of my QuadSPI chip
FLASH (rx) : ORIGIN = 0x90000000, LENGTH = 8M
3. In file "system_stm32h7xx.c" I added in SystemInit line
SCB->VTOR = QSPI_BASE;
Maybe I need to add something else?