SEMC Initialization for IMXRT

cancel
Showing results for 
Search instead for 
Did you mean: 

SEMC Initialization for IMXRT

Jump to solution
385 Views
yamakatb
Contributor III

Hello,

MIMXRT1064 is used in IAR SDRAM using EWARM IDE.

My SDRAM manual:
https://www.winbond.com/resource-files/w9825g6jb_a05_20170306.pdf

Question:
I am trying to initialize SEMC in the startup routine. There is SEMC_Init after __low_level_init, pin_mux initialization, clock initialization.
Immediately after setting a break and looking at the memory window, the initialization has not been performed and the memory cannot be filled.

On the other hand, if you perform the same initial processing as above in the main, it will succeed.

Is there any missing processing?

Thanks for any help, thank you.

T.Y.

0 Kudos
1 Solution
255 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi T. Y.,

   If you want to initialize the SDRAM, you also can refer to the SDK IAR project, configure it in the .mac files:

 pastedImage_1.png

pastedImage_2.png

  More details, you can check the SDK IAR project, sdram item in the workspace.

pastedImage_3.png

Wish it helps you!

If you still have questions about it, 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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
256 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi T. Y.,

   If you want to initialize the SDRAM, you also can refer to the SDK IAR project, configure it in the .mac files:

 pastedImage_1.png

pastedImage_2.png

  More details, you can check the SDK IAR project, sdram item in the workspace.

pastedImage_3.png

Wish it helps you!

If you still have questions about it, 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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos