On the first generation TriCore devices (also TC2xx) sectors S6, S16 and S17 of Program Memory Unit (PMU0) Program Flash (also PFLASH) bank 0 (PF0) are the only sectors where HSM code can be programmed for the devices that have Hardware Security Module (HSM). These sectors can be programmed in two different ways:
To prevent accidental overwriting of these sectors when using HSM, winIDEA implements the option to protect these sectors for all TC2xx devices, which is enabled by default.
If these sectors are supposed to be used for non-security applications then their programming must be enabled by disabling the protection. If not it can have various undesired effects (such as the ones described in the topic article title). Together with verification failure after download of the program files, these effects are even more likely to occur. Therefore option Verify after download has to be enabled as well.
Enable Allow HSM sector (S6, S16, S17) programming and Verify after download options.
1. Navigate to Hardware menu / <related PFLASH device> / Configure to open the Device window.
2. Check Allow HSM sector (S6, S16, S17) programming option to disable protection of these sectors.
3. Check the Verify option in Debug menu / Configure Session / SoC / Startup / After download frame to have verification after the download enabled and confirm that programming was done correctly.
Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.