Region `FLASH' overflowed for external flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:11 AM
Post adding this, its going for hardfault during GRAPHICS_Init().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:27 AM
unable to get reason for it,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:34 AM
Are you setting up the QSPI before starting TouchGFX? setLanguage() will try to read data from external flash now (rather than internal as with your linker script before).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:38 AM
setLanguage function need some input i think. What should i give?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 1:51 AM
Oh you don't need to call it manually during startup - i was referring to what you saw in the stack trace. You can set the default language from the designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 2:01 AM
Confused .. what can go wrong. Any suggestion ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-16 6:20 AM
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. Can you please check ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-17 10:10 AM
@Martin KJELDSEN​ Did you get the chance to check ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-20 2:49 AM
Wait, how do you configure your QSPI?
Are you using the settings you posted in the first picture?
There are two things you need to do:
- set the linker script so the ExtFlashSection is actually located in the QSPI region
- setup the QSPI so it matches your memory.
In the first picture you have a flash size of '1' - this means that you are using 1 bit for address space effectively limiting your memorysize to 2 bytes..
This is the settings I use for the 746-Disc0 board:
