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.

DSPLink Sample Application OMAP-L137 on WinCE

Other Parts Discussed in Thread: OMAP-L137

Hello,

I'm trying to run the messagegpp sample Application for Windows CE 6 on my OMAP-L137 EVM from Spektrum Digital.

when I run " Windows CE>s messagegpp /Release/message.out 2 0 " my debugger gives an output like:

65980 PID:400002 TID:27a000e RELFSD: Opening file messagegpp.exe from desktop
 166031 PID:2070012 TID:27a000e ========== Sample Application : MESSAGE ==========
 166032 PID:2070012 TID:27a000e Entered MESSAGE_Create ()
 166093 PID:400002 TID:27a000e Exception 'Data Abort'(4) Thread-Id=027a000e(pth=8193b2dc) PC=8002ec9c BVA=d0aaeef4, dwInfo = 0000000f
 166094 PID:400002 TID:27a000e  R0=81907600  R1=8003c990  R2=c0820000  R3=00000000
 166094 PID:400002 TID:27a000e  R4=81907600  R5=80fb9550  R6=8003c990  R7=8003c98c
 166094 PID:400002 TID:27a000e  R8=d0aaf114  R9=0000001f R10=d0aaf18c R11=8003c990
 166095 PID:400002 TID:27a000e R12=00000000  SP=d0aaeef0  Lr=8003ca74 Psr=a000001f
 166450 PID:400002 TID:4180002 Exception 'Data Abort'(4) Thread-Id=04180002(pth=81a5e564) PC=8003c9ac BVA=d0aadfbc, dwInfo = 0000000f
 166451 PID:400002 TID:4180002  R0=80fb9448  R1=00000000  R2=8003c98c  R3=8003c990
 166451 PID:400002 TID:4180002  R4=800246d0  R5=00000000  R6=8003c990  R7=80fbbe90
 166451 PID:400002 TID:4180002  R8=d0aae048  R9=0000001f R10=d0aae0c0 R11=8003c990
 166452 PID:400002 TID:4180002 R12=00000000  SP=d0aae00c  Lr=8003cb88 Psr=a000001f
 166452 PID:400002 TID:4180002 Exception 'Data Abort'(4) Thread-Id=04180002(pth=ffffc628) PC=8003062c BVA=d0aadfbc, dwInfo = 0000000f
 166453 PID:400002 TID:4180002  R0=00000002  R1=c1d2855e  R2=8003c9ac  R3=d0aae00c
 166453 PID:400002 TID:4180002  R4=d0aadf7c  R5=80fbbe90  R6=81a5e564  R7=0000000f
 166453 PID:400002 TID:4180002  R8=d0aadff8  R9=00000004 R10=8003c9ac R11=00000000
 166454 PID:400002 TID:4180002 R12=ffffc778  SP=ffffc778  Lr=80030484 Psr=20000013
 166454 PID:400002 TID:4180002 Exception 'Data Abort'(4) Thread-Id=04180002(pth=81a5e564) PC=8003c9ac BVA=00000014, dwInfo = 00000007
 166455 PID:400002 TID:4180002  R0=80fb9448  R1=00000000  R2=8003c98c  R3=8003c990
 166455 PID:400002 TID:4180002  R4=800246d0  R5=00000000  R6=8003c990  R7=80fbbe90
 166455 PID:400002 TID:4180002  R8=d0aae048  R9=0000001f R10=d0aae0c0 R11=8003c990
 166456 PID:400002 TID:4180002 R12=00000000  SP=d0aae00c  Lr=8003cb88 Psr=a000001f

 

Any suggestions how to resolv that problem?

I'm using the following tools:

cgtools 6.1.14

bios 5.33.05

wince 6.0 System Builder on Visual Studio SP1 with Windows VISTA Patch (Windows CE is R3 with Rollup Patches since 31.12.2010)

dsplink 1.65.00.03

 

