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.

SRIO boot problem(C6455 -> C6474)

hi~~

could you tell me about SRIO boot Sequence exactly.

I try to SRIO boot from TMS320C6455 to TMS320C6474.

I take two way of SRIO boot mode.

first, SRIO boot using direct io protocol.

second, SRIO boot using second boot with I2C EEPROM

but all SRIO boot mode are failed.

I don`t konw why......

Please, give me some way about SRIO boot(ex. SRIO boot example without Boot Test Package)

and please tell me about correct SRIO boot Sequence and SRIO boot example.

  • Please find the explanations in the Bootloader User's Guide, you can find it by clicking on either of the underlined links in your post, above. In the Product Folder, click on Technical Documents and find the Bootloader User's Guide.

    For examples, please refer to the MultiCore Software Developer's Kit (MCSDK) 1.0 for the C6474.

    Regards,
    RandyP

     

    If you need more help, please reply back. If this answers the question, please click  Verify Answer  , below.

  • Hi~

    I try to SRIO boot using Direct I/O.

    I verified that bootload image was written to C6474 in L2 memory.

    But C6474 is never excuted....

    I sent doorbell interrupt in 0x00800000. 

    I want to know why didn't c6474 excute.

  • Dong-Min Park said:
    I sent doorbell interrupt in 0x00800000

    What does this mean exactly? Which doorbell did you send?

    When you halt the DSP under CCS control, what is the DSP doing? Is it still executing in the ROM code address range?

    Regards,
    RandyP

  • c6455 is sent doorbell interrupt to c6474.

    I check to recieve doorbell interupt in c6474 but c6474 never executing.

    I think that c6474 was wait of status.

    I try to send doorbell interrupt at 0x00800000, 0x10800000, 0x00806430 and 0x10806430.

    I attatch My DspCode.h and source code.

    Is there any problem??

    7271.SrioAPI_c.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /******************************************************************************
    * FILE PURPOSE: SRIO API function calls
    ******************************************************************************
    * FILE NAME: SrioAPI.c
    *
    * DESCRIPTION: Provides SRIO API functions for TCI6488/6487. Note for convenience,
    * register direct read/write is done below, refer to CSL for better
    * examples if needed.
    *
    * (C) Copywright reserved by Texas Instruments.
    *****************************************************************************/
    #include "SrioAPI.h"
    /* provide some delay */
    void delay_boot(unsigned int cycles)
    {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

     

    1488.SrioAPI_h.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    #ifndef _SRIOAPI_H
    #define _SRIOAPI_H
    /* Check host side's SRIO capabilities on size limit for each transfer, size limit is on bytes */
    #define SIZELIMIT 1000
    #define DEVICEID 0x0003
    #define DEVICEID_REG (DEVICEID<<16|DEVICEID)
    #define TARGET_DEVICEID 0x0080
    #define SRIO_TIMEOUT 50000
    /* Boot modes */
    #define SRIOBootConfig0 8
    #define SRIOBootConfig1 9
    #define SRIOBootConfig2 10
    #define SRIOBootConfig3 11
    #define PORT0 0
    #define PORT1 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

     

    1488.DspCode.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    #pragma DATA_SECTION(DspCode, ".DspCode")
    #pragma DATA_ALIGN(DspCode,8);
    unsigned char DspCode[]={
    0x10, 0x80, 0x5D, 0x60, 0x00, 0x00, 0x03, 0x3C, 0x10, 0x80, 0x64, 0x30, 0x00, 0x00, 0x01, 0xBC, 0x10, 0x80, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, 0x00, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00,
    0x00, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX