Translation of ETRR address to system address

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Onur
Level 1
Level 1
First like received First reply posted First question asked

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?

1 Solution
µC_Wrangler
Employee
Employee
50 solutions authored 100 sign-ins 25 likes received

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 😏.

View solution in original post

2 Replies
µC_Wrangler
Employee
Employee
50 solutions authored 100 sign-ins 25 likes received

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 😏.

Great! Thanks for the backstory as well.

0 Likes