Hi Carlos,
Thanks for the updated .ld, .tcl, and .mem files. I gave them a try and while the code does execute without giving me the break point warning it still appears to be executing from internal flash.
Here is the base of flash

and here is where it stops at main() in mqx_main.c when starting to debug

Both of these look like they are still executing from internal flash.
Though my variables appear to be in external DDR.

Looking at the memory section of the .ld file you attached I'm thinking things like rom need to be moved to an address that is in DDR.
MEMORY
{
vectorrom (RX): ORIGIN = 0x00000000, LENGTH = 0x00000400
cfmprotrom (R): ORIGIN = 0x00000400, LENGTH = 0x00000020
rom (RX): ORIGIN = 0x00000420, LENGTH = 0x000FFBE0 /* Code + Const data */
ram (RW): ORIGIN = 0x70000000, LENGTH = 0x08000000 /* DDR2 - RW data */
sram (RW): ORIGIN = 0x1FFF0000, LENGTH = 0x00020000 /* SRAM - RW data */
/* kernel space starts after RAM variables (Location of MQX Kernel data + MQX heap) */
end_of_kd (RW): ORIGIN = 0x77FFFFF0, LENGTH = 0x00000000
/* Boot stack reused by MQX Kernel data */
bstack (RW): ORIGIN = 0x2000FA00, LENGTH = 0x00000200 /* Boot stack */
end_bstack (RW): ORIGIN = 0x2000FC00, LENGTH = 0x00000000 /* Boot stack end address requires 4B alignment */
}
That is why I changed them to the 0x70000000 range in the .ld file attached in my original post
MEMORY
{
vectorrom (RWX): ORIGIN = 0x70000000, LENGTH = 0x00000400
cfmprotrom (RWX): ORIGIN = 0x70000400, LENGTH = 0x00000020
rom (RWX): ORIGIN = 0x70000420, LENGTH = 0x000FFBE0 /* Code + Const data */
ram (RWX): ORIGIN = 0x70100000, LENGTH = 0x03F00000 /* SRAM - RW data */
/* kernel space starts after RAM variables (Location of MQX Kernel data + MQX heap) */
end_of_kd (RW): ORIGIN = 0x77FFFFF0, LENGTH = 0x00000000
/* Boot stack reused by MQX Kernel data */
bstack (RW): ORIGIN = 0x74000000, LENGTH = 0x00000200 /* Boot stack */
end_bstack (RW): ORIGIN = 0x74000200, LENGTH = 0x00000000 /* Boot stack end address requires 4B alignment */
}
That didn't work, but from what I can gather from other posts I need to somehow tell the compiler/linker I want my code to be placed in external DDR.
Do you know what I need to change in the .ld file so I can debug my code and variables from external DDR? I'm using the .tcl & .mem files you attached and am assuming those files are both good for executing from DDR.
Thanks,
Sean