Hi Jorge,
Many thanks for your answer.
You are right: I can load the code to the external SDRAM with the boot loader and it works fine, the problem is only in the debugging phase.
I will try your suggestion, but I was thinking if there is an alterntive way: I was thinking to some commands to send to the debugger to initialize the hardware and the SDRAM controller, then load the application directly to the SDRAM and finally set the PC and the SP to run the application. All these steps without the need to flashing the external flash memory.
Is this method possible with MCUXpresso or KDS?
Many thanks
Biafra