How to copy application from QSPI Serial Flash to RAM and jump to application?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to copy application from QSPI Serial Flash to RAM and jump to application?

ソリューションへジャンプ
2,508件の閲覧回数
ericshufro
Contributor I

Does anyone have any experience and or sample code demonstrating how to copy an application from serial flash into external memory and then jump to the application entry point?  Also, many of the reference drivers available / pointed to in the forums do not seem to use DMA.  We have some pretty tight startup constraints and were wondering if there is a DMA version of the driver, and if so, would it be any faster than the non DMA versions available?

Does anyone have any timing examples for loading ~3MB (or any size for that matter) from serial flash to RAM at boot time with and without DMA?

Note: We have two 4MB serial flash parts, we are not using parallel mode.  How much performance could we gain if we enabled parallel mode with and without DMA? Is it worth the extra effort?

Thank you in advance,

--Eric

ラベル(7)
0 件の賞賛
1 解決策
1,951件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
1,952件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 件の賞賛
1,952件の閲覧回数
rendy
NXP Employee
NXP Employee

Hi,

there are sample codes available for Vybrid tower board: Sample Code for Vybrid Controller Tower System

Regards

Rene

0 件の賞賛
1,952件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

It seems that you may need to boot from QSPI in non-xip mode, right?

If that is correct you may find the next useful:

QuadSPI XIP and NON-XIP boot

I  have not checked the boot time yet.

I hope it helps.

/Alejandro

0 件の賞賛
1,952件の閲覧回数
jiri-b36968
NXP Employee
NXP Employee

Hi Eric,

Alejandro's document will help you for sure.

The think you are looking for is what uBoot is doing. Source code are available on Timesys pages Embedded Linux software, platform, distributions, packages, libraries, development and debugging too... .

Also Vybrid sample code for TWR-VF65 can help you. Sample Code for Vybrid Controller Tower System.

quadspi_load project is able to program quad spi memories with hello_world project binary, which was build for quadspi target.

/Jiri

0 件の賞賛
1,952件の閲覧回数
jiri-b36968
NXP Employee
NXP Employee

Hi Eric,

discovered that on web sample code is which does not support parallel mode. We will try to update it.

Attached is updated code.

/Jiri

0 件の賞賛