Clarification regarding the Program and Data scratch memory

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

cross mob
Not applicable
In the documentation, it states that:

  • The memory space is 4GB
  • The 4 most significant bits are the segment number
  • Segment 0..7 are reserved for cores


It also says that:
code scratch memory and program scratch pad are found at local addresses 0xC000 0000 and 0xD000 0000,... but that is going to cause a segment overrun.

Could someone please describe the absolute addresses for all cores?
0 Likes
1 Reply
µC_Wrangler
Employee
Employee
50 solutions authored 100 sign-ins 25 likes received
The TriCore architecture supports a 4 GB total memory space for data, program, and I/O. How much data and program memory are available depends on which variant you're using. Each type of memory is small enough to fit within the address range of a single segment (256MB).

The global segment addresses are described in the "Address Map of the On Chip Bus System" section in the User Manual.
0 Likes