HyperRAM boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HyperRAM boot

跳至解决方案
4,498 次查看
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 解答
3,727 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
11 回复数
3,727 次查看
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 项奖励
回复
3,727 次查看
igorpadykov
NXP Employee
NXP Employee
3,726 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

3,727 次查看
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 项奖励
回复
3,727 次查看
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

3,727 次查看
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 项奖励
回复
3,727 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ranran

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

Best regards
igor

3,727 次查看
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 项奖励
回复
3,727 次查看
nileshbadodekar
Contributor I

Hi Ranan,

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

Thanks

Nilesh

0 项奖励
回复
3,727 次查看
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 项奖励
回复
3,728 次查看
igorpadykov
NXP Employee
NXP Employee

Hi ranran

 

I think yes this is possible.

 

Best regards
igor

0 项奖励
回复