LPCXpresso: debugging a core of two

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

LPCXpresso: debugging a core of two

595 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dima2611 on Wed Feb 22 09:20:54 MST 2012
Hi,

when I start debugging with Red Probe+, I'm told that it descovered two targets at the JTAG. Sounds like it is talking about both cores (M4/M0).

How can I say which is which since they have cryptical IDs and nothing more. And then, there is a catch 22: I'm asked only once per session. I cannot see (or I don't know where it is) what I have chosen. I cannot change my mind and switch to another core (I know I have to recompile the project anyway).

/Dima

P.S. with some example projects I get "Error launching debug/xxx.axf

02: Failed on connect: Ep(04). Cannot halt processor.
Emu(1): Conn&Reset. Was: None. DpID:  BA01477. Info: FTV7DHR0A

Is the JTAG stuff really that buggy and unsure?... Or was it the wrong core which I cannot switch back?
Labels (1)
0 Kudos
Reply
2 Replies

581 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dima2611 on Thu Feb 23 03:54:23 MST 2012
It is solved.

Cortex-M4 is "device 1 - Coresight JTAG DP - 0x4ba00477"

To modify the selection, just delete .jtag file in Debug or Release subdirectory. Then, you will be asked again.

The ISP pin (P2.7) may not be floating which was the case.
0 Kudos
Reply

581 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by dima2611 on Wed Feb 22 09:30:56 MST 2012
Here are the two targets to choose from
0 Kudos
Reply