RT1062 SEMC demo Configuration SDRAM project

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

RT1062 SEMC demo Configuration SDRAM project

1,654 Views
join_ren
Contributor III

I try add Configuration sdram_debug project for RT1062 SEMC demo(SDK_2.7.0_EVK-MIMXRT1060-IAR). 

but it not run. When the program runs to SEMC_SDRAMReadWrite32Bit();

Could you tell me "How to RT1062 SEMC demo Configuration SDRAM project".  

Thanks for your support.

捕获.JPG

Labels (1)
3 Replies

1,519 Views
FelipeGarcia
NXP Employee
NXP Employee

Hello,

 

Could you please try to be more specific with your question, did you modify the SDK example? If so, could you please add the details?

 

I tried the example on my side using IAR and it worked correctly. Please tell me the steps to reproduce this issue on my side.

pastedImage_2.png

Best regards,

Felipe

1,519 Views
join_ren
Contributor III

Hi Felipe Garcia:

Thanks for your reply.

Yes, I did modify the SDK example.  with details as follows.

1、Edit configguretion --> New configuration "sdram_debug"

pastedImage_1.pngpastedImage_2.png

2、Add “MIMXRT1062xxxxx_sdram.icf” file to SDK_2.7.0_EVK-MIMXRT1060-IAR\boards\evkmimxrt1060\driver_examples\semc\sdram\iar

3、Linker configuration file "MIMXRT1062xxxxx_sdram.icf"

pastedImage_3.pngpastedImage_4.png

4、Use macro file setting "evkmimxrt1060_sdram_init.mac"

pastedImage_5.png

semc.zip is modify project. you can try it.

"I tried the example on my side using IAR and it worked correctly."

 Could you provide test Project "SEMC sdram_debug" for me ? Thanks for your support.

0 Kudos
Reply

1,519 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi,

 

I did not modify the example. The issue here is that you are trying to use SEMC controller driver to initialize the external SDRAM chip at the same time you want to debug the example in same SDRAM. I tried to debug in SDRAM in a blinky example as it is mentioned in the below thread and I did not faced any issue either.

 

https://community.nxp.com/thread/520394 

 

Best regards,

Felipe

0 Kudos
Reply