2023-07-26 03:18 PM - edited 2023-07-26 03:24 PM
Hello,
I'm trying to debug a firmware in production mode using STM32cudeIDE, running on the cortex M4 on the stm32MP157F. When debugger starts it seems g_pfnVectors isn't properly created. When I stops debugger and view the dissambled code I found that it always points on the first line:
No source available for "g_pfnVectors() at 0x0"
Also, I had changed the linker script to be able to allocated more memory for the SDRAM using both memory regions available (at 0x10000000 and 0x30000000):
MEMORY
{
RETRAM_interrupts (xrw) : ORIGIN = 0x00000000, LENGTH = 0x00000600
SRAM1_text (xrw) : ORIGIN = 0x10000000, LENGTH = 256K
SRAM2_data (xrw) : ORIGIN = 0x30020000, LENGTH = 200K
SRAM3_ipc_shm (xrw) : ORIGIN = 0x10040000, LENGTH = 64K
SRAM4 (xrw) : ORIGIN = 0x10050000, LENGTH = 64K
}
Also, here is my definition for the DT's memory reservation :
It could be that I am overflowing the memory space destined for the sram data?
Also, here is my definition for the remoproc DT:
Thank you very much for replying.
Juan.