HyperRAM boot

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

HyperRAM boot

Jump to solution
3,045 Views
rans
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
2,274 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

View solution in original post

0 Kudos
11 Replies
2,274 Views
rans
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
2,273 Views
igorpadykov
NXP Employee
NXP Employee

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

2,274 Views
rans
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
2,274 Views
igorpadykov
NXP Employee
NXP Employee

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

2,274 Views
rans
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
2,274 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

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

Best regards
igor

2,274 Views
rans
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
2,274 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
2,274 Views
rans
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
2,275 Views
igorpadykov
NXP Employee
NXP Employee

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

0 Kudos