2020-07-15 12:56 AM
Hello, region `FLASH' overflowed by 424008 bytes but i didn't added much image. I am using 128 Mb N25Q128A13EF840E QSPI flash. I just wanted to confirm how much QSPI is assigned.
I can see below settings for QSPI.
I want to know that Where should I check in my firmware to know assigned external flash size. I can't find in linker file?
Also I want to see which all data is saved in QSPI 128Mbit .
Any help
2020-07-20 03:42 AM
Yes, I tried with these QSPI setting but still not working. I got this video "https://www.youtube.com/watch?v=237lPdMsDZs ". Here first data is moved to QSPI from internal flash. First he changes linker script (which we already did), next he look for external loader option in debug(at 08:23 ). But I am using different IDE System workbench for STM32 so I can't get that option. Have you also done steps shown in video ?
2020-08-02 09:22 PM
@Martin KJELDSEN Still didn't find solution. Also In generated code, I am trying to look for code, where QSPi is configured in memory mapped mode but unable to find it. Does CUBEMX do it or i need to write it by myself ?
2020-08-02 10:13 PM
Usually in the BSP library code, if constructed on the fly, check the MSP code.
Should set up QSPI memory, pins and peripheral, then mapping into 0x90000000 memory space, with read command that executes when you access the memory space.
2020-08-02 10:42 PM
Yes I already setup QSPI memory, pins and peripheral in STMCUBEMX but not sure if it put QSPI in memory mapped mode. Can't able to find that in generated code.
2020-08-10 02:14 AM
You need to enable memory mapped mode manually! Check our the application templates we have (e.g. F746-DISCO, or anything with QSPI) - you''ll see that we set memory mapped mode in a user code section. Something like:
BSP_QSPI_MemoryMappedMode();
2020-08-10 02:53 AM
@Martin KJELDSEN I tried that, I am facing one issue, QSPI Memory mapped mode data different value compare to flashed data. Created new post on this issue, Can you please check ?
Thanks
2020-08-10 09:19 PM
@Martin KJELDSEN Forgot to add link.