Dear al,
I have very strange question
I'm developing a project using LPC5526 CPU. Is there any possibility to check if the MCU LINK is connected to the target ?
Thank you very much for your help and cooperation
best regards
Solved! Go to Solution.
Hello, maybe you could try with BLHOST and send the command get property.
blhost -p COMX get-property 1
Best regards,
Pavel
Hello, my name is Pavel, and I will be supporting your case, about your doubts are you using an EVK, or you are referring to the MCU and the external tool? if I do not understand right, please could you elaborate further, and use images if you might be necessary.
Best regards,
Pavel
Dear Pavel, thank you for your prompt answare
Using the __NVIC_SystemReset() I can generate a system reset and the POWER_GetWakeUpCause function provides a way to distinguish between a power-on reset and a system reset by examining the return parameters.
However a system reset can also be triggered by the MCU Link debug probe so, when the program starts, I can't know if the System Reset is generate because __NVIC_SystemReset() is called or or if System Reset is generated by MCU Link probe.
So my question is: Is there any trick or procedure that permits to know if MCU Link probe is connected to the target CPU ? (i.e. checking some special CPU register or I/O port, ....)
Hello, maybe you could try with BLHOST and send the command get property.
blhost -p COMX get-property 1
Best regards,
Pavel