Breakpoints on ARM7 LPC2378

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

Breakpoints on ARM7 LPC2378

258 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by smachell on Tue Feb 25 14:49:44 MST 2014
Hi,
I have looked around - but I want to be sure what I am seeing is correct?

I'm working with a company that has a product based on an LPC2378 ARM7. For the past three years I've been using their IAR tools with the J-Link debugger.
Four of us have been assigned to a code re-write project for this processor.We decided on your tools because we could compile up the 256K of code for free
and we could work off site without licensing issues. After porting a small project and upgrading to FreeRTOS 7.6 we first got bitten by your LPC-LINK2 debugger
not working with ARM7. So We got a Red Probe+ (1 so far) to see how it would work.

It appears that LPCXpresso (Code Red) and the Red Probe+ only support 2 breakpoints on ARM7. Is that really correct? One breakpoint is used for Run Until main()
option and one is used for single-step? If you set one more breakpoint you start getting messages about: unable to set an execution break

Is this really true?? How in the world will we ever be able to debug a project with multiple threads and interrupt level code?

This has not been an issue with IAR - they seem to have resolved it with the J-Link debugger pod.
  http://www.segger.com/jlink-unlimited-flash-breakpoints.html
Is there a reason you will not support this debugger? If not, then your tool is not going to work for serious projects.
0 Kudos
2 Replies

233 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Feb 26 13:42:31 MST 2014
LPCXpresso 7 now supports Segger J-Link. Please see this Segger FAQ for information on how to configure:
http://www.segger.com/nxp-lpcxpresso.html
0 Kudos

233 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Tue Feb 25 23:31:29 MST 2014
That is correct. See
http://support.code-red-tech.com/CodeRedWiki/HowManyBreakpoints

In line with the vast majority of debuggers, we use the breakpoint registers on the chip to set breakpoints, and on ARM7, and ARM9 , there are 2.

The "unlimited" breakpoints is a feature of J-Link and not specific to IAR.

Watch this space for news on LPCXpresso and J-Link.

BTW: You can remove the "break on main" functionality be editing the debug configuration.
0 Kudos