HyperRAM boot

cancel
Showing results for 
Search instead for 
Did you mean: 

HyperRAM boot

Jump to solution
1,753 Views
ranshalit
Senior Contributor I

Hello,

Is there an example showing how to boot an application with HyperRAM ? (I've searched in imxRT 1050 documentation but didn't find any reference).

Or is it actually the same as running from HyperFlash (FlexSPI interface in 0x60000000) without any special configuration in memory controller ?

Thank you,

ranran

1 Solution
982 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

View solution in original post

0 Kudos
11 Replies
982 Views
ranshalit
Senior Contributor I

Hello Igor,

I can't find the source code which need to be attached to this AN.

Where can I find it ?

Thank you so much,

ranran

0 Kudos
982 Views
igorpadykov
NXP TechSupport
NXP TechSupport
981 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi ranran

please look at AN12239 How to Enable HyperRAM with i.MX RT

https://www.nxp.com/docs/en/nxp/application-notes/AN12239.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

982 Views
ranshalit
Senior Contributor I

Hi Igor,

Thank you very much.

According to this AN is seems that the code is running from ram or sdram and then access hyperRAM.

But we need to boot from hyperRAM . Is it possible to boot from flash into hyperRAM?  How ?

Another thing is that I can't find the source code package which is referenced in this AN. Where can it be downloaded from ?

Thank you,

ranran

0 Kudos
982 Views
igorpadykov
NXP TechSupport
NXP TechSupport

i.MXRT1050 Reference Manual sect.8.6.1 Serial NOR Flash Boot via FlexSPI

lists only HyperFlash as boot option, seems boot from hyperRAM is not supported.

i.MX RT1050 SDK can be obtained from

Welcome | MCUXpresso SDK Builder 

Best regards
igor

982 Views
ranshalit
Senior Contributor I

Hi Igor,

Thank you for the help.

Just to make the question direct as possible:

We plan use the following chip:

http://www.cypress.com/file/322936/download 

  • It is memory chip combined of both hyperRAM and hyperFLASH in one unit.
  • It uses CS to select between the hyperRAM and hyperFLASH

We wanted to use it similarly as done here, but instead of serial NOR we use hyperFLASH and instead of SDRAM: to use hyperRAM.

RT1050 - Booting from serial NOR flash to SDRAM 

We are not sure yet about the correctness of using this merged RAM&FLASH chip for the boot, especially the issue of CS which might be problematic for the boot using MCU (MCU bootrom shall need to copy from flash to RAM ).

Can you please say if you think it is possible to use this device for bootring from hyperFlash to hyperRAM ?

Thank you,

ranran

0 Kudos
982 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi ranran

I think one can use hyperRAM instead of serial NOR hyperFLASH for your case.

Best regards
igor

982 Views
ranshalit
Senior Contributor I

Hi Igor,

Thank you.

I understand. That's seems reasonable because both hyperRAM and hyperRAM reside in the same memory space (flexSPI, 0x60000000).

Yet, hyperRAM is voltile memory, which means that it can't be used to store the application between reboot.

We use a combined chip:

http://www.cypress.com/file/322936/download 

The question is if it is possible to boot from hyperFlash and then rellocate the application from hyperflash to hyperram and continue running the application ?

Best Regards,

Ranan

0 Kudos
982 Views
nileshbadodekar
Contributor I

Hi Ranan,

were you able to achieve this? I am kind of trying to do the same!

Thanks

Nilesh

0 Kudos
982 Views
ranshalit
Senior Contributor I

Hi Niles,

I haven't got the opportunity to try that.

Our system engineer decided to move to another architecture and different memories.

Thanks,

0 Kudos
983 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

0 Kudos