[quote:512c78981e="Arera"]Have you tried it?[/quote:512c78981e]
No. It is obvious that the boot-loader has to be at a certain point in memory, which can be accessed, CPeek() or similar can do the job, I don't have to try to know that.
[quote:512c78981e]...but as far as I remember with no proper results.[/quote:512c78981e]
How do you define "no proper"?
It applies only if no lock bits are set, if the boot area is protected, then the LPM/SPM instructions will fail and these instructions are used by CPeek(), there's no (afaik) backdoor to get access then, as then the lock-bits would not be worth their name.
So actually it depends what and how you do it, to succeed in your goal. And that goal you did not describe very well.
If I remember right, the typical pattern to be read out from a protected chip is kinda 00 01 02 03 04 ...
So as well checking for that pattern can't find out if the boot-loader is present, it can give a hint if the boot-section is locked.
↧