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.

How to burn SPI FLASH of C6745

Hi

I am using C6745 on my product. and I let it boot from SPI0 flash.

I cannot find spiflash_writer_dsp used for C6745, (another reason, I don't want to use a debugger to flash it, it's inconvienient if we havn't a debugger in hand ), so after I generated the AIS bin file via AISgen(D800K005),

I did 2 steps below.

1. I configured my board boot from UART, and use UartHost, it works fine. (select boot mode as UART1 within AISgen and set the corect boot pin)

2. Burn the AIS bin file to SPI flash by a programmer ,and  then configured my board boot from SPI0 flash, it doesn't work. but I can get correct CLK signal of SDRAM and I can got about 7ms clk and SO signal from SPI0 flash .( select boot mode as SPI0 flash and set the correct boot pin). I got the information 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 Output: Program Counter (PC) = 0xC0010C50

My question is:

If I can burn the AIS bin file to a SPI flash directly and then boot my board from SPI0 flash?

             if not, what can I do? Could it be said  it's the only way that we must burn the flash via emulator?

             if yes, what's  wrong of my issue? why the AIS bin can run from UART boot but not work from SPI0 flash( I just change the boot mode within AISgen)? 

It will be so nice if someone can give us some suggestions.

Best Regards

Angela

 

  • Hello,

    A brutal suggestion: bad PINMUX configuration in AISGen (if used) : SPI0 output pins disconnected on-the-fly ?

    Jakez

  • Many thanks to Jakez, with your help, we finally solved this issue.

    Below is my understanding:

    1. We can generated the AIS bin file via AISgen.

    2. After that, we can burn it to a SPI flash via programmer.

    3. please confirm the configuration of custom board set by GUI of AISgen, especially PINMUX.

    Angela