IF_DETECT on LPC1549 Xpresso V2 board debug port

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IF_DETECT on LPC1549 Xpresso V2 board debug port

970 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdupre on Tue Jun 30 11:05:36 MST 2015
Anyone know what the IF_DETECT wire is for on debug header P1?
标签 (1)
0 项奖励
回复
1 回复

956 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Wed Jul 01 01:04:03 MST 2015

Quote: jdupre
Anyone know what the IF_DETECT wire is for on debug header P1?


This is usually called GndDetect, you can use it to detect the presence of a debugger.

On the debugger it should be connected to ground.

So if you remove R5 and enable pull-up on P2[13] you should be able to detect whether a debugger is present.

Note that I haven't tried this. I'm also not sure how this is used. Maybe when debugging you want to block certain functions for safety reasons, say if the LPC15xx is controlling a big motor.
0 项奖励
回复