- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any documentation on the Table of Contents2 (TOC2) beyond what is in "AN221111 PSoC 6 MCU designing a custom secured system"? I'm specifically interested in how userKeyAddr is used. userKeyAddr should point to a 1k block of flash that has space for 4 keys, but I can't find anything on what these keys are.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @lhoag972 ,
Please let us know if your query was resolved.
We will lock the thread in 3 days.
If your problem is not resolved, please create a new thread and we will be happy to help.
Regards,
Pushyanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pushyanth,
My problem is resolved. I was trying to set the value to 0 so that I didn't need to point to anything. I wasn't sure if the ROM/SFLASH code was looking at the value. My problem was that when I set the pointer to 0 the linker was doing something wonky for some reason and not properly aligning the vector table in memory (following the application header). When I had CySecureKeyStorage in used in the code the linker was putting the vector table at a good offset. If I tool CySecureKeyStorage out, the linker was putting the vector table at a bad address. In the DFU link control file __Vectors had a . = ALIGN(4) statement. I changed this to . = ALIGN(256) an the problem went away. I'll just leave the ALIGN(256) as the fix.
Lenny