This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi,
"I am currently getting a memory overflow error in the CPU2 text section of my project. Since the memory is full, I want to use the GS14 and GS15 GSRAM sections for the CPU2 core. I define these sections for CPU2 on the CPU1 side, and when I compile the code, the memory overflow error disappears. However, when I debug, at the end of the debug process, CPU2 starts running before CPU1 without me initiating the run process. As a result, when I start the CPU1 core, the system doesn't work. When I remove GS14 and GS15 from the CPU2 text section and delete some lines of code to avoid the memory overflow error, the system works. What is the reason for this? What should I do to use the GS-RAM blocks for CPU2? Also, I added this code to the CPU2 side:
void main(void) {
Device_init();
Interrupt_initModule();
Interrupt_initVectorTable();
Board_init();
while((HWREGH(MEMCFG_BASE + MEMCFG_O_GSXMSEL) & (MEMCFG_GSXMSEL_MSEL_GS14|MEMCFG_GSXMSEL_MSEL_GS55)) == 0U) {
}
}
regards
Enes
In CCS you can disable run to main option to disable this. Follow below steps in CCS for the same.
Vivek Singh