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.

Error while downloading dsp image on 6636k2h12 platform using mpm

Other Parts Discussed in Thread: TCI6636K2H

Hello there,

While downloading my dsp image on 6636k2h12 platform I am getting below error -

Can anyone explain me what is the probable root cause of this ?

root@172:~# mpmcl load dsp0 hk01.out                                            
load failed (error: -104)                                                       
root@172:~#

Regards,

Vishal

  • Hi Vishal,

    Please load the DSP program at address 0xA0000000. 

    Please refer the below thread for more details.

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/300548/1050404.aspx#1050404

    If the above information does not help you, please provide more information:

    1. Is it a custom board or EVM?

    2. If EVM part number?

    3. What are all the packages used? Versions?

    Thanks.

  • http://wiki.tiprocessors.com/index.php/MCSDK_UG_Chapter_Developing_System_Mgmt#DSP_Image_Requirements

    In above mentioned document I can see explanation for error is as below -

    error codeerror type
    -100 error_ssm_unexpected_event
    -101 error_ssm_invalid_event
    -102

    error_invalid_name_length

    I am also checking "/var/log/mpmsrv.log", for errors.


    Log -

    mpmsrv.c:98:mpm_server: received message of size 44 bytes for cmd 3
    mpmsrv.c:168:mpm_server: received reset command                    
    mpmssm.c:142:mpm_ssm_state_idle: received invalid event 4 for dsp0
    mpmsrv.c:69:mpm_server: waiting for slave message                  
    mpmsrv.c:98:mpm_server: received message of size 64 bytes for cmd 1
    mpmsrv.c:120:mpm_server: received load command for dsp0 filename /home/root/hk01
    mpmssm.c:329:mpm_load_slave: loading dsp0                                       
    mpmdlif.c:219:mpm_get_global_addr: Can't find global address from local address
    mpmdlif.c:127:map_and_copy_segment: Unable to get global address 0x80000000     
    mpmdlif.c:943:DLIF_allocate: map and copy failed for image /home/root/hk01.out w
    mpmdlif.c:1101:DLIF_error: << D L O A D >> ERROR:                               
    mpmdlif.c:1104:DLIF_error: Failed to allocate target memory for static executabl
                                                                                    
    mpmdlif.c:626:mpm_dlif_load: Image loading failed for file /home/root/hk01.out  
    mpmssm.c:340:mpm_load_slave: Image loading failed for /home/root/hk01.out       
    mpmssm.c:303:mpm_ssm_state_error: entered error state for dsp0                  
                                                                                    
    mpmsrv.c:69:mpm_server: waiting for slave message                 

    I think its related to memory and load address.

    I am using default mpm_config.json file

    Size of my out file is almost 35 MB.

    Regards,

    Vishal

  • Target chip : TCI6636k2h

    Target EVM : XTCIEVMK2X   Rev1.1

    CCS  ver    :  CCS  5.4.0.00091

    MCSDK version: 

    mcsdk_bios_3_00_01_12

    mcsdk_linux_3_00_01_12

     

    Note : Code is buiit for c64+

  • Hi Rajasekaran K,

    Thanks for your reply.

    Can you guide me to edit device tree so that I can change it for required address.

    Reference - http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/308283/1109076.aspx#1109076

    Regards,

    Vishal

  • Changed address to 0xA0000000 and its working now.

    Thanks.

    Can you answer my some of queries please ?

    -  How to edit device tree so that I can change it for required address ?

    - How to get DSP trace/print messages from Linux , I have gone through

    http://wiki.tiprocessors.com/index.php/MCSDK_UG_Chapter_Developing_System_Mgmt#Getting_DSP_prints.28trace.29_output_from_ARM.2FLinux_using_MPM

    but couldn't understand .

     

    Thanks in advance.

     

    Regards,

    Vishal