- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to confirm SRAM ECC enabled or disabled status by reading SRAM related ECCS register value. Under LAUTERBACH TRACE32 environment, after execution of code in Figure 1, below steps are manually operated.
Figure 1 Enable MTU module
1. Press Pause in TRACE. MTU_MEMTEST0.CPU0PTEN set Enable, press Run;
2. Press Pause, no Trap found. MTU_MEMTEST0.CPU0PSEN, press Run;
3. MTU_MEMTEST0.CPU1PTEN set Enable and no Trap;
5. MTU_MEMTEST0.CPU1PSEN set Enable and no Trap;
6. MTU_MEMTEST0.CPU1DTEN set Enable and no Trap;
7. MTU_MEMTEST0.CPU1DSEN set Enable and no Trap;
8. MTU_MEMTEST0.CPU0DSEN set Enable and Enter Context Management Trap is found after Run and Pause;
I'm curious about the reason why the operation of setting CPU0DSEN leading to Trap. Then, I think there should be a right approach of enable CPU0DSEN.
Hope somebody share suggestion with me. Thanks very much !
Best Regards,
tripod
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are below points mentioned in the User manual (importantly highlighted one) taken care:
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you set the MTU_MEMTEST0.CPU0DSEN the the complete DSPR0 will be initialized with 0, this means your context save area will be cleared and is no longer available. Therefore you get a context management trap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mod,
Thanks for your reply at first.
From datasheet tc26x_um_v1.3.pdf, the core0 of tc26x is TC1.6E, and Context Save Areas (CSA) and addresses targeted by explicit context load/store instructions may be placed in DSPR only. And from my view, CSA is related to function calls, interrupts and traps. I have also tried enable MTU_MEMTEST0.CPU0DSEN in core1 but still failed. Is this mean MTU_MEMTEST0.CPU0DSEN cannot be set enable ?
Hope for your reply and thanks very much.
Regards,
tripod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are below points mentioned in the User manual (importantly highlighted one) taken care:
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Prudhvi.,
Thanks for your reply. For the next step, the proper approach for enable MTU_MEMTEST0.CPU0DSEN needs some time to be found, avoiding tested memory.
Regards,
tripod