XMC 4800 Flash Prodection

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

cross mob
User15194
Level 1
Level 1
I have a bootloader and application system design.
The bootloader protect the flash against extern manipulations with "XMC_FLASH_PROTECTION_READ_GLOBAL"
When the bootloader update my application, do i have to unlock the flash with XMC_FLASH_VerifyReadProtection ?


Thanks,
Embedded
0 Likes
3 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

Yes, this should temporarily disable the flash write protection.


Regards,
Jesus
0 Likes
User15194
Level 1
Level 1
Hi,
so during update application my flash is not protected against manipulation through JTAG interface ?
When i set "XMC_FLASH_PROTECTION_READ_GLOBAL" the flash is also write protected ?


Thanks,
Embedded
0 Likes
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi,

No, the debugger will not have access after a successful call to XMC_FLASH_VerifyReadProtection() with the correct password.
Yes, the read protection also enables the write protection.


Regards,
Jesus
0 Likes