lpcware

How to detect if LPClink is attached ?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by DaveNadler on Sun May 15 12:59:41 MST 2011
[FONT=Arial]A build including debug_printf starts and runs happily on power-up, but stops at the first debug_printf if LPClink is not attached. This isn't so urgent, but it would be really nice if my development build could run whether or not LPClink is present and still include debug_printf's. I'd like to wrap debug_printf etc with something that suppresses them if LPClink isn't connected.

So - Is there an easy way to check if LPClink is attached ?
This is using CodeRed semi-hosted Redlib on LPC11C14.

Thanks !
Best Regards, Dave
[/FONT]

Outcomes