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.

XTCIEVMK2X - TCI6636K2H DSP supports which Endianness by default ???

Other Parts Discussed in Thread: TCI6636K2H

HI there,

Greetings !!!

We are using above mentioned EVM to port our DSP code which is written for big endian system.

I would like to know XTCIEVMK2X - TCI6636K2H DSP supports which Endianness by default ?

If its little endian, what we need to do so that it will support bid endian dsp code ?

Regards,

Vishal

  • Thanks Rajasekaran .

    I have gone through above mentioned links and found that our EVM works with little endian mode by default.

    As expected , its giving error if I try to download  .out file which is compiled for big endian.

    Its mentioned that we can change boot mode to big endian using DIP switch setting.

    There are multiple boot modes are available under category "User Programmable".

    How we can configure this "User Programmable" option for big endian mode ?

    Do we need to rebuild IBL for big endian system?

    Regards,

    Vishal

  • Hi Vishal,

    For 6638, use the link below for setting the DSP endianness. You need to configure the ENDIAN bit from the BMC as described in the link.

    http://processors.wiki.ti.com/index.php/EVMK2H_Hardware_Setup#DIP_Switch_and_Bootmode_Configurations

    Thanks,

    Arun.

  • Hi Arun,

    Thanks for your answer.

    But we have already gone through this document and not able to set desired boot mode.

    It will be really helpful if u describe in simplest way how to configure EVM for big endian mode.

    Regards,

    Vishal

  • Hi..

    I think I have got it.

    [00:00:43]  BMC>bootmode all                                                    
    [00:00:43]  Executing command "bootmode"                                        
    [00:00:43]   0 0x0000000000110CE7   ARM NAND                                    
    [00:00:43]   1 0x0000000000100001   DSP No-Boot                                 
    [00:00:43]   2 0x0000000000112005   ARM SPI......Current Bootmode               
    [00:00:43]   3 0x0000000000100003   ARM I2C                                     
    [00:00:43]   4 0x0000000000100CEF   ARM UART                                    
    [00:00:43]   5 0x0000000000111CEB   ARM RBL ENET                                
    [00:00:43]   6 0x00000000001010E1   SLEEP W/ MAX PLL & ARM BYPASS               
    [00:00:43]   7 0x0000000000103EE1   SLEEP W/ MAX PLL                            
    [00:00:43]   8 0x00000000001101E7   DSP NAND                                    
    [00:00:43]   9 0x00000000001010C1   SLEEP W/ SLOW PLL & ARM BYPASS              
    [00:00:43]  10 0x0000000000112105   DSP SPI                                     
    [00:00:43]  11 0x0000000000100103   DSP I2C                                     
    [00:00:43]  12 0x0000000000100DEF   DSP UART                                    
    [00:00:43]  13 0x00000000001111EB   DSP RBL ENET                                
    [00:00:43]  14 0x0000000000103CC1   SLEEP W/ SLOW PLL & SLOW ARM PLL            
    [00:00:43]  15 0x0000000000100001   DSP No-Boot  

    If I change last bit of any boot mode ( 1 -> 0 ) it will work for big endian.
    We can change bootmode 8 to 15.

    So for example command to change bootmode

    bootmode 2 0 112005 ARM_SPI  (little endian)
    bootmode 10 0 112004 arm_spi  (big endian)

    Is my understanding correct ?

    Regards,

    Vishal