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.

TMS320C64X+_0: Warning: C674x_or_EDMA: WRITE access - 0xfffffff8

Other Parts Discussed in Thread: SYSBIOS

TMS320C64X+_0: Warning: C674x_or_EDMA: WRITE access - 0xfffffff8
TMS320C64X+_0: Warning: C674x_or_EDMA: WRITE access - 0xfffffff4
TMS320C64X+_0: Warning: C674x_or_EDMA: WRITE access - 0xfffffff0
TMS320C64X+_0: Warning: C674x_or_EDMA: WRITE access - 0xffffffec 
...

I now get these errors when my program is loaded into the simulator, i.e. not possible to debug.

Any idea how I can find what is wrong?

  • I set a breakpoint.  The error occurs at

              $/db/vtree/library/trees/avala/avala-q22x/src/ti/sysbios/family/c62/TaskSupport_asm.s62:104:136$, ti_sysbios_family_c62_TaskSupport_buildTaskStack:

    Any idea what this means?

    If I run this same .out on the actual hardware then I do not see any errors. But this is a series of unit tests, it must run on the simulator.

  • Here is the code that is causing the problem. It appears A4 is set to 0 then used as a stack reference. Perhaps some linker fixup is missing here

              _args_main:
    11815f00:   02FFFFA8            MVK.S1        0xffffffff,A5
    11815f04:   02FFFFE9            MVKH.S1       0xffff0000,A5
    11815f08:   02AF402A ||         MVK.S2        0x5e80,B5
    11815f0c:   0288C0EB            MVKH.S2       0x11810000,B5
    11815f10:   FE27     ||         MVK.L2        -1,B4
    11815f12:   96E9                CMPEQ.L2X     B4,A5,B0
    11815f14:   62C6     ||         MV.L1         A5,A3
    11815f16:   02EF     ||         BNOP.S2       B5,0
    11815f18:   320C0265     [!B0]  LDW.D1T1      *+A3[0],A4
    11815f1c:   E6000600            .fphead       n, l, W, BU, nobr, nosat, 0110000
    11815f20:   0200A358 ||         MVK.L1        0,A4
    11815f24:   0180A358            MVK.L1        0,A3
    11815f28:   31948058     [!B0]  ADD.L1        4,A5,A3
    11815f2c:   00000000            NOP          
    11815f30:   020C1FDA            OR.L2X        0,A3,B4
    11815f34:   00000000            NOP          
    11815f38:   00000000            NOP          
    11815f3c:   00000000            NOP          
              $/db/vtree/library/trees/avala/avala-q22x/src/ti/sysbios/family/c62/TaskSupport_asm.s62:104:136$, ti_sysbios_family_c62_TaskSupport_buildTaskStack:
    11815f40:   03103474            STW.D1T1      A6,*A4--[1]
    11815f44:   02103476            STW.D1T2      B4,*A4--[1]
    11815f48:   01B46028            MVK.S1        0x68c0,A3
    11815f4c:   0188C0E8            MVKH.S1       0x11810000,A3
    11815f50:   04103476            STW.D1T2      B8,*A4--[1]
    11815f54:   04103474            STW.D1T1      A8,*A4--[1]
    11815f58:   04A6                MVK.L1        0,A1
    11815f5a:   2D26                MVK.L1        9,A2
    11815f5c:   E8000000            .fphead       n, l, W, BU, nobr, nosat, 1000000
    11815f60:   01903474            STW.D1T1      A3,*A4--[1]

  • silly me. all i had to do was remove everything and start all over.  now it works fine.  no code was changed.  go figure.