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, ....)