CMSIS DAP-DEBUG SWD problem

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

CMSIS DAP-DEBUG SWD problem

833 Views
niket_zope
Contributor III

Hello, I'm working on a project. 

Board - FRDM-KE15Z 

IDE - IAR 7.8

My question is when I put my code to debug (using on chip CMSIS Debugger) at the time of reinitialization of  the default pins When I reach  to SWD_IO and SWD_CLK pins the debug pointer gets misplaced. 

And I tried commenting the pins with there index inside my function and code works fine even in debug and release mode.

NOTE: the same code runs perfect when I debug via jlink debugger. I'm confused what could be the possible problem ?

and how to overcome it.

0 Kudos
2 Replies

733 Views
niket_zope
Contributor III

Hi diego.charles,

Yes, You are correct that's my post only.  

0 Kudos

733 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @Niket_Zope,

I have noticed that you have a similar post 

Debug pointer lost while SWD_IO Pin initialization  (Please, correct me if that is not the case)

and that my colleague Kerry Zhou‌ is already helping you.  

I'll follow the progress on that post. 

Best regards, Diego. 

0 Kudos