如何使用RT0164的On Chip Flash和RAM在IAR的專案中

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

如何使用RT0164的On Chip Flash和RAM在IAR的專案中

2,678 Views
vk8051
Contributor I

你好,

請問使用RT1064的IAR範例程式中的hello_world專案,

如何把.icf檔案修改成使用On chip flash(4MB),和On Chip flash(1MB).

因為目前專案中的幾個icf檔案都是把Ram分成3段來使用.

謝謝

Vincent

Tags (1)
0 Kudos
Reply
3 Replies

2,564 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vincent,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
说实话,我不太清楚你的问题:如何把.icf檔案修改成使用On chip flash(4MB),和On Chip flash(1MB)
有点前后矛盾。
hello_world 工程有多种配置,并分别对应着各自的icf文件,我也不太清楚你想修改的是哪个icf文件呢?
所以请重新描述一下你的问题。
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply

2,564 Views
vk8051
Contributor I

好,

我整理一下我的問題,

需求:

目前我專案上的需求要先整合別的範例程式,那這部分大約會使用300K bytes Ram, 70K Bytes Flash.

所以之前使用RT1052發現空間比較不夠整體的開發.

問題:

我參考RT1064的範例打算用Hello_world來先行整合確定空間都足夠,

所以我應該使用哪個icf檔案設定可以讓程式源碼都在4M bytes的on chip flash中執行,

然後1MBytes的on chip ram可以都留給程式中使用.

不要像在把Ram切成3段給I-TCM/D-TCM/OCRAM使用的方式.

請問這樣問題有清楚嗎?

還有我應該使用哪一個icf檔案?

謝謝

0 Kudos
Reply

2,564 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vincent kuo,

ITCM、DTCM及OCRAM地址范围均分配了
1MB,三个地址范围可以手工配置,但是不能实现全部的1MB空间分配给OCRAM,具体配置操作请参考《Using the i.MX RT FlexRAM》文档。


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply