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.

C6745 SPI0 Flash boot issue

Hi

I have a board which is configured boot from SPI0 flash, I generated the bin file via AISgen, after I burned the flash and power on the board, the clock of SDRAM is correct as I desired , and I also can see the CLK/CS/SI/SO signal via oscilloscope, but it seems my application code wasn’t loaded to the RAM of DSP, the led can’t blink as I emulated via XDS560V2plus.

I also configured the board booted from UART, use the same .out file to generated the new file for UART boot, the application code can work, the led can blink.

My question is:

  1. I can boot from UART and application can work, it means that my .out file is correct.
  2. Use the same .out file to generate .bin file for SPI0 Flash, then the SDRAM can work as I configured, at least the CLK is correct
  3. I also can see the CLK/CS/SI/SO signal of SPI0 flash.
  4. Why it seems that my application code cannot be  loaded  to DSP or it cannot work (the led doesn’t blink)?

My flash type is MX25L3206E.

Can you give me some suggestion or hint? What’s wrong here?

 

Angela

  • something added to above issue:

    I just see that the CLK/SO of SPI0 flash keep about  7ms (SPI speed=1M),  so I guess that maybe our applicaion code was not loaded to DSP. 

    Angela

  • also added to above issue:

    We read the BOOTROM inforamtion from C6745 via XDS560V2plus as below:

     C674X_0: GEL Output: ---------------------------------------------
    C674X_0: GEL Output: |               BOOTROM Info                |
    C674X_0: GEL Output: ---------------------------------------------
    C674X_0: GEL Output: ROM ID: d800k005
    C674X_0: GEL Output: Silicon Revision 2.1
    C674X_0: GEL Output: Boot pins: 62333
    C674X_0: GEL Output: Boot Mode: SPI0 Flash (0x0000F37D)
    C674X_0: GEL Output:
    ROM Status Code: 0x0000000A
    Description:C674X_0: GEL Output: Invalid AIS sync opcode
    C674X_0: GEL O

    What's mean " Invalid AIS sync opcode"?

    another, if the FLASH is empty or absent, the error information is "invalid AIS keyword"

    Would you like to give us some suggestion?

    Thanks so much.

    Angela

  • I forget to told that I burned the FLASH by programmer, the bin file is generated by AISgen.

    Angela

  • Hi, this is the full information I got.

    C674X_0: GEL Output: ---------------------------------------------
    C674X_0: GEL Output: |               BOOTROM Info                |
    C674X_0: GEL Output: ---------------------------------------------
    C674X_0: GEL Output: ROM ID: d800k005
    C674X_0: GEL Output: Silicon Revision 2.1
    C674X_0: GEL Output: Boot pins: 62333
    C674X_0: GEL Output: Boot Mode: SPI0 Flash (0x0000F37D)
    C674X_0: GEL Output:
    ROM Status Code: 0x0000000A
    Description:C674X_0: GEL Output: Invalid AIS sync opcode
    C674X_0: GEL Output:
    Program Counter (PC) = 0xC0010C50