XMC1400- Software verification

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User22171
Level 1
Level 1
I'm struggling to verify if the software in third party product based on a XMC1400 microcontroller remained unschanged since the first delivery.
Is there any kind of hash value or checksum which is accessible by debugger, even if the memory of the device is protected?
Unfortunately I was not able to find any information to this topic within datasheets or related documents.
0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted
Hi,

There are two conditions,
If the firmware is locked and if the programming connector is not available then it cannot be Verified
If either of the above conditions are true, we cannot verify
If the firmware is not locked, and we can access the programming pins, we can take a snapshot of the new equipment.
We can use this to later verify the firmware integrity.

Regards
Alakananda
Alakananda

View solution in original post

0 Likes
3 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted
Hi,

There are two conditions,
If the firmware is locked and if the programming connector is not available then it cannot be Verified
If either of the above conditions are true, we cannot verify
If the firmware is not locked, and we can access the programming pins, we can take a snapshot of the new equipment.
We can use this to later verify the firmware integrity.

Regards
Alakananda
Alakananda
0 Likes
User22171
Level 1
Level 1
Thank you very much for the quick reply.
The P0.13, P0.14, P0.15, VSS and VDD Ports are accessible.
I got myself a DAP-MiniWiggler and tried to establish a connection using DAS and the Mem-Tool.
Unfortunately I always get the attached error message.
Is this because the device is fully protected, or because I made some mistake(s) in setting up the connection?

Regards
Andreas4763.attach
0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted
Hi,

Can you confirm us the boot mode of the device?
Can you also power on reset the device and try to connect immediately and test.

Regards
Alakananda
Alakananda
0 Likes