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.

Failed to run Codec Engine 2.24 Example on romote side ( OMAP3530 EVM )

Other Parts Discussed in Thread: OMAP3530

Hi, All

I am using OMAP3530 EVM with WinCE 6.0, and try to run the CE example in dvsdk_wince_1_00_00_05 by the given instructions as http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/2_25_01_06/exports/codec_engine_2_25_01_06/examples/build_instructions_wince.html.

I integrated CMEM by adding it to the PB subprojects, and successfully run the image1_copy example (app_local_wince.exe) on the gpp side, but failed to run remote Windows CE app(app_remote_wince.exe). On the forum I found the similar post(http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/6485.aspx ), and have already tried to do:

    1. Copy “all.x64P” file to the same directory as the application (at the top level of "Default Device") by the tool Remote File Viewer;

2. Set up the trace by command “s osalsetenv_wince.exe CE_DEBUG 2”;

 

Finally, I got the error code 'DSP_EBASE + 0x8' (DSP_EFAIL), which is a general failure defined in errbase.h, now have no idea how to treat it.  Is there something wrong with my work or any updated build instruction?

 

Please help and any advice is appreciated. Thanks in advance.

 

Regards,

Jett


 

The detail output information is followed:

 

818280 PID:400002 TID:520000e RELFSD: Opening file osalsetenv_wince.exe from desktop

 818327 PID:51e000e TID:520000e Environment variable set

 826479 PID:524000e TID:527000e @826,479,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Sem_create> count: 0

 826479 PID:524000e TID:527000e @826,479,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x50760]

 826479 PID:524000e TID:527000e @826,479,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Sem_create> count: 0

 826479 PID:524000e TID:527000e @826,479,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x50780]

 826479 PID:524000e TID:527000e @826,479,000us: [+0 T:0x0527000e] OT - Thread_create> Enter (fxn=0x2b8d8, attrs=0x0)

 826482 PID:524000e TID:527000e @826,485,000us: [+0 T:0x0527000e] OT - Thread_create> Exit (task=0x507c0)

 826484 PID:524000e TID:527000e @826,489,000us: [+0 T:0x0527000e] ti.sdo.ce.alg - ALG_init> Enter

 826485 PID:524000e TID:527000e @826,491,000us: [+0 T:0x0527000e] ti.sdo.ce.alg - ALG_init> Exit

 826487 PID:524000e TID:527000e @826,495,000us: [+6 T:0x0527000e] CE - Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min, 2=good, 3=max)

 826488 PID:524000e TID:527000e @826,497,000us: [+0 T:0x0527000e] CS - Server_init()

 826488 PID:524000e TID:527000e @826,497,000us: [+0 T:0x0527000e] CS - Server_init> Global_useLinkArbiter = 0

 826489 PID:524000e TID:527000e @826,499,000us: [+2 T:0x0527000e] ti.sdo.ce.examples.apps.image_copy - main> ti.sdo.ce.examples.apps.image_copy

 826489 PID:524000e TID:527000e @826,499,000us: [+1 T:0x0527000e] ti.sdo.ce.examples.apps.image_copy - App-> Application started.

 826490 PID:524000e TID:527000e @826,501,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xb0000.

 826490 PID:524000e TID:527000e @826,501,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_getPhys(0xb0000) = 0x85ffd000.

 826490 PID:524000e TID:527000e @826,501,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xc0000.

 826490 PID:524000e TID:527000e @826,501,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_getPhys(0xc0000) = 0x85ffe000.

 826491 PID:524000e TID:527000e @826,503,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xd0000.

 826491 PID:524000e TID:527000e @826,503,000us: [+4 T:0x0527000e] OM - Memory_contigAlloc> CMEM_getPhys(0xd0000) = 0x85fff000.

 826492 PID:524000e TID:527000e @826,505,000us: [+0 T:0x0527000e] CE - Engine_open> Enter('image_copy', 0x0, 0x4fb28)

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] CE - rserverOpen('all.x64P'), count = 0

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] OP - Processor_create> Enter(imageName='all.x64P', linkCfg='(null)', attrs=0x4fabc)

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] OP - doCmd> Enter (cmdId=1, proc=0x50d40)

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x50760]

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x50760]

 826494 PID:524000e TID:527000e @826,509,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x50780] timeout[0xffffffff]

 826494 PID:524000e TID:535000e @826,509,000us: [+1 T:0x0535000e] OP - daemon> thread created.

 826494 PID:524000e TID:535000e @826,509,000us: [+0 T:0x0535000e] OP - getCmd_d> Enter (proc=0xafe3c)

 826494 PID:524000e TID:535000e @826,509,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x50760] timeout[0xffffffff]

 826495 PID:524000e TID:535000e @826,511,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x50760] status[0]

 826495 PID:524000e TID:535000e @826,511,000us: [+0 T:0x0535000e] OP - getCmd_d> Exit (result=1)

 826495 PID:524000e TID:535000e @826,511,000us: [+0 T:0x0535000e] OP - Processor_create_d> Enter(proc=0x50d40)

 826495 PID:524000e TID:535000e @826,511,000us: [+0 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x50d5c)

 826495 PID:524000e TID:535000e @826,511,000us: [+2 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...

 826496 PID:524000e TID:535000e @826,513,000us: [+2 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power...

 826496 PID:524000e TID:535000e @826,513,000us: [+2 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_on> return (0)

 826497 PID:524000e TID:535000e @826,515,000us: [+2 T:0x0535000e] OP - Processor_create_d> Initializing DSP PROC...

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'all.x64P']

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8b800000, sizeInBytes=0x600000, shared=1, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x8be00000, sizeInBytes=0x100000, shared=1, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x8bf00000, sizeInBytes=0x1000, shared=1, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='IVAMMU', startAddress=0x5d000000, sizeInBytes=0x1000, shared=0, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #4 to Link configuration: name='L4PER', startAddress=0x49000000, sizeInBytes=0x100000, shared=0, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #5 to Link configuration: name='IRAM', startAddress=0x5c7f8000, sizeInBytes=0x8000, shared=1, syncd=0

 826498 PID:524000e TID:535000e @826,517,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #6 to Link configuration: name='L1DSRAM', startAddress=0x5cf04000, sizeInBytes=0xc000, shared=1, syncd=0

 826499 PID:524000e TID:535000e @826,519,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #7 to Link configuration: name='DDRALGHEAP', startAddress=0x8a000000, sizeInBytes=0x1800000, shared=0, syncd=0

 826499 PID:524000e TID:535000e @826,519,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #8 to Link configuration: name='L4CORE', startAddress=0x48000000, sizeInBytes=0x1000000, shared=0, syncd=0

 826499 PID:524000e TID:535000e @826,519,000us: [+2 T:0x0535000e] OP - Processor_create_d> Found 'CMEM' entry, adjusting base and size according to CMEM_getBlock()

 826499 PID:524000e TID:535000e @826,519,000us: [+0 T:0x0535000e] OP - Processor_create_d> Setting CMEM base to 0x85000000, size to 0x1000000

 826504 PID:524000e TID:535000e @826,529,000us: [+2 T:0x0535000e] OP - Processor_create_d> Adding DSP segment #9 to Link configuration: name='CMEM', startAddress=0x85000000, sizeInBytes=0x1000000, shared=0, syncd=0

 826504 PID:524000e TID:535000e @826,529,000us: [+2 T:0x0535000e] OP - Processor_create_d> DODSPCTRL was=0; now=0

 826504 PID:524000e TID:535000e @826,529,000us: [+3 T:0x0535000e] OP - LINKCFG_Object generated for PROC_setup(p) ...

 826504 PID:524000e TID:535000e @826,529,000us: [+3 T:0x0535000e] OP - linkCfg->gppObject->

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   name = "ARM9"

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   maxMsgqs = 0x82

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   maxChnlQueue = 0x10

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   poolTableId = 0xffffffff

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   numPools = 0x0

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->dspObject->

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   name = "OMAP3530"

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   dspArch = 0x2

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   loaderName = "COFF"

 826505 PID:524000e TID:535000e @826,531,000us: [+3 T:0x0535000e] OP -   autoStart = FALSE

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   execName = "DEFAULT.OUT"

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   doDspCtrl = DSP_BootMode_Boot_NoPwr

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   resumeAddr = 0x8bf00020

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   resetVector = 0x8bf00000

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   resetCodeSize = 0x1000

 826512 PID:524000e TID:535000e @826,545,000us: [+3 T:0x0535000e] OP -   maduSize = 0x1

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   cpuFreq = 0x6ddd0

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   endian = 0x3

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   wordSwap = 0x0

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   memTableId = 0x0

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   memEntries = 0xa

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   linkDrvId = 0x0

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   arg1 = 0xffffffff

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   arg2 = 0xffffffff

 826513 PID:524000e TID:535000e @826,547,000us: [+3 T:0x0535000e] OP -   arg3 = 0x0

 826524 PID:524000e TID:535000e @826,569,000us: [+3 T:0x0535000e] OP -   arg4 = 0x0

 826524 PID:524000e TID:535000e @826,569,000us: [+3 T:0x0535000e] OP -   arg5 = 0xffffffff

 826524 PID:524000e TID:535000e @826,569,000us: [+3 T:0x0535000e] OP -

 826524 PID:524000e TID:535000e @826,569,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->linkDrvObjects->

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   name = "SHMDRV"

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   hshkPollCount = 0x989680

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   ipsTableId = 0x0

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   numIpsEntries = 0x1

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   poolTableId = 0x0

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   numPools = 0x1

 826525 PID:524000e TID:535000e @826,571,000us: [+3 T:0x0535000e] OP -   dataTableId = 0x0

 826526 PID:524000e TID:535000e @826,573,000us: [+3 T:0x0535000e] OP -   numDataDrivers = 0x1

 826526 PID:524000e TID:535000e @826,573,000us: [+3 T:0x0535000e] OP -   mqtId = 0x0

 826526 PID:524000e TID:535000e @826,573,000us: [+3 T:0x0535000e] OP -   ringIoTableId = 0x0

 826526 PID:524000e TID:535000e @826,573,000us: [+3 T:0x0535000e] OP -   mplistTableId = 0x0

 826530 PID:524000e TID:535000e @826,579,000us: [+3 T:0x0535000e] OP -   mpcsTableId = 0x0

 826530 PID:524000e TID:535000e @826,581,000us: [+3 T:0x0535000e] OP -

 826530 PID:524000e TID:535000e @826,581,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->memTables[0][i].

 826530 PID:524000e TID:535000e @826,581,000us: [+3 T:0x0535000e] OP - entry #0:

 826530 PID:524000e TID:535000e @826,581,000us: [+3 T:0x0535000e] OP -   entry = 0x0

 826530 PID:524000e TID:535000e @826,581,000us: [+3 T:0x0535000e] OP -   name = "DDR2"

 826531 PID:524000e TID:535000e @826,583,000us: [+3 T:0x0535000e] OP -   physAddr = 0x8b800000

 826531 PID:524000e TID:535000e @826,583,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x8b800000

 826531 PID:524000e TID:535000e @826,583,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   size = 0x600000

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   shared = TRUE

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP - entry #1:

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   entry = 0x1

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   name = "DSPLINKMEM"

 826532 PID:524000e TID:535000e @826,585,000us: [+3 T:0x0535000e] OP -   physAddr = 0x8be00000

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x8be00000

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   size = 0x100000

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   shared = TRUE

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP - entry #2:

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   entry = 0x2

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   name = "RESET_VECTOR"

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   physAddr = 0x8bf00000

 826535 PID:524000e TID:535000e @826,591,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x8bf00000

 826536 PID:524000e TID:535000e @826,593,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826536 PID:524000e TID:535000e @826,593,000us: [+3 T:0x0535000e] OP -   size = 0x1000

 826536 PID:524000e TID:535000e @826,593,000us: [+3 T:0x0535000e] OP -   shared = TRUE

 826536 PID:524000e TID:535000e @826,593,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826536 PID:524000e TID:535000e @826,593,000us: [+3 T:0x0535000e] OP - entry #3:

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   entry = 0x3

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   name = "IVAMMU"

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   physAddr = 0x5d000000

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x5d000000

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   size = 0x1000

 826542 PID:524000e TID:535000e @826,605,000us: [+3 T:0x0535000e] OP -   shared = FALSE

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP - entry #4:

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   entry = 0x4

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   name = "L4PER"

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   physAddr = 0x49000000

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x49000000

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826543 PID:524000e TID:535000e @826,607,000us: [+3 T:0x0535000e] OP -   size = 0x100000

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   shared = FALSE

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP - entry #5:

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   entry = 0x5

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   name = "IRAM"

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   physAddr = 0x5c7f8000

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x107f8000

 826554 PID:524000e TID:535000e @826,629,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   size = 0x8000

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   shared = TRUE

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP - entry #6:

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   entry = 0x6

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   name = "L1DSRAM"

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   physAddr = 0x5cf04000

 826555 PID:524000e TID:535000e @826,631,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x10f04000

 826560 PID:524000e TID:535000e @826,641,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826560 PID:524000e TID:535000e @826,641,000us: [+3 T:0x0535000e] OP -   size = 0xc000

 826560 PID:524000e TID:535000e @826,641,000us: [+3 T:0x0535000e] OP -   shared = TRUE

 826560 PID:524000e TID:535000e @826,641,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP - entry #7:

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   entry = 0x7

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   name = "DDRALGHEAP"

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   physAddr = 0x8a000000

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x8a000000

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   size = 0x1800000

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   shared = FALSE

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP - entry #8:

 826561 PID:524000e TID:535000e @826,643,000us: [+3 T:0x0535000e] OP -   entry = 0x8

 826606 PID:524000e TID:535000e @826,733,000us: [+3 T:0x0535000e] OP -   name = "L4CORE"

 826606 PID:524000e TID:535000e @826,733,000us: [+3 T:0x0535000e] OP -   physAddr = 0x48000000

 826606 PID:524000e TID:535000e @826,733,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x48000000

 826606 PID:524000e TID:535000e @826,733,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826606 PID:524000e TID:535000e @826,733,000us: [+3 T:0x0535000e] OP -   size = 0x1000000

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   shared = FALSE

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP - entry #9:

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   entry = 0x9

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   name = "CMEM"

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   physAddr = 0x85000000

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   dspVirtAddr = 0x85000000

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   gppVirtAddr = 0xffffffff

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   size = 0x1000000

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   shared = FALSE

 826607 PID:524000e TID:535000e @826,735,000us: [+3 T:0x0535000e] OP -   syncd = FALSE

 826622 PID:524000e TID:535000e @826,765,000us: [+3 T:0x0535000e] OP -

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->ipsTables[0][i].

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP - entry #0:

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   name = "IPS"

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   numIpsEvents = 0x20

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   gppIntId = 0x1a

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   dspIntId = 0x37

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   dspIntVectorId = 0x5

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   arg1 = 0x2faf080

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -   arg2 = 0x0

 826623 PID:524000e TID:535000e @826,767,000us: [+3 T:0x0535000e] OP -

 826624 PID:524000e TID:535000e @826,769,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->poolTables[0][i].

 826624 PID:524000e TID:535000e @826,769,000us: [+3 T:0x0535000e] OP -

 826624 PID:524000e TID:535000e @826,769,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->dataTables[0][i].

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP - entry #0:

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   name = "ZCPYDATA"

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   baseChnlId = 0x0

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   numChannels = 0x10

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   maxBufSize = 0x4000

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   poolId = 0x0

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   queuePerChnl = 0x1

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   ipsId = 0x0

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   ipsEventNo = 0x1

 826635 PID:524000e TID:535000e @826,791,000us: [+3 T:0x0535000e] OP -   arg1 = 0x0

 826636 PID:524000e TID:535000e @826,793,000us: [+3 T:0x0535000e] OP -   arg2 = 0x0

 826636 PID:524000e TID:535000e @826,793,000us: [+3 T:0x0535000e] OP -

 826636 PID:524000e TID:535000e @826,793,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->mqtObjects->

 826636 PID:524000e TID:535000e @826,793,000us: [+3 T:0x0535000e] OP -   name = "ZCPYMQT"

 826636 PID:524000e TID:535000e @826,793,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826642 PID:524000e TID:535000e @826,805,000us: [+3 T:0x0535000e] OP -   maxMsgSize = 0xffffffff

 826642 PID:524000e TID:535000e @826,805,000us: [+3 T:0x0535000e] OP -   ipsId = 0x0

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   ipsEventNo = 0x0

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   arg1 = 0x0

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   arg2 = 0x0

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->ringIoObjects->

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   name = "RINGIOTABLE"

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826643 PID:524000e TID:535000e @826,807,000us: [+3 T:0x0535000e] OP -   maxEntries = 0x40

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   ipsId = 0x0

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   ipsEventNo = 0x2

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->mplistObjects->

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   name = "MPLISTTABLE"

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   maxEntries = 0x40

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   ipsId = 0xffffffff

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -   ipsEventNo = 0xffffffff

 826644 PID:524000e TID:535000e @826,809,000us: [+3 T:0x0535000e] OP -

 826658 PID:524000e TID:535000e @826,837,000us: [+3 T:0x0535000e] OP - linkCfg->dspConfigs[0]->mpcsObjects->

 826658 PID:524000e TID:535000e @826,837,000us: [+3 T:0x0535000e] OP -   name = "MPCS"

 826658 PID:524000e TID:535000e @826,837,000us: [+3 T:0x0535000e] OP -   memEntry = 0x1

 826659 PID:524000e TID:535000e @826,839,000us: [+3 T:0x0535000e] OP -   maxEntries = 0x100

 826659 PID:524000e TID:535000e @826,839,000us: [+3 T:0x0535000e] OP -   ipsId = 0xffffffff

 826659 PID:524000e TID:535000e @826,839,000us: [+3 T:0x0535000e] OP -   ipsEventNo = 0xffffffff

 826660 PID:524000e TID:535000e Entered PROC_setup ()

                linkCfg     [0x3a340]

 826662 PID:524000e TID:535000e Entered DRV_Initialize ()

                drvObj     [0x3b000]

                arg           [0x0]

 826663 PID:524000e TID:535000e LINK: DRV_Initialize: DspLink Driver Open Failed!

 826664 PID:524000e TID:535000e Leaving DRV_Initialize ()                 status [0x80008008]

 826664 PID:524000e TID:535000e

Failure: Status:[0x80008008] File:[0x200] Line:[231]

 826664 PID:524000e TID:535000e Leaving PROC_setup () status [0x80008008]

 826664 PID:524000e TID:535000e @826,849,000us: [+7 T:0x0535000e] OP - Processor_create_d> Loading and starting DSP server 'all.x64P' FAILED, status=[0x80008008] (look for error code 'DSP_EBASE + 0x8' in dsplink*/packages/dsplink/gp

 826664 PID:524000e TID:535000e p/inc/usr/errbase.h)

 826664 PID:524000e TID:535000e @826,849,000us: [+0 T:0x0535000e] OP - Processor_delete_d> Enter (proc=0x50d40)

 826664 PID:524000e TID:535000e @826,849,000us: [+2 T:0x0535000e] OP - Processor_delete_d> Closing remote transport...

 826673 PID:524000e TID:535000e Entered MSGQ_transportClose ()

                procId      [0x0]

 826673 PID:524000e TID:535000e Leaving MSGQ_transportClose ()   status [0x80008002]

 826673 PID:524000e TID:535000e @826,867,000us: [+6 T:0x0535000e] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008002.

 826673 PID:524000e TID:535000e @826,867,000us: [+2 T:0x0535000e] OP - Processor_delete_d> Stopping DSP...

 826673 PID:524000e TID:535000e Entered PROC_stop ()

                procId      [0x0]

 826674 PID:524000e TID:535000e

Failure: Status:[0x80008002] File:[0x200] Line:[1168]

 826674 PID:524000e TID:535000e Leaving PROC_stop ()    status [0x80008002]

 826674 PID:524000e TID:535000e @826,869,000us: [+6 T:0x0535000e] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008002

 826674 PID:524000e TID:535000e @826,869,000us: [+2 T:0x0535000e] OP - Processor_delete_d> Closing pool...

 826674 PID:524000e TID:535000e Entered POOL_close ()

                poolId       [0x0]

 826674 PID:524000e TID:535000e Leaving POOL_close ()   status [0x80008000]

 826674 PID:524000e TID:535000e @826,869,000us: [+6 T:0x0535000e] OP - Processor_delete_d> Closing pool FAILED, status=0x80008000

 826674 PID:524000e TID:535000e @826,869,000us: [+2 T:0x0535000e] OP - Processor_delete_d> Detaching from DSP...

 826674 PID:524000e TID:535000e Entered PROC_detach ()

                procId      [0x0]

 826674 PID:524000e TID:535000e

Failure: Status:[0x80008000] File:[0x200] Line:[663]

 826674 PID:524000e TID:535000e Leaving PROC_detach ()                status [0x80008000]

 826684 PID:524000e TID:535000e @826,889,000us: [+6 T:0x0535000e] OP - Processor_delete_d> Detaching from DSP FAILED, status=0x80008000

 826684 PID:524000e TID:535000e @826,889,000us: [+2 T:0x0535000e] OP - Processor_delete_d> Destroying DSP... (object, that is)

 826684 PID:524000e TID:535000e Entered PROC_destroy ()

 826684 PID:524000e TID:535000e

Failure: Status:[0x80008000] File:[0x200] Line:[344]

 826684 PID:524000e TID:535000e

Failure: Status:[0x80008000] File:[0x200] Line:[428]

 826684 PID:524000e TID:535000e Leaving PROC_destroy ()               status [0x80008000]

 826684 PID:524000e TID:535000e @826,889,000us: [+6 T:0x0535000e] OP - Processor_delete_d> Destroying DSP FAILED, status=0x80008000

 826684 PID:524000e TID:535000e @826,889,000us: [+0 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_off> Enter (handle=0x50d80)

 826684 PID:524000e TID:535000e @826,889,000us: [+2 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_off> Turning off DSP power...

 826685 PID:524000e TID:535000e @826,891,000us: [+2 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_off> Closing Local Power Manager object...

 826685 PID:524000e TID:535000e @826,891,000us: [+0 T:0x0535000e] ti.sdo.ce.ipc.Power - Power_off> return (0)

 826685 PID:524000e TID:535000e @826,891,000us: [+0 T:0x0535000e] OP - Processor_delete_d> return

 826685 PID:524000e TID:535000e @826,891,000us: [+2 T:0x0535000e] OP - Processor_create_d> return (0)

 826685 PID:524000e TID:535000e @826,891,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x50780]

 826685 PID:524000e TID:535000e @826,891,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x50780]

 826685 PID:524000e TID:535000e @826,891,000us: [+0 T:0x0535000e] OP - getCmd_d> Enter (proc=0xafe3c)

 826699 PID:524000e TID:527000e @826,919,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x50780] status[0]

 826699 PID:524000e TID:535000e @826,919,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x50760] timeout[0xffffffff]

 826699 PID:524000e TID:527000e @826,919,000us: [+0 T:0x0527000e] OP - doCmd> Exit (result=2)

 826699 PID:524000e TID:527000e @826,919,000us: [+0 T:0x0527000e] OP - Processor_delete> Enter(proc=0x50d40)

 826699 PID:524000e TID:527000e @826,919,000us: [+1 T:0x0527000e] OP - Processor_delete(0x50d40) freeing object ...

 826699 PID:524000e TID:527000e @826,919,000us: [+0 T:0x0527000e] OP - Processor_delete> return.

 826699 PID:524000e TID:527000e @826,919,000us: [+6 T:0x0527000e] CE - rserverOpen: can't start 'all.x64P'; Processor_create failed

 826700 PID:524000e TID:527000e @826,921,000us: [+0 T:0x0527000e] CE - rserverOpen('all.x64P'): 0x0 done.

 826700 PID:524000e TID:527000e @826,921,000us: [+0 T:0x0527000e] CE - Engine_close(0x50d00)

 826700 PID:524000e TID:527000e @826,921,000us: [+0 T:0x0527000e] CS - Server_disconnectTrace('0x50d00', 0x0)

 826700 PID:524000e TID:527000e @826,921,000us: [+0 T:0x0527000e] CS - Server_connectTrace> return(0)

 826700 PID:524000e TID:527000e @826,921,000us: [+0 T:0x0527000e] CE - Engine_open> return(0)

 826860 PID:524000e TID:527000e @827,241,000us: [+1 T:0x0527000e] ti.sdo.ce.examples.apps.image_copy - app done.

 826860 PID:524000e TID:527000e @827,241,000us: [+0 T:0x0527000e] OP - doCmd> Enter (cmdId=3, proc=0x0)

 826860 PID:524000e TID:527000e @827,241,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x50760]

 826860 PID:524000e TID:527000e @827,241,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x50760]

 826860 PID:524000e TID:527000e @827,241,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x50780] timeout[0xffffffff]

 826861 PID:524000e TID:535000e @827,243,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x50760] status[0]

 826861 PID:524000e TID:535000e @827,243,000us: [+0 T:0x0535000e] OP - getCmd_d> Exit (result=3)

 826861 PID:524000e TID:535000e @827,243,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x50780]

 826861 PID:524000e TID:535000e @827,243,000us: [+0 T:0x0535000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x50780]

 826863 PID:524000e TID:527000e @827,247,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x50780] status[0]

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] OP - doCmd> Exit (result=1)

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] OT - Thread_delete> Enter (task=0x507c0)

 826864 PID:524000e TID:527000e @827,249,000us: [+4 T:0x0527000e] OT - Thread_delete> TerminateThread() (0x0)

 826864 PID:524000e TID:527000e @827,249,000us: [+4 T:0x0527000e] OT - Thread_delete> WaitForSingleObject(task->hThread)@827,249,000us: [+0 T:0x0527000e] OT - Thread_delete> Exit (task=0x507c0)

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x50760]

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_delete>

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Entered Sem_delete> sem[0x50780]

 826864 PID:524000e TID:527000e @827,249,000us: [+0 T:0x0527000e] ti.sdo.ce.osal.Sem - Leaving Sem_delete>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • Jett,

    That error message does ring a bell.

    When I had that error, it had turned out that the dsplink instructions had changed for the new version (and I was using the instructions from the previous version - 1.61.05 versus 1.64). Once I had the dsplink built according its instructions, I could get rid of this error.

    This might or might not be the case at your end. Please see if it helps. The error is related to failure to open dsplink (it is part of your logs above the other error from the codec server).

    Regards,

    Aparna

  • Hi, Aparna

     

    Thank you so much for your reply.

     

    I followed your advice, and examine the version of each tool, and build from beginning. But so frustrated, I tried both the manually adding way and the project integration way by using several different version tools combination, and all failed at the remote Windows CE app. Either failed to open DspLink driver or failed to load and start DSP server 'all.x64P'”.

     

    Currently I am using combination : BSP6.13 + CE2.24.01 + DSPLink1.64  + bios5.33.05 + CGT6.1.9 + Xdc3.10.05.61.

    Because I am new to WINCE, I think something must be wrong with my understanding the instructions.  Far more likely, I think it is the CMEM section.

     

    Here are my integrate steps related to CMEM:

    PART I ). Manually mode: 

      1.  copy pre-build cmemk.dll, lpmdrv.dll, and lpmdrv.pdb to %_FLATRELEASEDIR% directory;

      2.  Modify platform.bib file by adding the following:

             ;-- CMEM --------------------------------------------------------------------

             IF SYSGEN_CMEM

                 cmemk.dll        $(_FLATRELEASEDIR)\cmemk.dll     NK SHK

             ENDIF SYSGEN_CMEM

             ;----------------------------------------------------------------------------

             ;-- LPM ---------------------------------------------------------------------

             IF SYSGEN_LPM

                 lpmdrv.dll      $(_FLATRELEASEDIR)\lpmdrv.dll    NK SHK

             ENDIF SYSGEN_LPM

             ;----------------------------------------------------------------------------

      3. In project properties, create and set environmental variable SYSGEN_CMEM=1, SYSGEN_LPM=1;

      4. Adding the following in platform.reg file:

             ;-- CMEM --------------------------------------------------------------------

             IF SYSGEN_CMEM

             [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CMEMK]

                  "Prefix"="CMK"

                  "Dll"="cmemk.dll"

                  "Index"=dword:1

                  "NumPools0"=dword:7

                  "NumPools1"=dword:0

     

                  "Block0_NumBuffers_Pool0"=dword:20

                  "Block0_PoolSize_Pool0"=dword:1000 ; size in bytes (hex)

                  "Block0_NumBuffers_Pool1"=dword:8

                  "Block0_PoolSize_Pool1"=dword:20000 ; size in bytes (hex)

                  "Block0_NumBuffers_Pool2"=dword:5

                  "Block0_PoolSize_Pool2"=dword:100000 ; size in bytes (hex)

     

                  "Block0_NumBuffers_Pool3"=dword:1

                  "Block0_PoolSize_Pool3"=dword:15cfc0 ; size in bytes (hex)

                  "Block0_NumBuffers_Pool4"=dword:1

                  "Block0_PoolSize_Pool4"=dword:3e800 ; size in bytes (hex)

                  "Block0_NumBuffers_Pool5"=dword:1

                  "Block0_PoolSize_Pool5"=dword:36ee80 ; size in bytes (hex)

     

                 "Block0_NumBuffers_Pool6"=dword:3

                 "Block0_PoolSize_Pool6"=dword:96000 ; size in bytes (hex)

                 "PhysicalStart0"=dword:85000000

                 "PhysicalEnd0"=dword:86000000

     

                  ; physical start and end for block 1

                  "PhysicalStart1"=dword:0

                  "PhysicalEnd1"=dword:0

             ENDIF SYSGEN_CMEM

             ;----------------------------------------------------------------------------

             ;-- LPM ------------------------------------------------------------------

             IF SYSGEN_LPM

             [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LPM]

                    "Prefix"="LPM"

                    "Dll"="lpmdrv.dll"

                    "Index"=dword:1

                    "Trace"=dword:0

             ENDIF SYSGEN_LPM

             ;-----------------------------------------------------------------------------

      5. Edit config.bib file

             MEMORY

                  ARGS        84000000 00001000 RESERVED ; 4K

             #if (defined BSP_DSPLINK || defined BSP_TI_DVSDK)

             IF BSP_SDRAM_BANK1_ENABLE

                    NK                         84001000    047FF000    RAMIMAGE ; 72MB - 4K

                    DISPLAY               88800000    01000000    RESERVED ; 16MB

                    CMEM_DSP           89800000    02800000    RESERVED ; 40 MB

                    RAM                      8C000000    08000000    RAM      ; 128MB

             ELSE

                    NK                        84001000 01FFF000 RAMIMAGE ; 32MB - 4K

                    RAM                     86000000 02000000 RAM      ; 40 MB

                    DISPLAY              88000000 01000000 RESERVED ; 16MB

                    CMEM_DSP          89000000 01000000 RESERVED ; 40 MB

                    DDRALGHEAP     8A000000 01800000 RESERVED ; 24 MB

                    DDR2                   8B800000 00600000 RESERVED ;

                    DSPLINKMEM       8BE00000 00100000 RESERVED ;

                   RESETCTRL         8BF00000 00001000 RESERVED ;

             ENDIF

             #else

             IF BSP_SDRAM_BANK1_ENABLE

                     NK                         84001000    06FFF000    RAMIMAGE ; 112MB - 4K

                     DISPLAY               8B000000    01000000    RESERVED ; 16MB

                     RAM                      8C000000    08000000    RAM      ; 128MB

             ELSE

                     NK                         84001000    02FFF000    RAMIMAGE ; 48MB - 4K

                     RAM                      87000000    04000000    RAM      ; 64MB

                     DISPLAY               8B000000    01000000    RESERVED ; 16MB

             ENDIF

             #endif

      6. In "ti_evm_3530.bat" file,

                      set BSP_DSPLINK=1

                      set BSP_SDRAM_BANK1_ENABLE=



    PART II ). PB IDE integration mode: 

     

      1. Copy the CMEM catalog “cmem.pbcxml”, to %_WINCEROOT\PLATFORM\<BSP>\CATALOG.

      2. "Add Existing Subproject" of ../cmem/drivers/cmem.pbpxml file.

      3.  Edit the ../cmem/drivers/OMAP353/SOURCES file:

              RELEASETYPE = PLATFORM

      4. "Build Current BSP and Subprojects".

     

    Are these steps right? Thank you very much.

     

    Best Regards,

    Jett

  • Quick follow-up question, Jett.

    Did you build the dsplink.dll? since I did not see that step in your post, just want to be sure. I have not yet gone through the steps you have listed but the error could be due to the dsplink itself. Could you confirm?

    Thanks,

    aparna

  • Yes, Aparna,

    I use the ..dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\doc\InstallGuide_WinCE_OMAP3530.pdf  as the reference, and build dsplink.dll successfully (No error display).

    Thanks

    Jett

  • The DOS commands I used to build dsplink are:

    1.  cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\etc\host\scripts\msdos
    2.  dsplinkenv.bat
    3.  dsplinkcfg.bat  --platform=OMAP3530 --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=WINCE  --comps=ponslrmc
    4.  cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\dsp
    5.  C:\ti\Tools\xdctools_3_10_05_61\xdc clean
    6.  C:\ti\Tools\xdctools_3_10_05_61\xdc .interfaces
    7.  cd ..\gpp
    8.  C:\ti\Tools\xdctools_3_10_05_61\xdc clean
    9.  C:\ti\Tools\xdctools_3_10_05_61\xdc .interfaces
    10. cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\gpp\src
    11  gmake -s
    12 cd samples\
    13 gmake -s
    14 C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\dsp\src
    15 gmake -s
    16 cd samples\
    17 gmake -s

    Regards,

    Jett

  • Hi, Aparna,

    Once I got the following doubtful debug (Level3) information:

     [+0 T:0x05c6000a S:0x0011fe04] OP - Processor_create_d> Enter(proc=0x50dc0)

     [+0 T:0x05c6000a S:0x0011fdf0] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x50ddc)

     [+2 T:0x05c6000a S:0x0011fdf0] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...

     [+7 T:0x05c6000a S:0x0011fdf0] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0 FAILED

     [+2 T:0x05c6000a S:0x0011fdf0] ti.sdo.ce.ipc.Power - Power_on> return (1)

     [+6 T:0x05c6000a S:0x0011fe04] OP - Processor_create_d> Power_on failed.

     [+2 T:0x05c6000a S:0x0011fe04] OP - Processor_create_d> return (0)

     [+0 T:0x05c6000a S:0x0011fe20] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x507a0]

     [+0 T:0x05c6000a S:0x0011fe20] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x507a0]

     [+0 T:0x05c6000a S:0x0011fe2c] OP - getCmd_d> Enter (proc=0x11fe3c)

     [+0 T:0x05c6000a S:0x0011fe18] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x50780] timeout[0xffffffff]

    [+0 T:0x05c1000a S:0x0004fa28] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x507a0] status[0]

    [+0 T:0x05c1000a S:0x0004fa3c] OP - doCmd> Exit (result=2)

    [+0 T:0x05c1000a S:0x0004fa44] OP - Processor_delete> Enter(proc=0x50dc0)

    [+1 T:0x05c1000a S:0x0004fa44] OP - Processor_delete(0x50dc0) freeing object ...

    [+0 T:0x05c1000a S:0x0004fa28] OM - Memory_free> Enter(0x50dc0, 0x24)

    [+0 T:0x05c1000a S:0x0004fa28] OM - Memory_free> return (0x1)

    [+0 T:0x05c1000a S:0x0004fa44] OP - Processor_delete> return.

    [+6 T:0x05c1000a S:0x0004fa80] CE - rserverOpen: can't start 'all.x64P'; Processor_create failed

     [+0 T:0x05c1000a S:0x0004fa80] CE - rserverOpen('all.x64P'): 0x0 done.

     [+0 T:0x05c1000a S:0x0004fab0] CE - Engine_close(0x50d80)

     

    ...

    That's mean the LPM doesn't work?  Thanks

    Regards,

    Jett

  • Jett,

    Is the XDCpaths.mak file configured correctly for LPM_INSTALL_DIR?

    My file has the following line:

    LPM_INSTALL_DIR       := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/local_power_manager_1_24_01

    regards,

    Aparna

     

  • Aparna,

    The following are the content of  "setpaths.bat" file in folder "dvsdk_wince_1_00_00_05"

     

    REM ============================================================================

     

    REM DSP BIOS installation path.

    set BIOS_INSTALL_DIR=

    set BIOS_INSTALL_DIR=C:\ti\Tools\bios_5_33_05

     

    REM DSP Code generation tool path

    set CODEGEN_INSTALL_DIR=

    set CODEGEN_INSTALL_DIR=C:\ti\Tools\C6000_CGT_6_1_9

     

    REM Installation directory of XDCTOOLS

    set XDC_INSTALL_DIR=

    set XDC_INSTALL_DIR=C:\ti\Tools\xdctools_3_10_05_61

     

    REM Perl path

    set BASE_PERL=

    set BASE_PERL=c:\perl

     

    REM set RM=%XDC_INSTALL_DIR%\bin\rm

    REM set CP=%XDC_INSTALL_DIR%\bin\cp

     

    REM WinCE tools and path

    set WINCE_DIR=%_WINCEROOT%

    REM set WINCE_TOOL_DIR=%WINCE_DIR%/SDK/BIN/I386/ARM

    set WINCE_TOOL_DIR=%WINCE_DIR%\SDK\BIN\I386\ARM

     

    REM ============================================================================

    REM  DVSDK component paths. These need to be modified only if updating

    REM  new components or trying standalone builds.

    REM ============================================================================

     

    REM Installation directory of DVSDK. This is set by the WinCE DVSDK installer

    REM in the system env variables. Set this variable to overide the path

    REM defined by the installer.

    set DVSDK_INSTALL_DIR=C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05

     

    REM Installation directory of Codec Engine

    set CE_INSTALL_DIR=

    set CE_INSTALL_DIR=%DVSDK_INSTALL_DIR%\codec_engine_2_24_01

     

    REM Installation directory of Framework Components

    set FC_INSTALL_DIR=

    set FC_INSTALL_DIR=%DVSDK_INSTALL_DIR%\framework_components_2_24_01

     

    REM Installation directory of Local Power Manager

    set LPM_INSTALL_DIR=

    set LPM_INSTALL_DIR=%DVSDK_INSTALL_DIR%\local_power_manager_1_24_01

     

    REM Installation directory of dmai (Davinci Multimedia Application Interface)

    set DMAI_INSTALL_DIR=

    set DMAI_INSTALL_DIR=%DVSDK_INSTALL_DIR%\dmai_1_24_00_07

    REM Path where DMAI apps will be installed

    set EXEC_DIR=%_FLATRELEASEDIR%

     

    REM Installation directory of TI Multimedia directshow filters

    set DSHOW_INSTALL_DIR=

    set DSHOW_INSTALL_DIR=%DVSDK_INSTALL_DIR%\dshow_1_00_00_07

     

    REM Installation directory of XDAIS

    set XDAIS_INSTALL_DIR=

    set XDAIS_INSTALL_DIR=%DVSDK_INSTALL_DIR%\xdais_6_24_01_06

     

    REM Installation directory of WinCE Utils

    set WINCEUTILS_INSTALL_DIR=

    set WINCEUTILS_INSTALL_DIR=%DVSDK_INSTALL_DIR%\winceutils_1_00_02

    set CMEM_INSTALL_DIR=

    set CMEM_INSTALL_DIR=%WINCEUTILS_INSTALL_DIR%

     

    REM Installation directory of BIOS Utils

    set BIOSUTILS_INSTALL_DIR=

    set BIOSUTILS_INSTALL_DIR=%DVSDK_INSTALL_DIR%\biosutils_1_02_02

     

    REM Installation directory of Codec and Server packages

    set CODEC_INSTALL_DIR=

    set CODEC_INSTALL_DIR=%DVSDK_INSTALL_DIR%\cs1omap3530_1_00_01

     

    REM Installation directory of DSPLINK

    set LINK_INSTALL_DIR=

    set LINK_INSTALL_DIR=%DVSDK_INSTALL_DIR%\dsplink_1_64

     

    REM Set XDCPATH

    set XDCPATH=

    set XDCPATH=%XDC_INSTALL_DIR%\packages;%CE_INSTALL_DIR%\packages;%FC_INSTALL_DIR%\packages;%LPM_INSTALL_DIR%\packages;%DMAI_INSTALL_DIR%\packages;%XDAIS_INSTALL_DIR%\packages;%WINCEUTILS_INSTALL_DIR%\packages;%CODEC_INSTALL_DIR%\packages;%LINK_INSTALL_DIR%;

     

    REM ============================================================================

    REM Define DSPLINK CFG str

    REM ============================================================================

    set CFG_DSPLINK_STR=--platform=OMAP3530 --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=WINCE --comps=ponslmrc

     

     

    Thanks.

     

     

    Jett

  • Jett,

    you might also want to double-check xdcpaths.mak file at a location similar to:

    C:\ti\DVSDK_WinCE\dvsdk_wince_1_00_00_05-with-ce-example-and-before\codec_engine_2_24_01\examples

    my xdcpaths.mak file looks like:

    # Note, DM357 is a supported device, but only if PROGRAMS is set to APP_LOCAL,
    # indicating an "ARM-only codec" application.  The CE example Servers cannot be
    # built for DM357, and since setting PROGRAMS to APP_CLIENT introduces a
    # dependency on the Server, we can't support APP_CLIENT on DM357.
    DEVICES  := OMAP3530

    # (Optional) remove from this list the GPP OS's you're not interested in
    # building.  In most cases, you'll likely only leave one, as WinCE users don't
    # need Linux, and Linux users don't need WinCE (and probably only want _either_
    # GCC or uClibc, but not both)
    #
    # Note, this is a space-delimited list.
    GPPOS := WINCE

    # (Optional) Remove from the list the types of programs you're not
    # interested in building:
    #
    # APP_CLIENT -- ARM client for codecs running on the DSP, on dual-CPU systems
    # DSP_SERVER -- DSP server with the codecs, running on the DSP, on dual-CPUs
    # APP_LOCAL  -- Client+codecs in a single program, whether ARM only or DSP only
    #
    # Note, this is a space-delimited list.
    PROGRAMS := APP_CLIENT DSP_SERVER

    # (Mandatory) Specify where various components are installed.
    # What you need depends on what device(s) you're building for, what type(s) of
    # programs you are building for, and whether your Codec Engine distribution
    # includes a "cetools" directory. The legend:
    # CE      - Codec Engine (needed for ARM and for DSP)
    # XDC     - XDC tools (ARM and DSP)
    # BIOS    - DSP/BIOS (DSP only)
    # DSPLINK - Arm<->DSP communication software (ARM + DSP)
    # XDAIS   - XDAIS header files (ARM and DSP)
    # FC      - Framework Components, various resource managers (ARM and DSP)
    # CMEM    - Contiguous memory manager (ARM only)
    # BIOSUTILS - DSP BIOS Utilities (including CPU load monitor) (DSP only)
    # EDMA3_LLD - EDMA3 Low Level Driver and resource manager (ARM and DSP)
    # LPM       - Local Power Manager (ARM + DSP)
    #
    # you can omit directory specifications for the components you think you don't
    # need (will be warned if you do, based on your DEVICES + PROGRAMS selection
    # above).

    CE_INSTALL_DIR        := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/codec_engine_2_24_01
    XDC_INSTALL_DIR       := C:/DVSDK/xdctools_3_10_05_61
    BIOS_INSTALL_DIR      :=C:/DVSDK/bios_5_33_05
    DSPLINK_INSTALL_DIR   := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/dsplink_1_64

    # no need to specify the installation directories below if your CE installation
    # has cetools/ directory on top
    #
    # Note, CMEM_INSTALL_DIR is a misnomer - it should be LINUXUTILS_INSTALL_DIR
    # but we've got an existing user base.  Need to fix this later.
    USE_CETOOLS_IF_EXISTS := 1
    XDAIS_INSTALL_DIR     := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/xdais_6_24_01_06
    FC_INSTALL_DIR        := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/framework_components_2_24_01
    CMEM_INSTALL_DIR      := _your_CMEM_installation_directory/linuxutils_2_24_03
    WINCEUTILS_INSTALL_DIR:= C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/winceutils_1_00_02
    BIOSUTILS_INSTALL_DIR := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/biosutils_1_02_02
    EDMA3_LLD_INSTALL_DIR := _your_EDMA3_LLD_installation_directory/edma3_lld_1_06_00_01
    LPM_INSTALL_DIR       := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/local_power_manager_1_24_01


    # (Mandatory) specify correct compiler paths and names for the architectures
    # you'll be building for:

    # compiler path and name for Montavista Arm 9 toolchain. NOTE: make sure the
    # directory you specify has a "bin" subdirectory
    CGTOOLS_V5T := /db/toolsrc/library/tools/vendors/cs/arm/arm-2007q3
    CC_V5T := bin/arm-none-linux-gnueabi-gcc
    CGTARGET := gnu.targets.arm.GCArmv5T

    # compiler path and name for uClibc toolchain. NOTE: make sure the
    # directory you specify has a "bin" subdirectory
    CGTOOLS_UCARM9 := /db/toolsrc/library/tools/vendors/opensource/buildroot/10122007/build_arm/staging_dir/usr
    CC_UCARM9 := bin/arm-linux-gcc

    # WinCE toolchain.
    WINCE_ROOTDIR := C:/WINCE600
    WINCE_PROJECTROOT:=$(WINCE_ROOTDIR)/OSDesigns/EVM_OMAP3530/EVM_3530/Wince600/TI_EVM_3530_ARMV4I

    # compiler path and name for TI C64x toolchain. NOTE: make sure the
    # directory you specify has a "bin" subdirectory
    CGTOOLS_C64P :=C:/DVSDK/cgtools
    #CC_C64P      := bin/cl6x

    # compiler path and name for TI C674 toolchain. NOTE: make sure the
    # directory you specify has a "bin" subdirectory
    CGTOOLS_C674 := /db/toolsrc/library/tools/vendors/ti/c6x/6.1.5/Linux
    #CC_C674      := bin/cl6x

    # compiler path and name for Linux 86 toolchain. NOTE: make sure the
    # directory you specify has a "bin" subdirectory
    CGTOOLS_LINUX86 := _your_Linux86_installation_directory
    #CC_LINUX86   := bin/gcc

    # -----------------------------------------------------------------------------

    # Most users have no need to modify anything below this line.

    # -----------------------------------------------------------------------------

    # If we're a subcomponent, allow larger product settings to override our
    # defaults.  The variable $(RULES_MAKE) can be overridden on the 'make'
    # command-line if the location below is not correct (for example, if you
    # want to use a Rules.make from some other location.
    RULES_MAKE := $(CE_INSTALL_DIR)/../Rules.make
    ifneq ($(wildcard $(RULES_MAKE)),)
    include $(RULES_MAKE)
    endif

    # Note, some good defensive programming here could be to ensure $(DEVICES) and
    # $(PROGRAMS) - and others! - don't contain any space characters

    #
    # Set XDCARGS to some of the variables above.  xdcrules.mak will pass this
    # variable to the XDC build engine... which will load config.bld... which will
    # extract these variables and use them to determine what to build and which
    # toolchains to use.
    #
    # Note that not all of these variables need to be set to something valid.
    # Unfortunately, since these vars are unconditionally assigned, your build line
    # will be longer and more noisy than necessary (e.g., it will include CC_V5T
    # assignment even if you're just building for WinCE.  While benign, it is
    # annoying.  In future releases, we'll clean up this XDCARGS assignment and
    # only include the vars that are required.
    #
    # Some background is here:
    #     http://rtsc.eclipse.org/docs-tip/Command_-_xdc#Environment_Variables
    #
    XDCARGS= DEVICES=\"$(DEVICES)\" \
      PROGRAMS=\"$(PROGRAMS)\" \
      GPPOS=\"$(GPPOS)\" \
      CGTOOLS_V5T=$(CGTOOLS_V5T) \
      CC_V5T=$(CC_V5T) \
      CGTOOLS_C64P=$(CGTOOLS_C64P) \
      CGTOOLS_C674=$(CGTOOLS_C674) \
      CGTOOLS_UCARM9=$(CGTOOLS_UCARM9) \
      WINCE_ROOTDIR=$(WINCE_ROOTDIR) \
      WINCE_PROJECTROOT=$(WINCE_PROJECTROOT) \
      CGTOOLS_LINUX86=$(CGTOOLS_LINUX86)

    # -----------------------------------------------------------------------------

    # Utility variables - useful for over-riding these repos from the cmd line
    CE_REPO ?= $(CE_INSTALL_DIR)/packages
    CETOOLS_REPO ?= $(CE_INSTALL_DIR)/cetools/packages

    # figure out what categories of devices we are to build for
    ifneq (,$(findstring DM6446,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif
    ifneq (,$(findstring DM6467,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif
    ifneq (,$(findstring OMAP2530,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif
    ifneq (,$(findstring OMAP3530,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif
    ifneq (,$(findstring SDP3430,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif
    ifneq (,$(findstring OMAPL137,$(DEVICES)))
        DEVICES_DUALCPU := 1
    endif

    # Determine which components are necessary based on settings above
    # Note, this ultimately just sets up the XDCPATH, and provides ease-of-use
    # errors when we can catch them here, rather than progress further downstream
    # and get [stranger] errors later

    # All configurations require CE, XDC, XDAIS and FC
    REQUIRE_CE    := 1
    REQUIRE_XDC   := 1
    REQUIRE_XDAIS := 1
    REQUIRE_FC    := 1

    ifneq (,$(findstring DM6446,$(DEVICES)))
        ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_LINUXUTILS := 1
                REQUIRE_CGTOOLS_V5T := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_LINUXUTILS := 1
                REQUIRE_CGTOOLS_UCARM9 := 1
     endif
            ifneq (, $(findstring WINCE, $(GPPOS) ))
                REQUIRE_WINCEUTILS := 1
                REQUIRE_CGTOOLS_WINCE := 1
     endif
        endif
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_LINUXUTILS := 1
                REQUIRE_CGTOOLS_V5T := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_LINUXUTILS := 1
                REQUIRE_CGTOOLS_UCARM9 := 1
     endif
            ifneq (, $(findstring WINCE, $(GPPOS) ))
                REQUIRE_WINCEUTILS := 1
                REQUIRE_CGTOOLS_WINCE := 1
     endif
        endif
        ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring DM6467,$(DEVICES)))
        ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring DM355,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
    endif

    ifneq (,$(findstring DM357,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
    endif

    ifneq (,$(findstring DM365,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
    endif

    ifneq (,$(findstring DM6437,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring DM648,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring OMAP2530,$(DEVICES)))
        ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring OMAP3530,$(DEVICES)))
        ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring WINCE, $(GPPOS) ))
                REQUIRE_CGTOOLS_WINCE := 1
                REQUIRE_WINCEUTILS := 1
     endif
        endif
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring WINCE, $(GPPOS) ))
                REQUIRE_CGTOOLS_WINCE := 1
                REQUIRE_WINCEUTILS := 1
     endif
        endif
        ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C64P := 1
        endif
    endif

    ifneq (,$(findstring OMAPL137,$(DEVICES)))
        ifneq (, $(findstring APP_CLIENT, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_V5T := 1
                REQUIRE_LINUXUTILS := 1
     endif
            ifneq (, $(findstring LINUX_UCLIBC, $(GPPOS) ))
                REQUIRE_CGTOOLS_UCARM9 := 1
                REQUIRE_LINUXUTILS := 1
     endif
        endif
        ifneq (, $(findstring DSP_SERVER, $(PROGRAMS) ))
            REQUIRE_LINK := 1
            REQUIRE_BIOS := 1
            REQUIRE_CGTOOLS_C674 := 1
        endif
    endif

    ifneq (,$(findstring X86,$(DEVICES)))
        ifneq (, $(findstring APP_LOCAL, $(PROGRAMS) ))
            ifneq (, $(findstring LINUX_GCC, $(GPPOS) ))
                REQUIRE_CGTOOLS_LINUX86 := 1
     endif
        endif
    endif


    # Build the XDC path from the necessary components, verifying along the way
    # that the required compoments are present
    XDC_PATH :=

    ERRMSG = which is invalid (could not find file "$(TEST_FILE)"). Set this in <codec engine examples>/xdcpaths.mak! See the build documentation to correct this error.

    # CE_INSTALL_DIR is the location of your Codec Engine.
    ifeq ($(REQUIRE_CE), 1)
        TEST_FILE := $(CE_REPO)/ti/sdo/ce/package.xdc
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CE_INSTALL_DIR is set to "$(CE_INSTALL_DIR)", $(ERRMSG))
        endif
        XDC_PATH := $(CE_REPO)
    endif

    # Add cetools to XDCPATH if 1) $(USE_CETOOLS_IF_EXISTS) is set, and
    # 2) the CE distribution has "cetools/"
    USING_CETOOLS := 0
    ifeq ($(USE_CETOOLS_IF_EXISTS), 1)
        ifneq ($(wildcard $(CETOOLS_REPO)),)
            USING_CETOOLS := 1
            XDC_PATH := $(CETOOLS_REPO);$(XDC_PATH)
        endif
    endif
    ifeq ($(USING_CETOOLS),0)
        # XDAIS_INSTALL_DIR is the location of your XDAIS distribution
        ifeq ($(REQUIRE_XDAIS), 1)
            TEST_FILE := $(XDAIS_INSTALL_DIR)/packages/ti/xdais/package.xdc
            ifeq ($(wildcard $(TEST_FILE)),)
                $(error XDAIS_INSTALL_DIR is set to "$(XDAIS_INSTALL_DIR)", $(ERRMSG))
            endif
            XDC_PATH := $(XDC_PATH);$(XDAIS_INSTALL_DIR)/packages
        endif

        # CMEM_INSTALL_DIR is the location of your Linux Utils distribution
        ifeq ($(REQUIRE_LINUXUTILS), 1)
            TEST_FILE := $(CMEM_INSTALL_DIR)/packages/ti/sdo/linuxutils/cmem/package.xdc
            ifeq ($(wildcard $(TEST_FILE)),)
                $(error CMEM_INSTALL_DIR is set to "$(CMEM_INSTALL_DIR)", $(ERRMSG))
            endif
            XDC_PATH := $(XDC_PATH);$(CMEM_INSTALL_DIR)/packages
        endif

        # WINCEUTILS_INSTALL_DIR is the location of your WinCE Utils distribution
        ifeq ($(REQUIRE_WINCEUTILS), 1)
            TEST_FILE := $(WINCEUTILS_INSTALL_DIR)/packages/ti/sdo/winceutils/cmem/package.xdc
            ifeq ($(wildcard $(TEST_FILE)),)
                $(error WINCEUTILS_INSTALL_DIR is set to "$(WINCEUTILS_INSTALL_DIR)", $(ERRMSG))
            endif
            XDC_PATH := $(XDC_PATH);$(WINCEUTILS_INSTALL_DIR)/packages
        endif

        # FC_INSTALL_DIR is the location of your Frameworks Components distribution
        ifeq ($(REQUIRE_FC), 1)
            TEST_FILE := $(FC_INSTALL_DIR)/packages/ti/sdo/fc/dskt2/package.xdc
            ifeq ($(wildcard $(TEST_FILE)),)
                $(error FC_INSTALL_DIR is set to "$(FC_INSTALL_DIR)", $(ERRMSG))
            endif
            XDC_PATH := $(XDC_PATH);$(FC_INSTALL_DIR)/packages
        endif

        # BIOSUTILS_INSTALL_DIR is the location of your BIOSUTILS distribution
        ifeq ($(REQUIRE_BIOS), 1)
            TEST_FILE := $(BIOSUTILS_INSTALL_DIR)/packages/ti/bios/utils/package.xdc
            ifeq ($(wildcard $(TEST_FILE)),)
                $(error BIOSUTILS_INSTALL_DIR is set to "$(BIOSUTILS_INSTALL_DIR)", $(ERRMSG))
            endif
            XDC_PATH := $(XDC_PATH);$(BIOSUTILS_INSTALL_DIR)/packages
        endif

    endif

    # BIOS_INSTALL_DIR is the location of your BIOS distribution
    ifeq ($(REQUIRE_BIOS), 1)
        TEST_FILE := $(BIOS_INSTALL_DIR)/packages/ti/bios/package.xdc
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error BIOS_INSTALL_DIR is set to "$(BIOS_INSTALL_DIR)", $(ERRMSG))
        endif
        XDC_PATH := $(XDC_PATH);$(BIOS_INSTALL_DIR)/packages
    endif

    # DSPLINK_INSTALL_DIR is the location of your DSPLINK distribution
    ifeq ($(REQUIRE_LINK), 1)
        TEST_FILE := $(DSPLINK_INSTALL_DIR)/dsplink/gpp/package.xdc
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error DSPLINK_INSTALL_DIR is set to "$(DSPLINK_INSTALL_DIR)", $(ERRMSG))
        endif
        XDC_PATH := $(XDC_PATH);$(DSPLINK_INSTALL_DIR)
    endif

    # XDC_INSTALL_DIR is the location of your XDCTOOLS installation.
    ifeq ($(REQUIRE_XDC), 1)
        TEST_FILE := $(XDC_INSTALL_DIR)/packages/xdc/package.xdc
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error XDC_INSTALL_DIR is set to "$(XDC_INSTALL_DIR)", $(ERRMSG))
        endif
    endif

    # CGTOOLS_C64P is the location of your CGtools for C64P.
    ifeq ($(REQUIRE_CGTOOLS_C64P), 1)
        TEST_FILE := $(CGTOOLS_C64P)/bin/cl6x*
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CGTOOLS_C64P is set to "$(CGTOOLS_C64P)", $(ERRMSG))
        endif
    endif

    # CGTOOLS_C674 is the location of your CGtools for C674.
    ifeq ($(REQUIRE_CGTOOLS_C674), 1)
        TEST_FILE := $(CGTOOLS_C674)/bin/cl6x*
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CGTOOLS_C674 is set to "$(CGTOOLS_C674)", $(ERRMSG))
        endif
    endif

    # CGTOOLS_V5T is the location of your CGtools for GCC Linux.
    ifeq ($(REQUIRE_CGTOOLS_V5T), 1)
        TEST_FILE := $(CGTOOLS_V5T)/$(CC_V5T)
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CGTOOLS_V5T/CC_V5T is set to "$(CGTOOLS_V5T)/$(CC_V5T)", $(ERRMSG))
        endif
    endif

    # CGTOOLS_UCARM9 is the location of your CGtools for uclibc Linux.
    ifeq ($(REQUIRE_CGTOOLS_UCARM9), 1)
        TEST_FILE := $(CGTOOLS_UCARM9)/$(CC_UCARM9)
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CGTOOLS_UCARM9/CC_UCARM9 is set to "$(CGTOOLS_UCARM9)/$(CC_UCARM9)", $(ERRMSG))
        endif
    endif

    # CGTOOLS_LINUX86 is the location of your CGtools for X86 Linux.
    ifeq ($(REQUIRE_CGTOOLS_LINUX86), 1)
        TEST_FILE := $(CGTOOLS_LINUX86)/bin/gcc
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error CGTOOLS_LINUX86 is set to "$(CGTOOLS_LINUX86)", $(ERRMSG))
        endif
    endif

    # WINCE_PROJECTROOT is the location of your WinCE Project Root.
    ifeq ($(REQUIRE_CGTOOLS_WINCE), 1)
        TEST_FILE := $(WINCE_PROJECTROOT)/cesysgen/sdk/inc/stdarg.h
        ifeq ($(wildcard $(TEST_FILE)),)
            $(error WINCE_PROJECTROOT is set to "$(WINCE_PROJECTROOT)", $(ERRMSG))
        endif
    endif

    # XDC_PATH is complete. Any other components you could add as
    # XDC_PATH := <your component>/packages;$(XDC_PATH)
    XDC_PATH := C:/ti/DVSDK_WinCE/dvsdk_wince_1_00_00_05/local_power_manager_1_24_01/packages;$(XDC_PATH)

  • Hi, Aparna

    You are right. By comparing to your "xdcpaths.mak" file, I found two major difference. And I made a mistake when setting LPM_INSTALL_DIR.

    1.  USE_CETOOLS_IF_EXISTS := 0
    XDAIS_INSTALL_DIR     := C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/xdais_6_24_01_06
    FC_INSTALL_DIR        := C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/framework_components_2_24_01
    WINCEUTILS_INSTALL_DIR:= C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/winceutils_1_00_02
    BIOSUTILS_INSTALL_DIR := C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/biosutils_1_02_02
    EDMA3_LLD_INSTALL_DIR := C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/edma3_lld_01_06_00_01
    LPM_INSTALL_DIR       := C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/local_power_manager_1_24_01/packages
    #CMEM_INSTALL_DIR      := _your_CMEM_installation_directory/linuxutils_2_24_03

    2.  XDC_PATH := $(XDC_PATH);$(DVSDK_INSTALL_DIR)/local_power_manager_1_24_01/packages
    XDC_PATH := $(XDC_PATH);$(DVSDK_INSTALL_DIR)/edma3_lld_01_06_00_01/packages

    Then I did the following steps

    1. setting "LPM_INSTALL_DIR:= C:/ti/dvsdk_wince/dvsdk_wince_1_00_00_05/local_power_manager_1_24_01";

    2. goto \ti\sdo\ce\examples\codecs, do gmake clean and gmake;

    3. goto servers and app, seperately "gmake clean" and "gmake";

    4. Run App

    But still got failure:

    [] OP - Processor_create_d> Enter(proc=0x50dc0)

    [] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x50ddc)

    [] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...

    [] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0 FAILED

    [] ti.sdo.ce.ipc.Power - Power_on> return (1)

    [] OP - Processor_create_d> Power_on failed.

    [] OP - Processor_create_d> return (0)

    [] CE - rserverOpen: can't start 'all.x64P'; Processor_create failed


    And I found the lpmdrv.dll is still the "old" one. Then how to rebuild it?

    Thank you very much, and sorry for cost you too much time.


    Regards,

    Jett

     

  • Jett,

    From the trace, it looks the lpm driver is failing somewhere in LPM_open(), so it would be good to get trace for that. Could you edit the package.bld for the image1_copy example that you are trying to run, and uncomment the following line and rebuild the example.

    /* Uncomment this to build the app with debug support */
    //Pkg.attrs.profile = "debug";

    That should give you some retail messages for the user side of LPM.

    To rebuild the LPM driver (lpmdrv.dll) with trace, in Platform Builder, open a Build window (menu: 'Build'->'Open Release Directory in Build Window'), cd to directory containing the LPM driver source code (eg: ti\bios\power\drivers\wince\omap3530\lpm), and run the following commands:

    set WINCEDEBUG=debug

    build -c

    Then copy the lpmdrv.dll to your flat release directory, and run makeimg (menu: 'Build'->'Make Run-Time Image'. Reboot the target with the new image and run the image1_copy remote example again. There should be some LPM trace output which should hopefully point to the problem.

    Regards,

        Janet

     

  • Hi, Janet


    Thank you for your great help. I tried all the build steps under the guideline you provide, and got the following output when execute remote app,

    @418,347,000us: [+0 T:0x0573000a] OP - Processor_create_d> Enter(proc=0x60dc0)

    @418,347,000us: [+0 T:0x0573000a] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x60ddc)

    @418,347,000us: [+2 T:0x0573000a] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...

    --> LPM_open

    Error: LPM_open failed on LPM1:, error 55

    <-- LPM_open

    @418,349,000us: [+7 T:0x0573000a] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0 FAILED

    @418,349,000us: [+2 T:0x0573000a] ti.sdo.ce.ipc.Power - Power_on> return (1)

    @418,349,000us: [+6 T:0x0573000a] OP - Processor_create_d> Power_on failed.

    @418,349,000us: [+2 T:0x0573000a] OP - Processor_create_d> return (0)

     

    Then could you tell me how to resolved the error code 55 next? I failed to find that code in the LPM folder.

    Thank you very much, and have a good weekend.

     

    Regards,

    Jett

     

  • Jett,

    In your platform.reg file, could you change the "Trace" for LPM from 0 to 1? It seems there will be no debug statements unless Trace is 1 and you use the debug version of the driver. Then you will need to run makeimg again and reboot the target. The changes in the platform.reg should look like:

             ;-- LPM ------------------------------------------------------------------

             IF SYSGEN_LPM

             [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LPM]

                    "Prefix"="LPM"

                    "Dll"="lpmdrv.dll"

                    "Index"=dword:1

                    "Trace"=dword:1

             ENDIF SYSGEN_LPM

    The error you are getting, 55, can be found in winerror.h, and it is "ERROR_DEV_NOT_EXIST". So it looks like either your driver is not in the image, or is failing in the init() function.

    Thanks,

        Janet

  • Jett,

    Were you able to try out Janet's suggestion? Is the issue resolved? Thanks.

    Jatin

  •  

     

    Normal 0 false false false MicrosoftInternetExplorer4

    Hi, Janet and Jatin

    So sorry for my late reply.  

    I had tied Janet's suggestion at that time, but still get the same error. I mean the error 55 - "Error: LPM_open failed on LPM1: ".  Then I was delayed by a new project of our company till now.

    I think that it may be my fault to get that error. Because when I followed Janet’s suggestion to build lpm, I got the following error reports.

    1st time:    NMAKE :  U1073: don't know how to make 'C:\WINCE600\OSDesigns\EVM_3530\EVM_3530\Wince600\TI_EVM_3530_ARMV4I\cesysgen\oak\lib\ARMV4I\debug\corelib0.lib'

    2nd time: same problem, but changed to "..\cesysgen\sdk\lib\ARMV4I\debug\ceddk.lib"

    3rd time: changed to "..\cesysgen\oak\lib\ARMV4I\debug\corelib1.lib"

    Finally, I manually created the related folders and copy that three lib files from other folder, and built thelpmdrv.dll” out.

    So this "lpmdrv.dll" file is improper, right?

     

    Thank for your patience and time.

    Best Regards,

    Jett

     

     

  • Jett,

    Could you try enabling trace in LPM according to my earlier instructions:

             ;-- LPM ------------------------------------------------------------------

             IF SYSGEN_LPM

             [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LPM]

                    "Prefix"="LPM"

                    "Dll"="lpmdrv.dll"

                    "Index"=dword:1

                    "Trace"=dword:1

             ENDIF SYSGEN_LPM

     

    Then set WNCEDEBUG=retail and run build -c. Maybe you only have the retail versions of the missing libraries in your project directory.

    Thanks,

        Janet

  • Hi, Janet

    Thanks for your great help. Followed your instruction, I got the new debug output as below. Any further suggestion? Thanks again.

    Regards,

    Jett

     

    OUTPUT:

    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\EVM_3530\EVM_3530\RELDIR\TI_EVM_3530_ARMV4I_DEBUG\APP_REMOTE_WINCE.EXE'

    CMEM Debug: init: entered - ref_count 0, hCMEM 0

    CMEM Debug: init: successfully opened CMK1:, matching driver version...

    CMEM Debug: getVersion: entered

    CMEM Debug: getVersion: exiting, ioctl CMEM_IOCGETVERSION returned 0x2200000

    CMEM Debug: init: ... match good (0x2200000)

    CMEM Debug: init: exiting, returning success

     

     [] ti.sdo.ce.osal.Sem - Sem_create> count: 0

     [] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x60760]

     [] ti.sdo.ce.osal.Sem - Sem_create> count: 0

     [] ti.sdo.ce.osal.Sem - Leaving Sem_create> sem[0x60780]

     [] OT - Thread_create> Enter (fxn=0x2cc38, attrs=0x0)

     [] OT - Thread_create> Exit (task=0x607c0)

     [] OP - daemon> thread created.

     [] OP - getCmd_d> Enter (proc=0xbfe3c)

     [] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x60760] timeout[0xffffffff]

     [] ti.sdo.ce.alg - ALG_init> Enter

     [] ti.sdo.ce.alg - ALG_init> Exit

     [] CE - Engine_init> CE debugging on (CE_DEBUG=2; allowed CE_DEBUG levels: 1=min,

     [] CS - Server_init()

     

    PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\EVM_3530\EVM_3530\RELDIR\TI_EVM_3530_ARMV4I_DEBUG\APP_REMOTE_WINCE.EXE'

    [] CS - Server_init> Global_useLinkArbiter = 0

    [] ti.sdo.ce.examples.apps.image1_copy - main> ti.sdo.ce.examples.apps.image1_copy

    [] ti.sdo.ce.examples.apps.image1_copy - App-> Application started.

     

     CMEM Debug: alloc: entered w/ size 0x400, params - type POOL, flags NONCACHED, align 0xffffffff

     CMEM Debug: getPool2: entered w/ size 0x400

     CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning 0

     CMEM Debug: allocPool: mmap succeeded, returning virt buffer C0000

     [] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xc0000.

     

     CMEM Debug: getPhys: entered w/ addr C0000

     CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x85fff000

     [] OM - Memory_contigAlloc> CMEM_getPhys(0xc0000) = 0x85fff000.

     

     CMEM Debug: alloc: entered w/ size 0x400, params - type POOL, flags NONCACHED, align 0xffffffff

     CMEM Debug: getPool2: entered w/ size 0x400

     CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning 0

     CMEM Debug: allocPool: mmap succeeded, returning virt buffer D0000

     [] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xd0000.

     

     CMEM Debug: getPhys: entered w/ addr D0000

     CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x85ffe000

     [] OM - Memory_contigAlloc> CMEM_getPhys(0xd0000) = 0x85ffe000.

     

     CMEM Debug: alloc: entered w/ size 0x400, params - type POOL, flags NONCACHED, align 0xffffffff

     CMEM Debug: getPool2: entered w/ size 0x400

     CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning 0

     CMEM Debug: allocPool: mmap succeeded, returning virt buffer E0000

     [] OM - Memory_contigAlloc> CMEM_alloc(1024) = 0xe0000.

     

     CMEM Debug: getPhys: entered w/ addr E0000

     CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x85ffd000

     [] OM - Memory_contigAlloc> CMEM_getPhys(0xe0000) = 0x85ffd000.

     

     CMEM Debug: alloc: entered w/ size 0x80, params - type POOL, flags NONCACHED, align 0xffffffff

     CMEM Debug: getPool2: entered w/ size 0x80

     CMEM Debug: getPool: exiting, ioctl CMEM_IOCGETPOOL succeeded, returning 0

     CMEM Debug: allocPool: mmap succeeded, returning virt buffer F0000

     [] OM - Memory_contigAlloc> CMEM_alloc(128) = 0xf0000.

     

     CMEM Debug: getPhys: entered w/ addr F0000

     CMEM Debug: getPhys: exiting, ioctl CMEM_IOCGETPHYS succeeded, returning 0x85ffc000

     [] OM - Memory_contigAlloc> CMEM_getPhys(0xf0000) = 0x85ffc000.

     

     [+0 T:0x0583000e] CE - Engine_open> Enter('image1_copy', 0x0, 0x5fad0)

     [+0 T:0x0583000e] CE - rserverOpen('all.x64P'), count = 0

     [+0 T:0x0583000e] OP - Processor_create> Enter(imageName='all.x64P', linkCfg='(null)',

     [+0 T:0x0583000e] OP - doCmd> Enter (cmdId=1, proc=0x60d60)

     [+0 T:0x0583000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x60760]

     [+0 T:0x0583000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x60760]

     [+0 T:0x0583000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x60780] timeout[0xffffffff]

     [+0 T:0x0588000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x60760] status[0]

     [+0 T:0x0588000e] OP - getCmd_d> Exit (result=1)

     [+0 T:0x0588000e] OP - Processor_create_d> Enter(proc=0x60d60)

     [+0 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_on> Enter(handle=0x60d7c)

     [+2 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_on> Opening Local Power Manager for the DSP on /dev/lpm0...

     

     --> LPM_open

    lpmdrv: --> LPM_Open

    lpmdrv: client open count = 1

    lpmdrv: <-- LPM_Open

     <-- LPM_open

     [+2 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_on> Turning on DSP power...

     

     lpmdrv: --> LPM_IOControl: cmd: 0x10001003

     lpmdrv: cmd: ON

     lpmdrv: global power-on count = 1

     lpmdrv: client power-on count = 1

     lpmdrv: --> LpmDevOn

     lpmdrv: --> LpmDevOff

     lpmdrv: <-- LpmDevOff

     lpmdrv: <-- LpmDevOn

     lpmdrv: <-- LPM_IOControl

     

     [] ti.sdo.ce.ipc.Power - Power_on> return (0)

     [] OP - Processor_create_d> Initializing DSP PROC...

     [] OP - Processor_create_d> Using DspLink config data for entry #0 [server 'all.x64P']

     [] OP - Processor_create_d> Adding DSP segment #0 to Link configuration: name='DDR2', startAddress=0x8b800000, sizeInBytes=0x600000, shared=1, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #1 to Link configuration: name='DSPLINKMEM', startAddress=0x8be00000, sizeInBytes=0x100000, shared=1, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #2 to Link configuration: name='RESET_VECTOR', startAddress=0x8bf00000, sizeInBytes=0x1000, shared=1, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #3 to Link configuration: name='IVAMMU', startAddress=0x5d000000, sizeInBytes=0x1000, shared=0, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #4 to Link configuration: name='L4PER', startAddress=0x49000000, sizeInBytes=0x100000, shared=0, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #5 to Link configuration: name='IRAM', startAddress=0x5c7f8000, sizeInBytes=0x8000, shared=1, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #6 to Link configuration: name='L1DSRAM', startAddress=0x5cf04000, sizeInBytes=0xc000, shared=1, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #7 to Link configuration: name='DDRALGHEAP', startAddress=0x8a000000, sizeInBytes=0x1800000, shared=0, syncd=0

     [] OP - Processor_create_d> Adding DSP segment #8 to Link configuration: name='L4CORE', startAddress=0x48000000, sizeInBytes=0x1000000, shared=0, syncd=0

     [] OP - Processor_create_d> Found 'CMEM' entry, adjusting base and size according to CMEM_getBlock()

     

    CMEM Debug: getBlock: entered

    CMEM Debug: getVersion: exiting, ioctl CMEM_IOCGETBLOCK succeeded,

    CMEM Debug:   returning *pphys_base=0x85000000, *psize=0x1000000

     

     [] OP - Processor_create_d> Setting CMEM base to 0x85000000, size to 0x1000000

     [] OP - Processor_create_d> Adding DSP segment #9 to Link configuration: name='CMEM', startAddress=0x85000000, sizeInBytes=0x1000000, shared=0, syncd=0

     [+2 T:0x0588000e] OP - Processor_create_d> DODSPCTRL was=0; now=0

     [+3 T:0x0588000e] OP - LINKCFG_Object generated for PROC_setup(p) ...

     [+3 T:0x0588000e] OP - linkCfg->gppObject->

     [+3 T:0x0588000e] OP -   name = "ARM9"

     [+3 T:0x0588000e] OP -   maxMsgqs = 0x82

     [+3 T:0x0588000e] OP -   maxChnlQueue = 0x10

     [+3 T:0x0588000e] OP -   poolTableId = 0xffffffff

     [+3 T:0x0588000e] OP -   numPools = 0x0

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->dspObject->

     [+3 T:0x0588000e] OP -   name = "OMAP3530"

     [+3 T:0x0588000e] OP -   dspArch = 0x2

     [+3 T:0x0588000e] OP -   loaderName = "COFF"

     [+3 T:0x0588000e] OP -   autoStart = FALSE

     [+3 T:0x0588000e] OP -   execName = "DEFAULT.OUT"

     [+3 T:0x0588000e] OP -   doDspCtrl = DSP_BootMode_Boot_NoPwr

     [+3 T:0x0588000e] OP -   resumeAddr = 0x8bf00020

     [+3 T:0x0588000e] OP -   resetVector = 0x8bf00000

     [+3 T:0x0588000e] OP -   resetCodeSize = 0x1000

     [+3 T:0x0588000e] OP -   maduSize = 0x1

     [+3 T:0x0588000e] OP -   cpuFreq = 0x6ddd0

     [+3 T:0x0588000e] OP -   endian = 0x3

     [+3 T:0x0588000e] OP -   wordSwap = 0x0

     [+3 T:0x0588000e] OP -   memTableId = 0x0

     [+3 T:0x0588000e] OP -   memEntries = 0xa

     [+3 T:0x0588000e] OP -   linkDrvId = 0x0

     [+3 T:0x0588000e] OP -   arg1 = 0xffffffff

     [+3 T:0x0588000e] OP -   arg2 = 0xffffffff

     [+3 T:0x0588000e] OP -   arg3 = 0x0

     [+3 T:0x0588000e] OP -   arg4 = 0x0

     [+3 T:0x0588000e] OP -   arg5 = 0xffffffff

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->linkDrvObjects->

     [+3 T:0x0588000e] OP -   name = "SHMDRV"

     [+3 T:0x0588000e] OP -   hshkPollCount = 0x989680

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   ipsTableId = 0x0

     [+3 T:0x0588000e] OP -   numIpsEntries = 0x1

     [+3 T:0x0588000e] OP -   poolTableId = 0x0

     [+3 T:0x0588000e] OP -   numPools = 0x1

     [+3 T:0x0588000e] OP -   dataTableId = 0x0

     [+3 T:0x0588000e] OP -   numDataDrivers = 0x1

     [+3 T:0x0588000e] OP -   mqtId = 0x0

     [+3 T:0x0588000e] OP -   ringIoTableId = 0x0

     [+3 T:0x0588000e] OP -   mplistTableId = 0x0

     [+3 T:0x0588000e] OP -   mpcsTableId = 0x0

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->memTables[0][i].

     [+3 T:0x0588000e] OP - entry #0:

     [+3 T:0x0588000e] OP -   entry = 0x0

     [+3 T:0x0588000e] OP -   name = "DDR2"

     [+3 T:0x0588000e] OP -   physAddr = 0x8b800000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x8b800000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x600000

     [+3 T:0x0588000e] OP -   shared = TRUE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #1:

     [+3 T:0x0588000e] OP -   entry = 0x1

     [+3 T:0x0588000e] OP -   name = "DSPLINKMEM"

     [+3 T:0x0588000e] OP -   physAddr = 0x8be00000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x8be00000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x100000

     [+3 T:0x0588000e] OP -   shared = TRUE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #2:

     [+3 T:0x0588000e] OP -   entry = 0x2

     [+3 T:0x0588000e] OP -   name = "RESET_VECTOR"

     [+3 T:0x0588000e] OP -   physAddr = 0x8bf00000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x8bf00000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x1000

     [+3 T:0x0588000e] OP -   shared = TRUE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #3:

     [+3 T:0x0588000e] OP -   entry = 0x3

     [+3 T:0x0588000e] OP -   name = "IVAMMU"

     [+3 T:0x0588000e] OP -   physAddr = 0x5d000000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x5d000000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x1000

     [+3 T:0x0588000e] OP -   shared = FALSE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #4:

     [+3 T:0x0588000e] OP -   entry = 0x4

     [+3 T:0x0588000e] OP -   name = "L4PER"

     [+3 T:0x0588000e] OP -   physAddr = 0x49000000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x49000000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x100000

     [+3 T:0x0588000e] OP -   shared = FALSE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #5:

     [+3 T:0x0588000e] OP -   entry = 0x5

     [+3 T:0x0588000e] OP -   name = "IRAM"

     [+3 T:0x0588000e] OP -   physAddr = 0x5c7f8000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x107f8000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x8000

     [+3 T:0x0588000e] OP -   shared = TRUE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #6:

     [+3 T:0x0588000e] OP -   entry = 0x6

     [+3 T:0x0588000e] OP -   name = "L1DSRAM"

     [+3 T:0x0588000e] OP -   physAddr = 0x5cf04000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x10f04000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0xc000

     [+3 T:0x0588000e] OP -   shared = TRUE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #7:

     [+3 T:0x0588000e] OP -   entry = 0x7

     [+3 T:0x0588000e] OP -   name = "DDRALGHEAP"

     [+3 T:0x0588000e] OP -   physAddr = 0x8a000000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x8a000000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x1800000

     [+3 T:0x0588000e] OP -   shared = FALSE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #8:

     [+3 T:0x0588000e] OP -   entry = 0x8

     [+3 T:0x0588000e] OP -   name = "L4CORE"

     [+3 T:0x0588000e] OP -   physAddr = 0x48000000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x48000000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x1000000

     [+3 T:0x0588000e] OP -   shared = FALSE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP - entry #9:

     [+3 T:0x0588000e] OP -   entry = 0x9

     [+3 T:0x0588000e] OP -   name = "CMEM"

     [+3 T:0x0588000e] OP -   physAddr = 0x85000000

     [+3 T:0x0588000e] OP -   dspVirtAddr = 0x85000000

     [+3 T:0x0588000e] OP -   gppVirtAddr = 0xffffffff

     [+3 T:0x0588000e] OP -   size = 0x1000000

     [+3 T:0x0588000e] OP -   shared = FALSE

     [+3 T:0x0588000e] OP -   syncd = FALSE

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->ipsTables[0][i].

     [+3 T:0x0588000e] OP - entry #0:

     [+3 T:0x0588000e] OP -   name = "IPS"

     [+3 T:0x0588000e] OP -   numIpsEvents = 0x20

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   gppIntId = 0x1a

     [+3 T:0x0588000e] OP -   dspIntId = 0x37

     [+3 T:0x0588000e] OP -   dspIntVectorId = 0x5

     [+3 T:0x0588000e] OP -   arg1 = 0x2faf080

     [+3 T:0x0588000e] OP -   arg2 = 0x0

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->poolTables[0][i].

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->dataTables[0][i].

     [+3 T:0x0588000e] OP - entry #0:

     [+3 T:0x0588000e] OP -   name = "ZCPYDATA"

     [+3 T:0x0588000e] OP -   baseChnlId = 0x0

     [+3 T:0x0588000e] OP -   numChannels = 0x10

     [+3 T:0x0588000e] OP -   maxBufSize = 0x4000

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   poolId = 0x0

     [+3 T:0x0588000e] OP -   queuePerChnl = 0x1

     [+3 T:0x0588000e] OP -   ipsId = 0x0

     [+3 T:0x0588000e] OP -   ipsEventNo = 0x1

     [+3 T:0x0588000e] OP -   arg1 = 0x0

     [+3 T:0x0588000e] OP -   arg2 = 0x0

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->mqtObjects->

     [+3 T:0x0588000e] OP -   name = "ZCPYMQT"

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   maxMsgSize = 0xffffffff

     [+3 T:0x0588000e] OP -   ipsId = 0x0

     [+3 T:0x0588000e] OP -   ipsEventNo = 0x0

     [+3 T:0x0588000e] OP -   arg1 = 0x0

     [+3 T:0x0588000e] OP -   arg2 = 0x0

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->ringIoObjects->

     [+3 T:0x0588000e] OP -   name = "RINGIOTABLE"

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   maxEntries = 0x40

     [+3 T:0x0588000e] OP -   ipsId = 0x0

     [+3 T:0x0588000e] OP -   ipsEventNo = 0x2

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->mplistObjects->

     [+3 T:0x0588000e] OP -   name = "MPLISTTABLE"

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   maxEntries = 0x40

     [+3 T:0x0588000e] OP -   ipsId = 0xffffffff

     [+3 T:0x0588000e] OP -   ipsEventNo = 0xffffffff

     [+3 T:0x0588000e] OP -

     [+3 T:0x0588000e] OP - linkCfg->dspConfigs[0]->mpcsObjects->

     [+3 T:0x0588000e] OP -   name = "MPCS"

     [+3 T:0x0588000e] OP -   memEntry = 0x1

     [+3 T:0x0588000e] OP -   maxEntries = 0x100

     [+3 T:0x0588000e] OP -   ipsId = 0xffffffff

     [+3 T:0x0588000e] OP -   ipsEventNo = 0xffffffff

     [] OP - Processor_create_d> Loading and starting DSP server 'all.x64P' FAILED, status=[0x80008008] (look for error code 'DSP_EBASE + 0x8' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h)

     

     [+0 T:0x0588000e] OP - Processor_delete_d> Enter (proc=0x60d60)

     [+2 T:0x0588000e] OP - Processor_delete_d> Closing remote transport...

     [+6 T:0x0588000e] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008002.

     [+2 T:0x0588000e] OP - Processor_delete_d> Stopping DSP...

     [+6 T:0x0588000e] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008002

     [+2 T:0x0588000e] OP - Processor_delete_d> Closing pool...

     [+6 T:0x0588000e] OP - Processor_delete_d> Closing pool FAILED, status=0x80008000

     [+2 T:0x0588000e] OP - Processor_delete_d> Detaching from DSP...

     [+6 T:0x0588000e] OP - Processor_delete_d> Detaching from DSP FAILED, status=0x80008000

     [+2 T:0x0588000e] OP - Processor_delete_d> Destroying DSP... (object, that is)

     [+6 T:0x0588000e] OP - Processor_delete_d> Destroying DSP FAILED, status=0x80008000

     [+0 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_off> Enter (handle=0x60da0)

     [+2 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_off> Turning off DSP power...

     

     lpmdrv: --> LPM_IOControl: cmd: 0x10001002

     lpmdrv: cmd: OFF

     lpmdrv: global power-on count = 0

     lpmdrv: client power-on count = 0

     lpmdrv: --> LpmDevOff

     lpmdrv: <-- LpmDevOff

     lpmdrv: <-- LPM_IOControl

     [+2 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_off> Closing Local Power Manager object...

     

     --> LPM_close

    lpmdrv: --> LPM_Close

    lpmdrv: client open count = 0

    lpmdrv: <-- LPM_Close

     <-- LPM_close

     

     [+0 T:0x0588000e] ti.sdo.ce.ipc.Power - Power_off> return (0)

     [+0 T:0x0588000e] OP - Processor_delete_d> return

     [+2 T:0x0588000e] OP - Processor_create_d> return (0)

     [+0 T:0x0588000e] ti.sdo.ce.osal.Sem - Entered Sem_post> sem[0x60780]

     [+0 T:0x0588000e] ti.sdo.ce.osal.Sem - Leaving Sem_post> sem[0x60780]

     [+0 T:0x0588000e] OP - getCmd_d> Enter (proc=0xbfe3c)

     [+0 T:0x0588000e] ti.sdo.ce.osal.Sem - Entered Sem_pend> sem[0x60760] timeout[0xffffffff]

     [+0 T:0x0583000e] ti.sdo.ce.osal.Sem - Leaving Sem_pend> sem[0x60780] status[0]

     [+0 T:0x0583000e] OP - doCmd> Exit (result=2)

     [+0 T:0x0583000e] OP - Processor_delete> Enter(proc=0x60d60)

     [+1 T:0x0583000e] OP - Processor_delete(0x60d60) freeing object ...

     [+0 T:0x0583000e] OP - Processor_delete> return.

     [+6 T:0x0583000e] CE - rserverOpen: can't start 'all.x64P'; Processor_create failed

     [+0 T:0x0583000e] CE - rserverOpen('all.x64P'): 0x0 done.

     [+0 T:0x0583000e] CE - Engine_close(0x60d20)

     [+0 T:0x0583000e] CS - Server_disconnectTrace('0x60d20', 0x0)

     [+0 T:0x0583000e] CS - Server_connectTrace> return(0)

     [+0 T:0x0583000e] CE - Engine_open> return(0)

     

    CMEM Debug: free: entered w/ ptr C0000, params - type POOL

    CMEM Debug: free: ioctl CMEM_IOCFREEPO succeeded, size 0x1000

    CMEM Debug: free: munmap succeeded, returning 0

    CMEM Debug: free: entered w/ ptr D0000, params - type POOL

    CMEM Debug: free: ioctl CMEM_IOCFREEPO succeeded, size 0x1000

    CMEM Debug: free: munmap succeeded, returning 0

    CMEM Debug: free: entered w/ ptr E0000, params - type POOL

    CMEM Debug: free: ioctl CMEM_IOCFREEPO succeeded, size 0x1000

    CMEM Debug: free: munmap succeeded, returning 0

    CMEM Debug: free: entered w/ ptr F0000, params - type POOL

    CMEM Debug: free: ioctl CMEM_IOCFREEPO succeeded, size 0x1000

    CMEM Debug: free: munmap succeeded, returning 0

    [+1 T:0x0583000e] ti.sdo.ce.examples.apps.image1_copy - app done.

     


  • Hi Jett,

    It looks like the LPM driver is now working. The new error looks to me like there is a misconfiguration in dsplink between the Arm and the DSP. Can you rebuild dsplink, configuring it according to the codec engine build_instructions_wince.html:


       cd <DSPLINK_INSTALL_DIR>\dsplink\etc\host\scripts\msdos
       dsplinkenv.bat
       dsplinkcfg.bat --platform=OMAP3530 --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=WINCE --comps=poslm

    If this doesn't fix the problem, the next step would be to turn on trace for DSPLink, to see exactly where the failure is.

    Regards,

        Janet

  • Janet,

    I had tried your suggestion, and to make sure no mistakes here I note down my building steps. If any tiny wrong please let me know, thanks in advance.

     

      1. Build Menu -> Open Release Directory;

      2. Dos commands:

          cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\etc\host\scripts\msdos

          dsplinkenv.bat

      dsplinkcfg.bat --platform=OMAP3530 --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=WINCE --comps=poslm

      3. cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\gpp

     C:\ti\Tools\xdctools_3_10_05_61\xdc clean

     C:\ti\Tools\xdctools_3_10_05_61\xdc .interfaces

     cd ..\dsp

     C:\ti\Tools\xdctools_3_10_05_61\xdc clean

     C:\ti\Tools\xdctools_3_10_05_61\xdc .interfaces

      4. cd C:\ti\dvsdk_wince\dvsdk_wince_1_00_00_05\dsplink_1_64\dsplink\gpp\src

          gmake clean

          gmake -s

          cd ..\dsp\src

          gmake clean

          gmake –s

      5. Copy “dsplinkk.dll” in “dsplink\..\..\DEBUG” folder to “..\RelDir\TI_EVM_3530_ARMV4I_Debug”

      6. Add the following in “platform.bib”

    dsplinkk.dll   $(_FLATRELEASEDIR)\dsplinkk.dll    NK SHK

    lpmdrv.dll     $(_FLATRELEASEDIR)\lpmdrv.dll     NK SHK

     

      7. Modify “platform.reg

    HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DSPLINK]

        "Prefix"="DBL"

        "Dll"="dsplinkk.dll"

        "Index"=dword:1

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\LPM]

        "Prefix"="LPM"

        "Dll"="lpmdrv.dll"

        "Index"=dword:1

    "Trace"=dword:0

      8. Uncheck “MMF:TI:DSPLIN” in the “Catalog Items View”;

      9. Build “examples\codecs\imgenc1_copy” and  “examples\codecs\imgdec1_copy”;

      Build “examples\servers\all_codecs”;

      Build “examples\apps\image1_copy”;

     10 Run “Build Current BSP and Subprojects” and test.

     - END -

     

    When tested “app_remote_wince.exe”, I got the similar problem.  Then as you instructed, I add

    HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DSPLINK]

    "Trace"=dword:1

     

    After the new building and test, more debug information are shown as:

     -----

     636086 PID:589000a TID:596000a @636,850,000us: [+2 T:0x0596000a] OP - Processor_create_d> Attaching to DSP PROC...

     636087 PID:400002 TID:596000a DSP Clk Rate 430000

     636131 PID:400002 TID:596000a Exception 'Data Abort' (4): Thread-Id=0596000a(pth=906259f4), Proc-Id=00400002(pprc=8c05c308) 'NK.EXE', VM-active=0589000a(pprc=905bb3cc) 'app_remote_wince.exe'

     636133 PID:400002 TID:596000a PC=d3c99298(dsplinkk.dll+0x00009298) RA=d3caccd0(dsplinkk.dll+0x0001ccd0) SP=d6a3f9b8, BVA=00000000

     646947 PID:400002 TID:596000a Exception 'Raised Exception' (-1): Thread-Id=0596000a(pth=906259f4), Proc-Id=00400002(pprc=8c05c308) 'NK.EXE', VM-active=0589000a(pprc=905bb3cc) 'app_remote_wince.exe'

     646948 PID:400002 TID:596000a PC=c00bbb88(k.coredll.dll+0x0001bb88) RA=840424c8(kernel.dll+0x000064c8) SP=d6a3f248, BVA=ffffffff

     646951 PID:589000a TID:596000a @658,580,000us: [+7 T:0x0596000a] OP - Processor_create_d> Loading and starting DSP server 'all.x64P' FAILED, status=[0x80008008] (look for error code 'DSP_EBASE + 0x8' in dsplink*/packages/dsplink/gpp/inc/usr/errbase.h)

     -----


    Thanks for your instructions, Janet.

     

    Sincerely

    Jett

     

  • One more debug output, when no "Trace"=dword:1" for dsplink in "platform.reg"

    ---

    TID:481000e @717,500,000us: [+2 T:0x0481000e] OP - Processor_create_d> Attaching to DSP PROC...

    TID:481000e DSP Clk Rate 430000

    TID:481000e Assertion failed ((isrObj != NULL) && (ISR_InstalledIsrs [isrObj->dspId][isrObj->irq] == NULL)). File : isr.c Line : 433

    TID:481000e  DSP_init status [0x80008000]

    TID:481000e Assertion failed ((isrObj!= NULL) && (ISR_InstalledIsrs [isrObj->dspId][isrObj->irq] == isrObj)). File : isr.c Line : 594

    TID:481000e @717,672,000us: [+7 T:0x0481000e] OP - Processor_create_d> Loading and starting DSP server 'all.x64P' FAILED, status=[0x80008000] (look for error code 'DSP_EBASE + 0x0' in dsplink*/packages/dsplink/gp

    TID:481000e p/inc/usr/errbase.h)

    ---

    That's mean failed to install an interrupt service routine when execute ISR_Install()?

    Thanks.

    Jett

     


  • Jett,

    Could you please verify that the dsplink message example works?  This example consists of a dsp program, message.out, and an Arm program, messagegpp.exe. You can find them in dsplink/dsp/src/samples/message and dsplink/gpp/src/samples/message. Probably should rebuild them, if you haven't done so since running the dsplink configuration step again.

    Copy message.out to your flat release directory, and run the example:

    s messagegpp /Release/message.out 10

    Thanks,

        Janet

  • Janet

    I think the message loop sample is work.  Please check the debug output:

    PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS\EVM_3530\EVM_3530\RELDIR\TI_EVM_3530_ARMV4I_DEBUG\MESSAGEGPP.EXE'
    1231814 PID:59c000e TID:5a0000e ========== Sample Application : MESSAGE ==========
    1231819 PID:59c000e TID:5a0000e Entered MESSAGE_Create ()
    1231881 PID:400002 TID:5a0000e DSP Clk Rate 430000
    1234775 PID:400002 TID:5a0000e RELFSD: Opening file message.out from desktop
    1237217 PID:59c000e TID:5a0000e Leaving MESSAGE_Create ()
    1237219 PID:59c000e TID:5a0000e Entered MESSAGE_Execute ()
    1237221 PID:59c000e TID:5a0000e Transferring 10 iterations took
    1237221 PID:59c000e TID:5a0000e 0 seconds
    1237221 PID:59c000e TID:5a0000e 2 milliseconds.
    1237221 PID:59c000e TID:5a0000e RoundTrip Time for 1 message is 0 milliseconds.
    1237222 PID:59c000e TID:5a0000e Leaving MESSAGE_Execute ()
    1237222 PID:59c000e TID:5a0000e Entered MESSAGE_Delete ()
    1237339 PID:59c000e TID:5a0000e Leaving MESSAGE_Delete ()
    1237357 PID:59c000e TID:5a0000e ====================================================
    PB Debugger Unloaded symbols for 'C:\WINCE600\OSDESIGNS\EVM_3530\EVM_3530\RELDIR\TI_EVM_3530_ARMV4I_DEBUG\MESSAGEGPP.EXE'

     

    Thanks

    Jett

  • Ok, that's good that the basic messaging app is working. Maybe you should rebuild dsplink with trace enabled. To do this, you should:

    * Run the dsplinkcfg with --trace=1 in addition to all the other options, eg:

            dsplinkcfg.bat --platform=OMAP3530 --nodsp=1 --dspcfg_0=OMAP3530SHMEM --dspos_0=DSPBIOS5XX --gppos=WINCE --comps=poslm --trace=1

    * Edit the file gpp/src/pmgr/WinCE/drv_pmgr.c, and uncomment the following lines (in the DRV_InitializeModule()) :

            TRC_ENABLE(ID_LDRV_PROC);

            TRC_SET_SEVERITY(TRC_ENTER);

    * Rebuild dsplink, run makeimg with the new dsplink dll.

    If the dsplink trace output still doesn't point to the problem, you may need to uncomment some more lines in drv_pmgr.c, maybe TRC_ENABLE (ID_ARCH_HAL_MMU).

    Regards,

        Janet

  • Hi, Janet

     

    Your support is much appreciated.

    I debug dsplink as you gave, and got the following information.


    -----

    505800 PID:400002 TID:572000a Entered LDRV_PROC_init ()

                                          dspId  [0x0]

     505803 PID:400002 TID:572000a DSP Clk Rate 430000

     505844 PID:400002 TID:572000a Exception 'Data Abort' (4): Thread-Id=0572000a(pth=905ffc64), Proc-Id=00400002(pprc=8c05c308) 'NK.EXE', VM-active=054c000a(pprc=905ea98c) 'app_remote_wince.exe'

     505846 PID:400002 TID:572000a PC=d3cab22c(dsplinkk.dll+0x0000b22c) RA=d3cab128(dsplinkk.dll+0x0000b128) SP=d6a5f984, BVA=00000000

     518951 PID:400002 TID:572000a Exception 'Raised Exception' (-1): Thread-Id=0572000a(pth=905ffc64), Proc-Id=00400002(pprc=8c05c308) 'NK.EXE', VM-active=054c000a(pprc=905ea98c) 'app_remote_wince.exe'

     518952 PID:400002 TID:572000a PC=c00bbb88(k.coredll.dll+0x0001bb88) RA=840424c8(kernel.dll+0x000064c8) SP=d6a5f214, BVA=ffffffff

     518953 PID:54c000a TID:572000a

    Failure: Status:[0x80008008] File:[0x200] Line:[1054]

     518954 PID:54c000a TID:572000a LINK: DRV_Invoke: CMD_PROC_ATTACH: Failed!

     518955 PID:54c000a TID:572000a Status: 8000

     518955 PID:54c000a TID:572000a DRV_Invoke: cmd 0x6C08, DSPStatus 0x80008008

    -----


    Still the same thing happened. Then I debug into the source code, and find the problem arise when executing LDRV_DRV_init(), and at line 418 exactly:

    Ln413     if (DSP_SUCCEEDED (status)) {

    Ln418          status = GEN_Strcpyn (drvCtrl->version,        ---> at this time, it is shown as a bad ptr(0xd7060000)

                                                             DSPLINK_VERSION,

                                                             DSP_MAX_STRLEN) ;

     

    So does it need to do any initialization for drvCtrl? Or anything else?

    Thank you.

     

     

    Regards,

    Jett

     


  • Jatin,

     

    Is this issue resolved?

     

    Why would ISR_Install fail on WinCE? In Linux it usually fails if some OS component has already registered an interrupt handler for that interrupt. It is commonly seen on OMAP3530 with Linux as the irq registered for DSP MMU faults conflicts with one also registered for DSPBridge if DSPBridge is enabled in Linux kernel configuration

     

    Deepali

  • Maybe there is some issue with the memory map. 

    Jett, could you please give us a file with the trace for CE_DEBUG=2, and the dsplink trace enabled. Maybe you could put it as an attachment so it will be easier to read.

    Thanks,

        Janet

     

  • Hi, Janet

    I test the application again with "CE_DEBUG=2" and dsplink trace enabled, but it seems the output is different. I do not know why.

    Please check the attached file.  Thanks.

    Regards,

    Jett

  • Hi Jett,

    From your trace file, it looks like the failure is inside of DSP_init(), but I can't tell what the failure is. Could you uncomment the following lines from gpp/src/pmgr/WinCE/drv_pmgr.c:

            /* TRC_ENABLE (ID_ARCH_DSP)        ; */
            /* TRC_ENABLE (ID_ARCH_DSP_INTF)   ; */
            /* TRC_ENABLE (ID_ARCH_CFG)        ; */
            /* TRC_ENABLE (ID_ARCH_HAL)        ; */
            /* TRC_ENABLE (ID_ARCH_HAL_MAP)    ; */
            /* TRC_ENABLE (ID_ARCH_HAL_INTGEN) ; */
            /* TRC_ENABLE (ID_ARCH_HAL_DMA)    ; */
            /* TRC_ENABLE (ID_ARCH_HAL_RDWR)   ; */
            /* TRC_ENABLE (ID_ARCH_HAL_BOOT)   ; */
            /* TRC_ENABLE (ID_ARCH_HAL_PWR)    ; */
            /* TRC_ENABLE (ID_ARCH_HAL_MMU)    ; */
            /* TRC_ENABLE (ID_ARCH_DSPCLK)     ; */

    Then rebuild dsplink, rebuild your image, and re-run the app? Hopefully this will give us more specific information as to where the failure is.

    Thanks,

        Janet

  • Sorry Janet, I ignore your previous instructions.

    Now I uncomment all the lines you listed, and debug dsplink two times. There is a slightly difference between two outputs. Please check it out.

    Thank you, Janet.


    Regards,

    Jett

    DSPLINK debug output.rar
  • Jett,

    From the trace (the 2nd run), it looks like something is getting overwritten causing the assertion in ISR_install(). I tried running a remote example using your memory map that you posted from your config.bib earlier, and my app still ran. However, my debug output showing the DSPLink configuration has DSP addresses for the DSP memory sections, unlike yours, which looks like it has Arm virtual addresses. For example, your DDRALGHEAP address is shown as 0x8a000000, while mine is 0x86000000. I'm using a newer version of codec engine, but I don't think that would cause the difference.

    How are you building your server? Did you change the memory map in all_evm3530.tci? Did you change the .cfg file for your remote app?

    Here is a portion of the trace that I got for the DSPLink configuration so you can compare with yours. (Sorry, but I can't seem to attach it as a separate file):

    944974 PID:5eb000e TID:5f5000e @952,398,000us: [+0 T:0x05f5000e] OP - Processor_create_d> Setting CMEM base to 0x85000000, size to 0x1000000

     944974 PID:5eb000e TID:5f5000e @952,398,000us: [+2 T:0x05f5000e] OP - Processor_create_d> Adding DSP segment #9 to Link configuration: name='CMEM', startAddress=0x85000000, sizeInBytes=0x1000000, shared=0, syncd=0
     944974 PID:5eb000e TID:5f5000e @952,398,000us: [+2 T:0x05f5000e] OP - Processor_create_d> DODSPCTRL was=0; now=0
     944974 PID:5eb000e TID:5f5000e @952,398,000us: [+3 T:0x05f5000e] OP - LINKCFG_Object generated for PROC_setup(p) ...
     944974 PID:5eb000e TID:5f5000e @952,398,000us: [+3 T:0x05f5000e] OP - linkCfg->gppObject->
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -   name = "ARM9"
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -   maxMsgqs = 0x82
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -   maxChnlQueue = 0x10
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -   poolTableId = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -   numPools = 0x0
     944974 PID:5eb000e TID:5f5000e @952,400,000us: [+3 T:0x05f5000e] OP -
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP - linkCfg->dspConfigs[0]->dspObject->
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   name = "OMAP3530"
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   dspArch = 0x2
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   loaderName = "COFF"
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   autoStart = FALSE
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   execName = "DEFAULT.OUT"
     944974 PID:5eb000e TID:5f5000e @952,402,000us: [+3 T:0x05f5000e] OP -   doDspCtrl = DSP_BootMode_Boot_NoPwr
     944974 PID:5eb000e TID:5f5000e @952,404,000us: [+3 T:0x05f5000e] OP -   resumeAddr = 0x87f00020
     944974 PID:5eb000e TID:5f5000e @952,404,000us: [+3 T:0x05f5000e] OP -   resetVector = 0x87f00000
     944974 PID:5eb000e TID:5f5000e @952,404,000us: [+3 T:0x05f5000e] OP -   resetCodeSize = 0x1000
     944974 PID:5eb000e TID:5f5000e @952,404,000us: [+3 T:0x05f5000e] OP -   maduSize = 0x1
     944974 PID:5eb000e TID:5f5000e @952,404,000us: [+3 T:0x05f5000e] OP -   cpuFreq = 0x6ddd0
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   endian = 0x3
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   wordSwap = 0x0
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   memTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   memEntries = 0xa
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   linkDrvId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   arg1 = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   arg2 = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,406,000us: [+3 T:0x05f5000e] OP -   arg3 = 0x0
     944974 PID:5eb000e TID:5f5000e @952,408,000us: [+3 T:0x05f5000e] OP -   arg4 = 0x0
     944974 PID:5eb000e TID:5f5000e @952,408,000us: [+3 T:0x05f5000e] OP -   arg5 = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,408,000us: [+3 T:0x05f5000e] OP -
     944974 PID:5eb000e TID:5f5000e @952,408,000us: [+3 T:0x05f5000e] OP - linkCfg->dspConfigs[0]->linkDrvObjects->
     944974 PID:5eb000e TID:5f5000e @952,408,000us: [+3 T:0x05f5000e] OP -   name = "SHMDRV"
     944974 PID:5eb000e TID:5f5000e @952,410,000us: [+3 T:0x05f5000e] OP -   hshkPollCount = 0x989680
     944974 PID:5eb000e TID:5f5000e @952,410,000us: [+3 T:0x05f5000e] OP -   memEntry = 0x1
     944974 PID:5eb000e TID:5f5000e @952,410,000us: [+3 T:0x05f5000e] OP -   ipsTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,410,000us: [+3 T:0x05f5000e] OP -   numIpsEntries = 0x1
     944974 PID:5eb000e TID:5f5000e @952,410,000us: [+3 T:0x05f5000e] OP -   poolTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   numPools = 0x1
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   dataTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   numDataDrivers = 0x1
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   mqtId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   ringIoTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,412,000us: [+3 T:0x05f5000e] OP -   mplistTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP -   mpcsTableId = 0x0
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP -
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP - linkCfg->dspConfigs[0]->memTables[0][i].
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP - entry #0:
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP -   entry = 0x0
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP -   name = "DDR2"
     944974 PID:5eb000e TID:5f5000e @952,414,000us: [+3 T:0x05f5000e] OP -   physAddr = 0x87800000
     944974 PID:5eb000e TID:5f5000e @952,416,000us: [+3 T:0x05f5000e] OP -   dspVirtAddr = 0x87800000
     944974 PID:5eb000e TID:5f5000e @952,416,000us: [+3 T:0x05f5000e] OP -   gppVirtAddr = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,416,000us: [+3 T:0x05f5000e] OP -   size = 0x600000
     944974 PID:5eb000e TID:5f5000e @952,416,000us: [+3 T:0x05f5000e] OP -   shared = TRUE
     944974 PID:5eb000e TID:5f5000e @952,416,000us: [+3 T:0x05f5000e] OP -   syncd = FALSE
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP - entry #1:
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP -   entry = 0x1
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP -   name = "DSPLINKMEM"
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP -   physAddr = 0x87e00000
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP -   dspVirtAddr = 0x87e00000
     944974 PID:5eb000e TID:5f5000e @952,418,000us: [+3 T:0x05f5000e] OP -   gppVirtAddr = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP -   size = 0x100000
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP -   shared = TRUE
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP -   syncd = FALSE
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP - entry #2:
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP -   entry = 0x2
     944974 PID:5eb000e TID:5f5000e @952,420,000us: [+3 T:0x05f5000e] OP -   name = "RESET_VECTOR"
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   physAddr = 0x87f00000
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   dspVirtAddr = 0x87f00000
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   gppVirtAddr = 0xffffffff
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   size = 0x1000
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   shared = TRUE
     944974 PID:5eb000e TID:5f5000e @952,422,000us: [+3 T:0x05f5000e] OP -   syncd = FALSE

  • WOW! Finally, I see the debug output:  “Welcome to DSP server's main()…”


    Janet, A BIG THANK YOU!


    Your guess is right, I touched the in all_evm3530.tci long times before. You know it was when I failed to run remote app at first, I tried a lot included this one – arbitrarily change the memory map in tci file to match the related memory section in config.bib file. Perhaps I misunderstood and then was affected by the portion of CMEM modification in the reference instructions at that time. I should consult you earlier.

    So sorry I have taken you so much time. But l learned a lot from you.

    Thanks again for your great work, support and patience.

     

    Also thank you Aparna, and Jatin.

    Best wishes and regards for you all.

     

     

    Sincerely,

    Jett

     

  • Jett, this is great news! I'm glad the problem is solved.

    Best regards,

        Janet