How place RTD RAM on DTCM memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How place RTD RAM on DTCM memory

ソリューションへジャンプ
407件の閲覧回数
francescovico
Contributor III

Hello,

I'm using RTD , but adding RTDs components the RAM the compiler had this error:

Ld error: region `int_sram_no_cacheable_c0' overflowed by 2380 bytes

This RAM it's full (it's only 8KB).

DTCM instead is 60 KB

For this reason, I would like move all RTD variables in  DTCM  memory.

How I can do this ?

Regards.

 

 

 

 

 

タグ(1)
0 件の賞賛
返信
1 解決策
369件の閲覧回数
carlos_o
NXP TechSupport
NXP TechSupport

Hi @francescovico,

Thanks for your question 

The suggestion is to not move the RTD RAM on D-TCM

To achieve your you goal to have enough space you could try to optimize your app, you could use as reference S32K3xx How to optimization APP code for get more high performance - NXP Community

Also, you could try the following configuration:

- Remove the "-fno-short-enums" option (Project Properties > C/C++ Build > Settings > Optimization)

 

image (2).png

- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)

image (3).png

 

Let me know if you have more questions. 

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
370件の閲覧回数
carlos_o
NXP TechSupport
NXP TechSupport

Hi @francescovico,

Thanks for your question 

The suggestion is to not move the RTD RAM on D-TCM

To achieve your you goal to have enough space you could try to optimize your app, you could use as reference S32K3xx How to optimization APP code for get more high performance - NXP Community

Also, you could try the following configuration:

- Remove the "-fno-short-enums" option (Project Properties > C/C++ Build > Settings > Optimization)

 

image (2).png

- Check the "Remove unused sections" (Project Properties > C/C++ Build > Settings > Standard S32DS C Linker > Miscellaneous)

image (3).png

 

Let me know if you have more questions. 

0 件の賞賛
返信