Hello Community,
I am using F28069U controller and would like to use the CSM feature to lock the device from tampering.
After going through the reference manual (SRUH18D), this is what I have understood:
1. There are two categories of memory: a) affected by CSM b) unaffected by CSM (section 1.2.2)
2. After reset, memory will be unsecured only if password given matches the password present in specific locations (0x3F7FF8).
Otherwise, CSM-affected-memory can not be read/written.
3. Password match algorithm in the Boot ROM code performs the match upon reset.
4. Password is written into address 0x3F7FF8 using F2806x_CSMPasswords.asm
My questions:
1. In the latest F2806x manual, sectors H to E are not mentioned in both tables (Table 1-10 and 1-11).
Is this just accidental?
2. It is mentioned that I need to write the password into the KEY registers to unlock the device.
What is the means to feed the password to the system? Where does this password match logic reside? Do I need to write?
3. I have a bootloader code that uses USB to program the device. This bootloader code is part of the secure zone.
Hence it can access other secured memory while it is executing. Doesn't this pose security risk as anyone who has access
to the protocol used can erase/reprogram the device? How do I avoid this?
thank you,
Vishwanatha