Content originally posted in LPCWare by lpcxpresso-support on Fri Jul 24 04:17:50 MST 2015
Yes, you can use the script to setup your external memory controller.
The script is GDB and is documented in the documentation (Help->Help Contents). To setup your controller, you need to place your commands before the ${load} macro. I would recommend using the "source" command, as described below
Some useful GDB commands (to get you started)
source filename.gdb - read further commands from filename.gdb (I would recommend adding this to the script and placing the script file in your project, making it easy to use the standard editor and share the file amongst multiple projects)
set *address = value - write value to address. e.g. set *0x40052478 = 0x39