lpcware

LPC4350 New Board Startup Problems

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by gregd on Thu Aug 16 05:54:27 MST 2012
We have just got a newly designed board up and running with the LPC4350.  We are using external 32 bit SRAM and static flash as well as SDRAM on the board.  We are using IAR EWARM along with the Segger Cortex M J-Trace debugging module.  At this point I am trying to get the flashing algorithm updated to work with the 32 bit flash.  Previously I have been doing all of my development with the Hitex A4 board and having very good luck with all the tools for the most part.

I can download code into internal RAM and the code runs.  We are having some problems though where the LPC4350 peripheral modules do not seem to be working properly much of the time right after the initial download through IAR.  About 1 time out of 3 or 4, everything works perfectly:  I can run code, program the external flash and read/write to the external SRAM.  The other 3 or 4 times, when the IAR EWARM finishes downloading the code, and you are setting at the main entry point, if you open up the register view, all ARM Cortex Core registers function just fine.  The NXP LPC4350 specific registers like the EMC however, display all AAA’s for every value.   When the LPC4350 comes up in this state, the code will run fine until it tries to read or write any of the NXP LPC4350 specific registers and then everything hangs any you get all sorts of error dialogs and you have to start the debugging session over again and again until everything comes up properly.

Also, we are using an LPC4350 with the following markings:
LPC4350FET256
PFM906.04   15
ESD1148ZRY
We currently have two boards assembled and both boards are behaving in the same fashion.

I have checked the reset line and as many other things that I can think of to solve the problem but can’t seem to figure it out.  Do you have any suggestions as to where we should concentrate or where to look for clues to point us in the right direction.

Greg Dunn
304-757-6565

Outcomes