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.

C5515 ezdsp SPI Programmer

HI,

I have c5515 ezdsp USB kit. there is nor flash on the board itself to make the board stand alone.

i want to use SPI EEPROM as external memory for burning the code inside.

i downloaded the c5505 programmer code from the code.google.com .

i also made the connection from c5515 ezdsp borad to SPI EEPROM as exactly shown in c5515 evm borad.

but still when i try to burn the code it shows write failed error.

Please suggest.

if any Programmer for SPI eeprom on C5515 ezdsp board.available pls share it.

  • Hi Manish,

    The issue facing you has to do with the pin muxing capability of the C55xx DSPs.

    See Section 4.6.1 External Bus Selection Register (EBSR) and Table 4-7 in the C5515 Datasheet

    The C5505 and C5515 eZdsps use EBSR PPMODE = MODE1 so that the SPI_CS0 signal appears on pin 'P4', whereas the C5515 EVM uses EBSR PPMODE = MODE 3 or 5 so that the SPI_CS0 signal appears on pin (P11).

    C5505 eZdsp:
        SPI EEPROM on SPI_CS0
        EBSR PPMODE = MODE 1 (SPI_CS0 = LCD_CS0_E0/SPI_CS0, pin P4)
       
    C5515 eZdsp:
        SPI CS0 on SPI_CS0
        EBSR PPMODE = MODE 1 (SPI_CS0 = LCD_CS0_E0/SPI_CS0, pin P4)
       
    C5515 EVM:
        SPI EEPROM on SPI_CS0
        EBSR PPMODE = MODE 3 OR 5 (SPI_CS0 = LCD_D[9]/I2S2_FS/GP[19]/ SPI_CS0, pin P11)

    There are a couple of solutions...

    1) Copy the SPI EEPROM connections from the C5505 eZdsp and use the C5505 eZdsp Programmer

    2) Keep the SPI EEPROM connection same as the C5515 EVM and use the C5515 EVM Programmer

     

    The source code for the C5515 EVM Programmer is available from http://code.google.com/p/c5505-ezdsp/downloads/detail?name=programmer_c5515evm_ccs4.zip

    The line that selects the pin muxing (including SPI) is on line 177 of programmer.c (located in programmer_c5515evm_ccs4\src\)

    For C5515 EVM SPI EEPROM (PPMODE = MODE 3 or 5)

    PeripheralPinMapping(PERIPH_BUS_S0_MMCSD0, PERIPH_BUS_S1_MMCSD1, PERIPH_BUS_PP_LCD_SPI_I2S3);

    For C5505/C5515 eZdsp SPI EEPROM (PPMODE = MODE 1) change the line to...

    PeripheralPinMapping(PERIPH_BUS_S0_MMCSD0, PERIPH_BUS_S1_MMCSD1, PERIPH_BUS_PP_GPIO_SPI_UART_I2S2);

    Hope this helps,
    Mark

  • Manish,

    C5505 ezdsp programmer can be found at:

    http://processors.wiki.ti.com/index.php/C5505#Programming_the_eZdsp_for_stand-alone_mode

    Thanks.

  • Dear Mark;
    Thank you very much for your detailed explanation,it helped much for us to solve EEPROM boot problem connected to P4 (unlike to C5515 EVM on which the connection was held with P11).Reading EBSR pin muxing capability carefully solves many problems related to spi -boot- etc...

    Regards