Run and debug code on spifi flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run and debug code on spifi flash

531 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rgiovoni on Wed Nov 28 03:34:09 MST 2012
I have to move my project from an LPC1788 to an LPC4088 and
i have to write code that it will be run into external flash
connected on spifi interface.

I use Code Red compiler and debug tool.

My questions are:

1) Anyome have already built a project where code run into
   spifi external flash?
2) It si possible to debug (set breakpoint, read variable ecc ecc)
   code running into spifi flash?

Thank's in advance for your help


                    Roberto Giovoni
Labels (1)
0 Kudos
2 Replies

421 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Sun Sep 29 13:20:52 MST 2013
Hi, Roberto,

The PDL code bundle has a sample code that allows running code from SPIFI and debug into SPIFI.

PDL link:
http://www.lpcware.com/content/nxpfile/lpc407x-and-lpc408x-cmsis-compliant-standard-peripheral-firmw...

Project to look into:

\lpc407x_8x_177x_8x\Examples\SPIFI\Blinky

To step debugging in SPIFI, we can not set a break point in the SPIFI code. However, we can set the break point at the function that jumps to the SPIFI area and step in for debugging. Notice that you can not boot from SPIFI with LPC407x_8x.

We can also use watch variable as way to debug the SPIFI code from LPC407x_8x.

Thanks,
0 Kudos

421 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Heikon on Wed Jan 02 08:54:28 MST 2013
hey roberto,
its half a year ago, but i´m interested in if you got a solution regarding your problems
with setting breakpoints?
regards
heiko
0 Kudos