This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6424 – Trouble booting through EMIF

C6424 – Trouble booting through EMIF

 

Hi

 

I have trouble booting through the EMIF interface.

 

Setup:

-----------------------------------------

-          Bootmode: EMIF ROM Direct boot

-          Bus width: 16 bit

-          PCI: off

-          Endianess: Little

The DSP is supposed to boot from flash through the EMIF interface.

 

This is what I did:

--------------------

The boot is planned to run width a two level boot, but before I boot in two steps I would like to have a small assembler program working. Therefore I have:

1.       Started with the small ASM program from  SPRAAK5A – May 2008 and modified it to toggle a pin on my board, but for some reason the on-chip bootloader doesn’t handover the control to my program.

2.       Traced  the EMIF communication through Xilinx/Chipscope and can see that the DSP reads from the flash,  but it seems not to reaches the AIS command that parses the control to the program.

3.       Studied the 32-bit AIS commands and it seems to be OK according to SPRAAK5A.

4.       The AIS encapsulating is done by the GenAIS.exe from 24. September 2008.

5.       Simple copied the AIS Boot Image for EMIFA ROM Boot from SPRAAK5A into the flash and tried to boot from it and can again see that the DSP reads from the flash, but does reach the JUMP_CLOSE command.

 

Next step:

-------------

I will modify my board to boot through the UART and transfer the same program to the DSP.

Please let me know if you have other ideas that could present the DSP from booting!

A project that is able to boot from the C6424 would also be nice to have, which I can use as a working reference.

 

 

 

Best regards,

Per

  • Note that there are two EMIF boot modes, and which is selected depends on the state of the FASTBOOTpin.  WIth FASTBOOT low, you get EMIFA direct boot, where the device skips the ROM bootloader and tries to directly execute code sitting in the flash (that is, you should have a valid stream of C6000 binary instructions in the flash for this to work).  With FASTBOOT high, you get EMIFA AIS boot, where the ROM boot loader runs and then tries to parse and interpret the AIS image in the flash attached to the EMIF.

    For the scenario you are describing, it seems you want to second boot mode.

    Regards, Daniel

  • Hi Daniel

    Thanks a lot!

    My C6424 was setup for EMIFA Direct Boot and I should have set it to EMIFA AIS boot.

    I have another question regarding AIS:

    Do you recommend that I use the GenAIS.pl or GenAIS.exe (C# program). It seems to me that the GenAIS.exe is more user friendly, but it have read in one of the forums that the GenAIS.exe may have limited functionality.

    Regards, Per

  • Hi again

    I need to be sure that I'm using the right version of the GenAIS.pl for my C6424.

    Is

    "Generates AIS command sctream for bootloading DM64xLC.     2007-June-13 V1.08.00"

    The correct version and lates version?

    Regards, Per