lpcware

LPC4330-Xplorer UsbDevice - Run from Ram?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by nsmith17044 on Tue Feb 23 08:59:34 MST 2016
I have an LPC4330-Xplorer with Xpresso 7.9 and LPC-Link 2.  Have been able to program flash and run blinky project from the NGX examples.

I've been trying to build and run the UsbDevice sample.  It appears that this only runs from Ram but I cannot figure out how to setup the linker / debugger to target the build and debug from ram.  Can someone please shed light on this?  I can't seem to find anything in the NGX documentation.  A link or reference to documentation that explains this would be helpful.

Does anyone know why this can't run from flash?  When I try that it always cause some type of very low level chip fault when the end point configuration registers are changed during USBReset().  Only a power cycle can clear this state and the Link2 can not make a connection until this is done.

Thanks.

Outcomes