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.

TMS320F280049C: 280049 cpuset Restart

Part Number: TMS320F280049C
Other Parts Discussed in Thread: LAUNCHXL-F280049C

?

  • Hi TI experts,

    LAUNCHXL-F280049C is my developing board. I'm debugging the program by CCS10.2.
    When I click the CCS MENU 'CPU RESET',the program starts at address 0x3fc7a5 .
    Then the program runs and stops at file autoinit.h. The source code is like below:

    if (&__TI_Handler_Table_Base != &__TI_Handler_Table_Limit)
    {
    char *const *table_ptr = __TI_CINIT_Base;
    char *const *table_limit = __TI_CINIT_Limit;

    while (table_ptr != table_limit)
    {
    char const *load_addr = *table_ptr++;
    char *run_addr = *table_ptr++;
    char handler_idx = *load_addr++;

    handler_fn_t handler = __TI_Handler_Table_Base[handler_idx];
    handler(load_addr, run_addr);
    }
    }

    I checked the assembly window and found a strange information.(SEE picture--0x83459.jpg,0x837C4.jpg)
    After the program runs at address 0x83459: MOVL XAR7,*+XAR5[0]

    @XAR5=0X837C4,*XAR5=0X8340D,

    the register @XAR7 should be 0X8340D,.
    But the resut of the register @XAR7 is 0x8240D.

    So this make my program collapses.

    This makes me confused.Why?