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.

C6678 h264hpvenc SPKERNEL

Other Parts Discussed in Thread: SYSBIOS

Hello,

I have an issue with multicore H264HPVENC implementation. After some frames proccessed on 3 cores the one core become freezing. In disasseble mode I see that:

0c0f2d48:   1C66                SPKERNEL      0,0

What doest happens? How can I debug it? What does it mean?

I attached the project. 5086.tst.zip

Ilya

  • There was a bug in my code. I fixed than and now everything is good. But when I try to run system analyzer I get the follwing exception:

    [C66xx_0] 0 A7=0x0
    A8=0x0 A9=0x0
    A10=0xc19de5c A11=0x8456d0
    A12=0xc19de7c A13=0x80000008
    A14=0x823ac0 A15=0x845668
    A16=0x0 A17=0x0
    A18=0x80d6d0 A19=0x90
    A20=0x80d6d8 A21=0x200020
    A22=0x0 A23=0x0
    A24=0x0 A25=0x0
    A26=0xc1a1dd8 A27=0x0
    A28=0x0 A29=0x0
    A30=0x0 A31=0x810e68
    B0=0x1 B1=0x0
    B2=0x0 B3=0xc12a878
    B4=0x200020 B5=0x0
    B6=0x0 B7=0x200020
    B8=0x0 B9=0x0
    B10=0xc19de6c B11=0x8456f0
    B12=0x18 B13=0x8
    B14=0x874a44 B15=0x845520
    B16=0x0 B17=0x200020
    B18=0x200020 B19=0x0
    B20=0x0 B21=0x0
    B22=0x200020 B23=0x0
    B24=0x810de8 B25=0x200020
    B26=0x200020 B27=0x200020
    B28=0x200020 B29=0x200020
    B30=0x40001 B31=0x0
    NTSR=0x1400d
    ITSR=0xd
    IRP=0xc1102e0
    SSR=0x0
    AMR=0x0
    RILC=0x8
    ILC=0x1
    Exception at 0xc1822c4
    EFR=0x2 NRP=0xc1822c4
    Internal exception: IERR=0x180
    Loop buffer exception
    Missed stall exception
    ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x0c1822c4, sp = 0x00845520.
    To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
    xdc.runtime.Error.raise: terminating execution

    What kind of reason may be?

    Should I open a new question?

  • According to the error you have an missed stall exception.  See section 8.15.2 Restrictions on Stall Detection Within SPLOOP Operation of the C66x CPU and Instruction Set Reference Guide for details as to what this may be and then review your code.

    Most likely a cross path stall.  But the reference guide should aid you in finding the issue.

    Best Regards,

    Chad