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

AURIX™ Forum Discussions

ASUS
Level 1
5 replies posted 10 sign-ins First reply posted
Level 1

Hi,

I'm confused about the register MCi_RANGE. For example, the register MC10_RANGE (for CPU2_DMEM) has a default value of 0xB780, correspondingly, RAEN=0, UPLIMIT=0x6F, LOLIMIT=0x00. 

But in memmap we can see the size of CPU2_DMEM is 0x1C000, please tell me the method of translate 0x6F to 0x1C000 or 0x1BFFF.

And if I want to inject an ECC error at address 0x50010000, how to config this register?

What's the means of "limit in 64 word increments" and "UPLIMIT & 111111B"?

MCi_RANGE.png

Best regards

ASUS

0 Likes
3 Replies
ASUS
Level 1
5 replies posted 10 sign-ins First reply posted
Level 1

Hello? I want to know that, pls

0 Likes
ub786
Level 3
10 replies posted First solution authored 10 sign-ins
Level 3

Hi,


0x70 * 0x400 = 0x1C000 (112x1024 = 114688)

as
lower limit = 0x0
Upper Limit = 0x6F

Which leads to total of 0x70 KB (112*1024) of size.

BR

0 Likes
ASUS
Level 1
5 replies posted 10 sign-ins First reply posted
Level 1

Hi,

Thank you for your reply. Could you tell me what is 0x400? It's said 64 word in usermanual, so 1 word is 16 byte?

 

For another memory, CPU0_PMEM, the default value of UPLIMIT is 0x2F, and the size is 96kbyte, 0x00018000, how to get 0x2F from 0x00018000?

ASUS_0-1657680012863.png

ASUS_1-1657680033149.png

 

Best Regards

ASUS

0 Likes