Hi, I want to handle two different projects with S32DS Platform 3.5 with S32K118.
The first project it's a bootloader, and the second one it's my program.
Attached you can see the expected memory map.
I'm trying to do this method as explained in AN12323 (https://community.nxp.com/t5/S32-Design-Studio/Compiling-multiple-projects-in-S32DS-IDE/m-p/705483) for merging a binary file into another project using linker script.
I've done this too for debugging multiple projects (https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Debug-multiple-elf-files-in-S32-...).
BOOTLOADER LINKER
PROG LINKER
BOOT CODE
But depending on the data type used on my bootloader variables I get an error with the GDB server.
For example using XML_board[] which it's located in ro_data in m_text_sboot produces an error.
When I comment that variable I can run both projects.
ERROR
Here are the images of the error when trying to debug with all the variables showed before.
Has anyone encountered a similar issue when merging projects using linker scripts in S32DS?
Are there specific considerations for debugging multiple projects simultaneously in S32DS that I might be missing?
Any suggestions for resolving GDB server errors related to shared variables between projects?