AnsweredAssumed Answered

MQX application is not booting from QuadSPI_NAND flash

Question asked by Abdul Nihad on Nov 12, 2013

I have developed an mqx based audio application using vybrid tower system.I am using DS5 for my development. I have flashed hello_world application to QuadSPI serial nand flash using quadspi_load application available in the vybrid sample code. hello_world application is booting from quadSPI when I configured J22 jumper for QuadSPI boot. hello_world application is not using mqx.

 

Now I want to boot my mqx audio application from QuadSPI serial nand flash. SO I added quadspi_boot.c,quadspi_boot.h and sram_ds5_a5.scf file from

Freescale\Freescale_MQX_4_0\mqx\examples\bootloader_vybrid_qspixip application. builded and created c array file using fromelf --cadcombined <audioApp_a5>.axf --output flash_bin.c

 

I have flashed flash_bin.c using quadspi_load application available in the vybrid sample code.(modified quadspi_load application to accept my flash_bin.c ).

flashing was success. But audio application is not booting from quadSPI when I configured J22 jumper for QuadSPI boot.

 

Please help me to fix the booting issue.

size of flash_bin.c is 850 KB

size of flash_bin.o is 164 KB ( after compiling using quadspi_load application available in the vybrid sample code)

I am attaching quasdpi_boot.c,quadspi_boot.h and QuadSPI_XIP.scf ( slightly modified version of sram_ds5_a5.scf) which I used in my audio application for reference.

 

BR/-

Nihad

Original Attachment has been moved to: QuadSPI_XIP.scf.zip

Original Attachment has been moved to: quadspi_boot.c.zip

Original Attachment has been moved to: quadspi_boot.h.zip

Outcomes