i worke on a custom Board with the R7FS5D97E3A01CFC and 32Mb QSPI-Flash.
(Toolchain: GCC ARM Embedded Toolchain Version: 220.127.116.1150529 SSP Version: 1.6.3)
Since this controller has only 2Mb of Flash, we want to locate the GUIX resources to the QSPI-Flash.
I managed to locate the resources files to the QSPI-Flash (according to: https://renesasrulz.com/synergy/f/synergy---forum/10807/how-do-you-locate-all-guix-studio-resources-in-external-qspi-memory) with the following lines in the modified copy of the original Linker Script:
Then i choose this new Linker Script in the properties (according to: https://renesasrulz.com/synergy/f/synergy---forum/5881/linker-script-file)
I can successfully compile and download my code to the device, but i can´t debug it anymore and i get the Message "arm-none-eabi-gdb.exe has stopped working"
Can you help me with this problem?
In reply to Sergey Sokol:
In reply to SmithersM:
The issue with manually editing the guiapp_resources.c file is that every time the project is re-generated by GUIX Studio, the file guiapp_resources.c will be re-generated removing the changes you made.
The linker script can be edited to move the constant data from the file guiapp_resources.c into the QSPI area.
First edit the line (this assumes the guiapp_resources.c is in src/gui/ directory):-
So that the constant data from the GUIX resources file is not placed in the internal flash. then add :-
. = ALIGN(4);
} > QSPI_FLASH
So that the constant data from the GUIX resources file is placed in QSPI.
This will leave the non-constant data from the GUIX resources file to be placed in RAM in the default section (either .bss or .data), so it will be initialised correctly, and can be modified.