TC35 can not locate emem space

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

cross mob
peijun
Level 1
Level 1
First like given 10 sign-ins 5 replies posted

hi Sir

i am using taksing tool inside aurix develoment stuido.  i found that it alwasy can not locate files inside emem area.

you can see bellow map file,  there is nothe was maping to emem areas,  can you guide me how to check it. 

i am working on TC35

peijun_0-1648436011249.png

 

0 Likes
1 Solution
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear Users,

Just notify that ADS doesn't support TC35x currently.  TASKING could be consulted for the .lsl related issue. 

dw

View solution in original post

0 Likes
7 Replies
peijun
Level 1
Level 1
First like given 10 sign-ins 5 replies posted

i check that all locate rules inside map file result ( all of them are correct, which means my LSL script are ok),  but  why the locate result have no emem space. all the group which should link to Emem area are failed, it remind have no space.  is the tool support TC35? i am using  V1.5.4

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear Users,

I have checked MCMCAN_1_KIT_TC397_TFT on ADS1.5.4, I found EDMEM in .map file, and .lcl file includes the corresponding edmem definition.

Please check your .lcl file, it should be set correctedly.

2022_03_28_12_56_35_AURIX_v1.5.4_workspace_MCMCAN_1_KIT_TC397_TFT_Debug_MCMCAN_1_KIT_TC397_TFT.map.png2022_03_28_12_57_14_AURIX_v1.5.4_workspace_MCMCAN_1_KIT_TC397_TFT_Lcf_Tasking_Tricore_Tc.lsl_AUR.png

dw

0 Likes
peijun
Level 1
Level 1
First like given 10 sign-ins 5 replies posted

hi DW

thansk your reply,    that is ture there is define in TC39 lsl,  but it was missing in TC35x.lsl.  

i make a copy from TC39(modify size),  Emem was found now,  but still cannot locate  address. 0x99000000-0x99200000,  seems like cached space can not be found.

Quiet strange.

 

following are add to TC35X

memory emem0
{
mau = 8;
size = 1M;
type = reserved ram;
map cached (dest=bus:sri, dest_offset=0x99000000, size=1M, cached);
map not_cached (dest=bus:sri, dest_offset=0xb9000000, size=1M);
}

memory emem1
{
mau = 8;
size = 1M;
type = reserved ram;
map cached (dest=bus:sri, dest_offset=0x99100000, size=1M, cached);
map not_cached (dest=bus:sri, dest_offset=0xb9100000, size=1M);
}

0 Likes
peijun
Level 1
Level 1
First like given 10 sign-ins 5 replies posted

i modify TC35X.LSL inside tool like following.  and the error was not report anymore.

following are add to TC35X

memory emem0
{
mau = 8;
size = 2M;
type = reserved ram;
map cached (dest=bus:sri, dest_offset=0x99000000, size=2M);
}

memory emem1
{
mau = 8;
size = 2M;
type = reserved ram;
map not_cached (dest=bus:sri, dest_offset=0xb9100000, size=2M);
}

not sure it will work after flash to device. 

0 Likes
peijun
Level 1
Level 1
First like given 10 sign-ins 5 replies posted

can you have a look on my new update

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

 

       memory emem0
        {
                mau = 8;
                size = 1M;
                type = reserved ram;
                map     cached (dest=bus:sri, dest_offset=0x99000000,           size=1M, cached);
                map not_cached (dest=bus:sri, dest_offset=0xb9000000, reserved, size=1M);
        }

        memory emem1
        {
                mau = 8;
                size = 1M;
                type = reserved ram;
                map     cached (dest=bus:sri, dest_offset=0x99100000,           size=1M, cached);
                map not_cached (dest=bus:sri, dest_offset=0xb9100000, reserved, size=1M);
        }

        memory emem2
        {
                mau = 8;
                size = 1M;
                type = reserved ram;
                map     cached (dest=bus:sri, dest_offset=0x99200000,           size=1M, cached);
                map not_cached (dest=bus:sri, dest_offset=0xb9200000, reserved, size=1M);
        }

        memory emem3
        {
                mau = 8;
                size = 1M;
                type = reserved ram;
                map     cached (dest=bus:sri, dest_offset=0x99300000,           size=1M, cached);
                map not_cached (dest=bus:sri, dest_offset=0xb9300000, reserved, size=1M);
        }

 

Hi peijun,

I found above definition in below path. It's for your reference.

C:\Program Files\TASKING\TriCore v6.3r1\c51\include.lsl\tc37x.lsl

dw_0-1648609321120.png

--above is in TC35X_ts_appx_V2.5.1.pdf

dw

0 Likes
Di_W
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 250 solutions authored

Dear Users,

Just notify that ADS doesn't support TC35x currently.  TASKING could be consulted for the .lsl related issue. 

dw

0 Likes