LPCXpresso debug

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

LPCXpresso debug

518 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rianovich96 on Fri Jan 31 14:12:06 MST 2014
With all do respect.. I have used Eclipse before (CCS, LSI) but my LPCXpresso version hasn't some debug
features I need:

- disassembly window (and other windows) de-attach mode - why am I forced to be in the same window instead on other monitor?
- breakpoints cannot be edited ? I have to remove and add new to change address?
- disassembly window - hide opcodes isn't working at all
- disassembly window - absolute impossible to stop at breakpoint if not set from C code

I try to stop at before fetch crt_init but isn't working.

- disassembly window - step return isn't working at all
- disassembly window - horrible slow refresh and is not working until one step (F5)

Am I missing something, do I need a patch or something?
(LPCXpresso v6.1.4 [Build 194] [2014-01-15])

Too bad.. I like LPC family already.

Best regards,

PS. Where is the simulator ?!
0 Kudos
Reply
1 Reply

500 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Sat Feb 01 10:03:07 MST 2014

Quote: rianovich96
With all do respect.. I have used Eclipse before (CCS, LSI) but my LPCXpresso version hasn't some debug
features I need:
- disassembly window (and other windows) de-attach mode - why am I forced to be in the same window instead on other monitor?



Detaching of Views works fine here.


Quote:

- breakpoints cannot be edited ? I have to remove and add new to change address?


Currently you can edit the line value for breakpoints set directly on source, but as you highlight you can't edit  breakpoints set on addresses in the same way. I'll flag for this to be looked into.


Quote:

- disassembly window - hide opcodes isn't working at all



Due to limitations in the Eclipse opcode display mechanism, we actually provide LPCXpresso specific opcode handling. To toggle the display of opcodes on go to:

Window -> Preferences -> LPCXpresso -> Disassembly

and tick the box to turn opcodes on. You will then need to use the Disassembly view's "Refresh View" button.


Quote:

- disassembly window - absolute impossible to stop at breakpoint if not set from C code



Works fine here.


Quote:

I try to stop at before fetch crt_init but isn't working.


Please explain what you mean. There should be no problem setting a breakpoint in the start up code.


Quote:

- disassembly window - step return isn't working at all


Works fine here.


Quote:

- disassembly window - horrible slow refresh and is not working until one step (F5)


No issues noted here.


Quote:

PS. Where is the simulator ?!



We don't supply one and have no plans to do so.

If you want further assistance, please provide more details of exactly what actions you are carrying out, what host OS you are using, which debug probe and what target MCU, so that we can try to replicate your issues.

One final point to note, given your interest in breakpoints, is that there are limits on the number of breakpoints that can be set on code being run from flash. Typically this is 4 or 6 depending upon the MCU being used:

http://support.code-red-tech.com/CodeRedWiki/HowManyBreakpoints

And remember that things like stepping etc will typically require a free breakpoint unit.

Regards,
LPCXpresso Support
0 Kudos
Reply