- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are trying to translate the address inside MCi_ETRR register to the system address while using Mtu module of a tc397xx-256f300s bd chip. We couldn't find a way to utilize MBI and address inside the ETRR register. It is stated that the SRAM blocks are designed as multiple towers but couldn't find a way how these towers are represented in the system address scheme.
The documents we have inspected so far;
- AURIXTC3XX_um_part1_V1.0.0
- TC39XB_um_appx_V1.0.0
Also, there is a statement in one of these documents that say it is not recommended to translate the address in MCi_ETRRx registers back to system address. This statement is not elaborated as to why is it necessary to do so. Could you please elaborate?
Solved! Go to Solution.
- Labels:
-
Aurix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Onur. There's a handy iLLD function that will translate ETRR offsets back into a physical address: see Src/BaseSw/iLLD/TC38A/Tricore/Mtu/Std/IfxMtu.c, IfxMtu_getSystemAddress().
At one point there was some trepidation about disclosing the size of each memory tower, and I think eventually someone realized that detail was not what was holding people back from making their own microcontroller 😏.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Onur. There's a handy iLLD function that will translate ETRR offsets back into a physical address: see Src/BaseSw/iLLD/TC38A/Tricore/Mtu/Std/IfxMtu.c, IfxMtu_getSystemAddress().
At one point there was some trepidation about disclosing the size of each memory tower, and I think eventually someone realized that detail was not what was holding people back from making their own microcontroller 😏.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great! Thanks for the backstory as well.