Regards

  • Does enabling trace provide any further insight?

    http://processors.wiki.ti.com/index.php/Enabling_trace_in_DSPLink

    Or single stepping into the code using Platform Builder?

    Chris

  • Hello Chris,

    I enabled trace with dsplink, but i still don't know whats wrong.

     449474 PID:400002 TID:5de0002 RELFSD: Opening file messagegpp.EXE from desktop
     449536 PID:5dd0002 TID:5de0002 ========== Sample Application : MESSAGE ==========
     449536 PID:5dd0002 TID:5de0002 Entered MESSAGE_Create ()
     449537 PID:5dd0002 TID:5de0002 Entered PROC_setup ()
        linkCfg    [0x0]
     449537 PID:5dd0002 TID:5de0002 Entered DRV_Initialize ()
        drvObj    [0x225c0]
        arg    [0x0]
     449539 PID:5dd0002 TID:5de0002 LINK: DRV_Initialize: DspLink driver handle created 0x490E03
     449539 PID:5dd0002 TID:5de0002 Leaving DRV_Initialize ()     status [0x8000]
     449540 PID:5dd0002 TID:5de0002 Entered DRV_ProtectInit ()
        drvObj    [0x40380]
     449540 PID:5dd0002 TID:5de0002 Leaving DRV_ProtectInit ()     status [0x8000]
     449541 PID:5dd0002 TID:5de0002 Entered DRV_ProtectEnter ()
        drvObj    [0x40380]
     449541 PID:5dd0002 TID:5de0002 Leaving DRV_ProtectEnter ()     status [0x8000]
     449542 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x6c01]
        arg1    [0x3fb14]
        arg2    [0x0]
     449542 PID:5dd0002 TID:5de0002 Entered DRV_installCleanupRoutines ()
        linkCfgPtr    [0x22080]
     449543 PID:5dd0002 TID:5de0002 Leaving DRV_installCleanupRoutines ()
     449544 PID:5dd0002 TID:5de0002 osStatus: 1
     449544 PID:5dd0002 TID:5de0002 Entered _POOL_init ()
     449544 PID:5dd0002 TID:5de0002 Leaving _POOL_init ()
     449545 PID:5dd0002 TID:5de0002 Status: 8000
     449545 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x6C01, DSPStatus 0x8000
     449546 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449546 PID:5dd0002 TID:5de0002 Entered _MEM_USR_init ()
     449547 PID:5dd0002 TID:5de0002 Leaving _MEM_USR_init ()     status [0x8000]
     449547 PID:5dd0002 TID:5de0002 Entered _IDM_USR_init ()
     449548 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7351]
        arg1    [0x3faf4]
        arg2    [0x0]
     449548 PID:5dd0002 TID:5de0002 Status: 8000
     449549 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7351, DSPStatus 0x8000
     449549 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449550 PID:5dd0002 TID:5de0002 Leaving _IDM_USR_init ()     status [0x8000]
     449550 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_init ()
     449551 PID:5dd0002 TID:5de0002 Entered _IDM_USR_create ()
        key    [0x10080]
        attrs    [0x3fb04]
     449551 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7353]
        arg1    [0x3fae0]
        arg2    [0x0]
     449552 PID:5dd0002 TID:5de0002 Status: 8000
     449552 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7353, DSPStatus 0x8000
     449553 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449553 PID:5dd0002 TID:5de0002 Leaving _IDM_USR_create ()     status [0x8000]
     449554 PID:5dd0002 TID:5de0002 Leaving _SYNC_USR_init ()     status [0x8000]
     449555 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_createCS ()
        idKey    [0x123f8]
        csObj    [0x225c8]
     449555 PID:5dd0002 TID:5de0002 Entered _IDM_USR_acquireId ()
        key    [0x10080]
        idKey    [0x123f8]
        id    [0x3f8ec]
     449555 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7355]
        arg1    [0x3f8c4]
        arg2    [0x0]
     449557 PID:5dd0002 TID:5de0002 Status: 8000
     449557 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7355, DSPStatus 0x8000
     449557 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449558 PID:5dd0002 TID:5de0002 Leaving _IDM_USR_acquireId ()     status [0x8000]
     449559 PID:5dd0002 TID:5de0002 Leaving _SYNC_USR_createCS ()     status [0x8000]
     449559 PID:5dd0002 TID:5de0002 Entered DRV_ProtectLeave ()
        drvObj    [0x40380]
     449560 PID:5dd0002 TID:5de0002 Leaving DRV_ProtectLeave ()     status [0x8000]
     449560 PID:5dd0002 TID:5de0002 Entered PROC_resetCurStatus ()
     449561 PID:5dd0002 TID:5de0002 Leaving PROC_resetCurStatus ()
     449561 PID:5dd0002 TID:5de0002 Leaving PROC_setup ()     status [0x8000]
     449562 PID:5dd0002 TID:5de0002 Entered PROC_attach ()
        procId    [0x0]
        attr    [0x0]
     449562 PID:5dd0002 TID:5de0002 Entered DRV_Initialize ()
        drvObj    [0x225c0]
        arg    [0x0]
     449563 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_enterCS ()
        csObj    [0x40440]
     449563 PID:5dd0002 TID:5de0002 Leaving _SYNC_USR_enterCS ()     status [0x8000]
     449564 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_leaveCS ()
        csObj    [0x40440]
     449564 PID:5dd0002 TID:5de0002 Leaving _SYNC_USR_leaveCS ()     status [0x8000]
     449565 PID:5dd0002 TID:5de0002 Leaving DRV_Initialize ()     status [0x8000]
     449565 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_enterCS ()
        csObj    [0x40440]
     449566 PID:5dd0002 TID:5de0002 Leaving _SYNC_USR_enterCS ()     status [0x8000]
     449566 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x6c08]
        arg1    [0x3fb0c]
        arg2    [0x0]
     449576 PID:5dd0002 TID:5de0002 LINK: DRV_Invoke: CMD_PROC_ATTACH: Success!
     449576 PID:5dd0002 TID:5de0002 Status: 8000
     449577 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x6C08, DSPStatus 0x8000
     449577 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449578 PID:5dd0002 TID:5de0002 Entered _NOTIFY_init ()
        dspId    [0x0]
     449578 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7301]
        arg1    [0x3fad8]
        arg2    [0x0]
     449579 PID:5dd0002 TID:5de0002 Status: 8000
     449579 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7301, DSPStatus 0x8000
     449580 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449582 PID:400002 TID:5f90002 Exception 'Data Abort' (4): Thread-Id=05f90002(pth=81bca09c), Proc-Id=00400002(pprc=80fc9448) 'NK.EXE', VM-active=05dd0002(pprc=819e72fc) 'messagegpp.EXE'
     449582 PID:400002 TID:5f90002 PC=c006a0a0(k.coredll.dll+0x0004a0a0) RA=c0257b74(devmgr.dll+0x00007b74) SP=d1f2f470, BVA=00000000
     449582 PID:5dd0002 TID:5f90002 LINK: NOTIFY_eventWorker: DspLink Driver Open Failed
     449584 PID:5dd0002 TID:5de0002 Leaving _NOTIFY_init ()     status [0x8000]
     449584 PID:5dd0002 TID:5de0002 Entered _MPCS_init ()
        procId    [0x0]
     449585 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7201]
        arg1    [0x3fad8]
        arg2    [0x0]
     449585 PID:5dd0002 TID:5de0002 Status: 8000
     449586 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7201, DSPStatus 0x8000
     449586 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449587 PID:5dd0002 TID:5de0002 Entered _MPCS_open ()
        procId    [0x0]
        name    [0x13d70]
        mpcsHandle    [0x22dbc]
        mpcsShObj    [0x50180]
     449587 PID:5dd0002 TID:5de0002 Entered _MPCS_OS_open ()
        procId    [0x0]
        name    [0x13d70]
        mpcsHandle    [0x22dbc]
        mpcsShObj    [0x50180]
     449588 PID:5dd0002 TID:5de0002 Entered _MEM_USR_calloc ()
        ptr    [0x22dbc]
        bytes    [0x10]
     449588 PID:5dd0002 TID:5de0002 _MEM_USR_calloc *ptr [0x40460]
     449589 PID:5dd0002 TID:5de0002 Leaving _MEM_USR_calloc ()     status [0x8000]
     449590 PID:5dd0002 TID:5de0002 Entered _SYNC_USR_createCS ()
        idKey    [0x13d70]
        csObj    [0x40464]
     449590 PID:5dd0002 TID:5de0002 Entered _IDM_USR_acquireId ()
        key    [0x10080]
        idKey    [0x13d70]
        id    [0x3f85c]
     449591 PID:5dd0002 TID:5de0002 Entered DRV_Invoke ()
        drvObj    [0x40380]
        cmdId    [0x7355]
        arg1    [0x3f834]
        arg2    [0x0]
     449592 PID:5dd0002 TID:5de0002 Status: 8000
     449592 PID:5dd0002 TID:5de0002 DRV_Invoke: cmd 0x7355, DSPStatus 0x8000
     449593 PID:5dd0002 TID:5de0002 Leaving DRV_Invoke DSPStatus 0x8000 ()     status [0x3ff00]
     449593 PID:5dd0002 TID:5de0002 Leaving _IDM_USR_acquireId ()     status [0x8000]
     449594 PID:5dd0002 TID:5de0002 Exception 'Data Abort' (4): Thread-Id=05de0002(pth=81b9e09c), Proc-Id=05dd0002(pprc=819e72fc) 'messagegpp.EXE', VM-active=05dd0002(pprc=819e72fc) 'messagegpp.EXE'
     449594 PID:5dd0002 TID:5de0002 PC=800287b0(kernel.dll+0x000077b0) RA=80026458(kernel.dll+0x00005458) SP=d0bdfdac, BVA=00000008
     449688 PID:400002 TID:b40006 Exception 'Data Abort' (4): Thread-Id=00b40006(pth=83f084a4), Proc-Id=00400002(pprc=80fc9448) 'NK.EXE', VM-active=05dd0002(pprc=819e72fc) 'messagegpp.EXE'
     449688 PID:400002 TID:b40006 PC=8002e730(kernel.dll+0x0000d730) RA=80046724(kernel.dll+0x00025724) SP=d0bdf948, BVA=83f08508

     

    Sascha

  • I comiled some other examples but they all won't run either

    if i execute:

    /Release/dsplink/mplistgpp /Release/mplist.out 2 2

    my debug window gives me:

      37514 PID:400002 TID:2a6000a RELFSD: Opening file dsplink\mplistgpp.exe from desktop
      37565 PID:2a5000a TID:2a6000a ========== Sample Application : MP_LIST ==========
      37565 PID:2a5000a TID:2a6000a Entered MP_LIST_Create ()
      37582 PID:2a5000a TID:2a6000a Exception 'Data Abort' (4): Thread-Id=02a6000a(pth=81aae09c), Proc-Id=02a5000a(pprc=81a6421c) 'mplistgpp.exe', VM-active=02a5000a(pprc=81a6421c) 'mplistgpp.exe'
      37582 PID:2a5000a TID:2a6000a PC=800287b0(kernel.dll+0x000077b0) RA=00000000(???+0x00000000) SP=d0bbfdac, BVA=00000008
      37676 PID:400002 TID:b30006 Exception 'Data Abort' (4): Thread-Id=00b30006(pth=83eed4a4), Proc-Id=00400002(pprc=80fc9448) 'NK.EXE', VM-active=02a5000a(pprc=81a6421c) 'mplistgpp.exe'
      37677 PID:400002 TID:b30006 PC=8004b3c4(kernel.dll+0x0002a3c4) RA=8004b39c(kernel.dll+0x0002a39c) SP=d04efdc8, BVA=00000005

  • Hello,

    i have not been on this problem for some time but I tried the dsplink sample applications on a fresh windows xp machine.

    I had no errors building dsplink and the samples. When I i execute:

    Windows CE>s messagegpp /Release/message.out 500 0

    he loops 500 times and copys all messages, but then, in the MESSAGE_DELETE function while calling subroutine POOL_close i get an Exception:

     89019 PID:3e4005e TID:3e5003a LINK: DRV_Invoke: CMD_POOL_CLOSE Unmapped UsrAddr 0x90000, Size 0xD0000
      89019 PID:3e4005e TID:3e5003a Status: 800d
      89020 PID:3e4005e TID:3e5003a DRV_Invoke: cmd 0x7102, DSPStatus 0x800D
      89022 PID:400002 TID:620002 Exception 'Data Abort'(4) Thread-Id=00620002(pth=83ff9aa0) PC=8002fc9c BVA=fffffff8, dwInfo = 00000007
      89061 PID:400002 TID:620002  R0=00000004  R1=00000008  R2=00000000  R3=00000000
      89091 PID:400002 TID:620002  R4=d00ae19c  R5=d00ae290  R6=83ff9aa0  R7=80fcb5d8
      89162 PID:400002 TID:620002  R8=00000000  R9=0000001f R10=00000000 R11=00000001
      89182 PID:400002 TID:620002 R12=00000000  SP=d00adf8c  Lr=80031004 Psr=6000001f

    Any suggestions on how to fix this?

    Regards

    Sascha