2020-01-07 02:06 AM
Hi,
I am trying to make use of the external flash on the F469I-Disco Board. I tried following the instructions here:
https://touchgfx.zendesk.com/hc/en-us/articles/205886201-Placing-Assets-in-Flash-Memory
by adding these lines to my linker file:
QUADSPI (rx) : ORIGIN = ORIGIN(FLASH) + LENGTH(FLASH), LENGTH = 16M
ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
*(FontFlashSection FontFlashSection.*)
*(ExtFlashSection TextFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >QUADSPI
Now when I try to debug the debugger stops after the message
Waiting for debugger connection...
Debugger connected
When I'm not using the external flash I have no problems debugging.
Is there anything else I have to modify?
2020-01-08 11:56 PM
Hi,
Which debugger are you using?
2020-01-09 12:21 AM
ST-LINK (GDB Server) in CubeIDE
2020-01-13 03:20 AM
Any ideas why this would be happening? I'd really like to start using the external storage.
2020-01-15 12:44 AM
I tried some more, and when changing the start address of QSPI to 0x90000000 the debugger works properly, but when starting the execution on the MCU the hard fault handler is entered with a precise data access violation and BFAR set to 0x90000000.
I tried following this video:
https://www.youtube.com/watch?v=237lPdMsDZs&feature=youtu.be
and even copying the settings used for the F7 board in it, but to no avail. Unfortunately TouchGFX doesn't generate the same files for my board, so I can't use specific settings.