RT1050EVKB "host_msd_fatfs_freertos sdram_debug" would be fail if LCD controller enabled

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

RT1050EVKB "host_msd_fatfs_freertos sdram_debug" would be fail if LCD controller enabled

310件の閲覧回数
James12
Contributor II

I use RT1050EVKB (SDK 2.14.0) to run "host_msd_fatfs_freertos sdram_debug" and find something strange.

If LCD controller is enabled, open-write-read-verify-close round testing for flash disk would sure be fail after several handreds rounds testing.

If LCD controller is disabled, testing will never be fail.

If MIMXRT1052xxxxx_sdram.scf is modified with following 2 lines
* (NonCacheable.init)
* (*NonCacheable)
moved from RW_m_ncache(SDRAM) to RW_m_data2(DTCM), testing round would never be fail with LCD controller enabled.

Why non-cacheable SDRAM is not suitable for USB host memory? Can memory allocated for USB host only be in DTCM?

The attached source code is for your reference.

BTW, this awk example binds ucHeap with non-cachable memory. In real application, nobody will let ucHeap to be in non-cachable memory space because system perfermance will decrease a lot.

 

0 件の賞賛
1 返信

258件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @James12 ,

 

It is ok to put buffer used by USB module in TCM memory, or non-cacheable SDRAM, but non-cacheable SDRAM is much recommended as it has larger size.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------

タグ(1)
0 件の賞賛