i.Mx RT 1176 : SDRAM and NAND flash on SEMC controller

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

i.Mx RT 1176 : SDRAM and NAND flash on SEMC controller

432 Views
Sharik
Contributor I

Controller used : i.Mx RT 1176

My code is getting executed from SDRAM and stack/heap is also located in SDRAM, there is NAND flash connected on same SEMC bus which I want to use for data storage.

Can I access / use NAND flash while my code is getting executed from SDRAM?

If not is there any way to use NAND flash memory connected on SEMC bus when code is being executed from SDRAM?

0 Kudos
Reply
3 Replies

403 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

There will be issue since both commands do not operate at the same time so either the SEMC fetches instructions from SDRAM or reads the NAND. 
From the possible solutions is execute from internal RAM however you will be limited in size compared from the SDRAM.
Another possible solution is allocate the specific instructions to access NAND into the internal RAM.

Best regards,
Omar

0 Kudos
Reply

357 Views
Sharik
Contributor I
Thank you Omar for reply.
Please correct me if I am wrong,
1. I will need to move NAND obj file (fsl_semc.o) and instructions/ functions to internal RAM, right?
2. What about the local variables used in that functions, for that will I need to move stack memory also from SDRAM to internal RAM?

Regards,
Sharik.
0 Kudos
Reply

316 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Only the instructions to RAM so there is no conflict when fetching an SEMC instruction from SDRAM which also uses SEMC.

Best regards,
Omar

0 Kudos
Reply