GNU Toolchain and boot from QuadSPI

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

GNU Toolchain and boot from QuadSPI

ソリューションへジャンプ
2,277件の閲覧回数
adamszalkowski
Contributor II

We are having trouble building our project with the GNU toolchain to boot from QuadSPI0.

We are using the following configuration:

* BOOT_MODE[1:0] = 00

* BT_FUSE_SEL=1

* All other BOOT_CFG fuses untouched

* Image built to load at address 0x3f40_0000

* Verified

* Flashed to QuadSPI0 at address 0x2000_0400 (verified IVT is at beginning of image)

* QuadSPI configuration parameters present

According to the Reference Manual I would expect the bootloader to download the image from QuadSPI to OCRAM and execute it from there. Anyway, the boot loader ends up in the serial downloader and the QuadSPI contents do not seem to be mapped to memory. What are we missing?


Is there any way to debug the boot process of the VF6xx?

Has anybody succeeded yet in building a project with the GNU toolchain to boot from QuadSPI and could provide us with an example Makefile?

Best regards,

Adam

ラベル(2)
0 件の賞賛
返信
1 解決策
1,916件の閲覧回数
cyborgnegotiato
Senior Contributor II

Hi Adam,

If you do not have problem with MQX, there is example for quadspi xip. Of course for GCC.

Regards,

Jozef

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
1,916件の閲覧回数
naoumgitnik
Senior Contributor V

Hello Adam,

I would recommend you to run the Search (in the upper right corner of the web page) using, e.g, the "QSPI sample code" phrase. Please, let us know if you do not find anything for your purposes.

Regards, Naoum Gitnik.

0 件の賞賛
返信
1,916件の閲覧回数
adamszalkowski
Contributor II

Hello Naoum,

no, sorry, all code I could find is either for IAR or DS-5. Anyway, I'm sure somebody must have tried this with GCC and GNU binutils...

Any ideas how to debug the boot sequence?

Regards,
Adam

0 件の賞賛
返信
1,916件の閲覧回数
naoumgitnik
Senior Contributor V

Sorry Adam, I am rather a hardware person but will try to check with our software people if they can comment here.

Regards, Naoum Gitnik.

0 件の賞賛
返信
1,917件の閲覧回数
cyborgnegotiato
Senior Contributor II

Hi Adam,

If you do not have problem with MQX, there is example for quadspi xip. Of course for GCC.

Regards,

Jozef

0 件の賞賛
返信
1,916件の閲覧回数
adamszalkowski
Contributor II

Thanks, that helped a lot

0 件の賞賛
返信
1,916件の閲覧回数
timesyssupport
Senior Contributor II

Hello Adam,

I did not see anything wrong with your configuration. Unfortunately, we do not have sample code or a Makefile for this, as the bootloader we support (U-Boot) does not have boot over QSPI support. Does the Freescale Vybrid team have any sample code available?

Thanks,

Timesys Support

0 件の賞賛
返信
1,916件の閲覧回数
karina_valencia
NXP Apps Support
NXP Apps Support

timesyssupport can you help  to attend this case?

0 件の賞賛
返信