Debugging: Connection to the target without reset

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

Debugging: Connection to the target without reset

515 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Thu Jun 27 13:13:38 MST 2013
Hi All,

I'm currently using LPC1114 and LPCxpresso LPC-link as a debugger.

The question is: is there a possibility to connect to the target via SWD during operation without resetting/flashing it?

I can't find this in LPCxpresso suite out-of-box, just a debug session with flashing first. I've played around a little bit and found that if I'm connecting via GDB, SWD enabled and SWD pins active (not other functions enabled), then I could reach target in a text mode. I will dig a little bit around, but maybe could somebody advise me a proven way to proceed?

Thanks in advance!
0 Kudos
8 Replies

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Fri Jun 28 03:57:51 MST 2013

Quote: whitecoe
Have you tried this...

http://support.code-red-tech.com/CodeRedWiki/DebugRunningSystem ?

HTH!



Just updated my 4.x IDE to 5.2.4 and tried. Done. It works.
Once again thanks for great hint! Extremely appreciated!
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Thu Jun 27 14:44:59 MST 2013

Quote: whitecoe
Have you tried this...

http://support.code-red-tech.com/CodeRedWiki/DebugRunningSystem ?

HTH!



oh, I just realized that link you wrote could mean the issue was fixed. Hmm, I definitely need to take counsel of my pillow :)
Thnx!
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Thu Jun 27 14:34:18 MST 2013

Quote: whitecoe
Did you actually follow my link??



Yeah, maybe I wrote about excellent hint not explicitely enough. Sorry!

I can try this tmrw and will report if this helps!
Many thanks!
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Thu Jun 27 14:10:20 MST 2013
Did you actually follow my link??
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Thu Jun 27 13:39:45 MST 2013

Quote: R2D2
Like this? http://knowledgebase.nxp.com/showthread.php?t=2787



Wow! Actually I was wondering why my firmware hangs on after connecting  in text mode via GDB like that  http://support.code-red-tech.com/CodeRedWiki/UsingGDB

But according to your link it is

Quote: CodeRedSupport
a reset will get triggered, and interrupts will not be  enabled)

:(

A little bit pity that in topic not mentioned IDE release, to find out if this already fixed or not.. I will look up changelogs then.

Thanks a lot for pointing!
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by duprein on Thu Jun 27 13:31:29 MST 2013
nice hint! thx, I will try and get back!
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Jun 27 13:28:27 MST 2013

Quote: duprein
The question is: is there a possibility to connect to the target via SWD during operation without resetting/flashing it?



Like this? http://knowledgebase.nxp.com/showthread.php?t=2787
0 Kudos

465 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by whitecoe on Thu Jun 27 13:27:32 MST 2013
Have you tried this...

http://support.code-red-tech.com/CodeRedWiki/DebugRunningSystem ?

HTH!
0 Kudos