how to config the "evkbimxrt1050_dev_hid_generic_freertos" project to use SDRAM

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

how to config the "evkbimxrt1050_dev_hid_generic_freertos" project to use SDRAM

ソリューションへジャンプ
3,632件の閲覧回数
steven_zhang
Contributor V

i tried to use sdram in the "evkbimxrt1050_dev_hid_generic_freertos" project,i configed the project as the attaches。 my PC can not find the HID device while debugging ,can anybody tell me how to config the project correctly?

0 件の賞賛
返信
1 解決策
3,549件の閲覧回数
steven_zhang
Contributor V

by open  the SDRAM_IS_SHAREABLE ,it works。

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
3,549件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Steven Zhang,

    If you are using the USB with SDRAM, you need to configure the USB buffer to the nonCacheable area.

   So you also need to add the below configuration in your project:

pastedImage_1.png

  Another simple way, you also can try to disable the cache, comment the cache:

    SCB_EnableDCache();
    SCB_EnableICache();

In board.c BOARD_ConfigMPU().

You can try it on your side.

If you still have questions, please kindly let me know.

Have a great day,
Kerry

 

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

3,550件の閲覧回数
steven_zhang
Contributor V

by open  the SDRAM_IS_SHAREABLE ,it works。

0 件の賞賛
返信
3,549件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Steven Zhang,

  That's very good to hear it works.

   Shareable means non-cacheable by default.

  Do you still have questions about this topic?

  If yes, please kindly let me know.

  If your question is solved, please help me to mark the correct answer, just to close this case, thank you!

Have a great day,
Kerry

 

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