There is a method we use in development of software which I'll share the link to first -> See "debugport"?

But for all intentions what I think you are asking for is something like a car diagnostic. Sorry that's a no as well since there is no standard like that for PCs.