Hi NXP Community,
I'm looking for a way to debug my code from external ram. In my Opinion basically I need to write a script that pokes the appropriate registers to set the SDRAM up before your debug session attempts to download the code into the SDRAM. Do I understand correctly that the script is supposed to do the same thing as the sysinit_lpc4330 ?
/* Enable EMC clock */
Chip_Clock_Enable(CLK_MX_EMC);
/* Init EMC Controller -Enable-LE mode */
Chip_EMC_Init(1, 0, 0);
/* Init EMC Dynamic Controller */
Chip_EMC_Dynamic_Init((IP_EMC_DYN_CONFIG_T *) &IS42S16400_config);
Does anyone have experience with this and can give me a start? I´m using LPC-Link2 and have no experience with the script language.
thx