How to use both SRAM & SDRAM on RT1050

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

How to use both SRAM & SDRAM on RT1050

936 Views
eric_yp_chen
Contributor I

Hi All

I designed a usb camera with rt1052, capturing image from csi interface and storage the frame

buffer in SDRAM. The code is boot from NorFlash to SDRAM for now. However, I'd like to 

switch this boot-up flow , replace it with NorFlash to internal SRAM. 

Question is I know how to generate sram bootable image, but I don't know how to initialize the frame

buffer for camera in SDRAM.

Any possible solutions ?

0 Kudos
3 Replies

901 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Question is I know how to generate SRAM bootable image, but I don't know how to initialize the frame
buffer for the camera in SDRAM.
-- To provide the fastest possible support, I'd highly recommend you to refer to the elcdif_rgb demo in the SDK, in this demo, it uses the SDRAM to store the frame buffer.
Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

920 Views
mjbcswitzerland
Specialist V

Hi

If you have been using SDRAM for code and you have a boot-able image for SDRAM you have presumably used the DCD to configure the SDRAM.

You can maintain the same SDRAM configuration in DCD and then use if just for your frame buffer instead of the code.

Regards

Mark
uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training or product development requirements

 

0 Kudos

875 Views
eric_yp_chen
Contributor I

Hi All

I've found a way myself , by changing boot sequence (Nor flash to SRAM), then initialize SDRAM in code instead of using dcd.

Thanks

0 Kudos