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.

Linux/TDA2PXEVM: using pre-built OpenCV library on TDA2PXEVM

Part Number: TDA2PXEVM

Tool/software: Linux

Hi,

I'm trying to use pre-built OpenCV library on TDA2PXEVM.

I tried this in bios only mode, actully.

But, I couln't running OpenCV properly.

Should I use 'Linux+Bios mode'  to use pre-built OpenCV library?

I refer to 'VisionSDK_UserGuide_opencx.pdf', is it contains enough information to set-up the Linux envirionment for OpenCV?

Thank you.

  • Hi SeungRyong Jeon,
    Could you please elaborate what error are you getting after running openCV use-case on TDA2Px?

    Regards
    Surya
  • Hi Surya,

    I modified 'issIspSimcop_Display' usecase.
    I added a new .cpp file for OpenCV test.
    The new files are written refer to 'opencvcanny' usecase.
    It has a thread to perform simple buffer copy code with OpenCV function and Mat class.

    An error messages are llke below:


    [HOST ] 59.997376 s: Unhandled Exception:
    [HOST ] 59.997376 s: Exception occurred in ThreadType_Task
    [HOST ] 59.997376 s: Exception occured in A15 with exception type 18
    [HOST ] 59.997407 s: handle: 0x876b1288.
    [HOST ] 59.997407 s: stack base: 0x876bc5b0.
    [HOST ] 59.997407 s: stack size: 0x4000.
    [HOST ] 59.997407 s: R0 = 0x72097129 R8 = 0x875f6d34
    [HOST ] 59.997437 s: R1 = 0x00000574 R9 = 0x0000037d
    [HOST ] 59.997437 s: R2 = 0x872bcbea R10 = 0x876c0408
    [HOST ] 59.997437 s: R3 = 0x00000000 R11 = 0x876c034c
    [HOST ] 59.997468 s: R4 = 0x876b4180 R12 = 0x876b00fc
    [HOST ] 59.997468 s: R5 = 0x876380c0 SP(R13) = 0x872132a4
    [HOST ] 59.997468 s: R6 = 0x876b00c8 LR(R14) = 0x8d695d44
    [HOST ] 59.997498 s: R7 = 0x876b02c4 PC(R15) = 0x872132a4
    [HOST ] 59.997498 s: PSR = 0x0000037d
    [HOST ] 59.997498 s: DFSR = 0x00000206
    [HOST ] 59.997498 s: IFSR = 0x00000000
    [HOST ] 59.997529 s: DFAR = 0x72097129
    [HOST ] 59.997529 s: IFAR = 0x00000000
    [HOST ] 59.997529 s: Terminating Execution...
    [HOST ] 59.997529 s:
    [HOST ] 59.997559 s: ### XDC ASSERT - ERROR CALLBACK START ###
    [HOST ] 59.997559 s:
    [HOST ] 59.997590 s: E_dataAbort: pc = 0x872132a4, lr = 0x8d695d44.
    [HOST ] 59.997590 s:
    [HOST ] 59.997590 s: ### XDC ASSERT - ERROR CALLBACK END ###
    [HOST ] 59.997620 s:
  • Hi SeungRyong Jeon,
    It is looking like crash in A15
    If you have CCS installed, Could you connect through CCS
    Put breakpoints to the added OpenCV function & try to run in single step?

    Regards
    Surya
  • Hi Surya,

    Unfortunatly, I couldn't use CCS yet.
    Is there any other way to debug it?

    Thank you

    Regards,
    Jeon