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.

OMAP L138 LCDK HelloWorld sample program errors

Other Parts Discussed in Thread: OMAPL138, OMAP-L137

i had my HelloWorld program installed on my OMAO L138 LCDK. After I entered ./HelloWorld HelloWorldDSP.out (from my Linux Host PC serial port terminal)

I got

Loading file HelloWorldDSP.out

dsplink driver open: /dev/dsplink: No such file or directory

Error running PROC_setup : 0x80008008

Starting application.

Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501

Msgq <GPPMSGQ1> open: 0x80008002

AND CONTINUE THIS

Assertion failed (MSGQ_isLocalQueue (msgqQueue)). File : msgq.c Line : 641 error...

What was the cause?

i enter uname -r on my LCDK, it shows 3.1.10 ... However, uname -r on my linux host pc is 2.6.32-53-generic-pae
Is this something wrong too?

Thank you,

David

  • I think you need to address the first errors:

    dsplink driver open: /dev/dsplink: No such file or directory

    You need to load DSPLINK with

    insmod dsplinkk.ko

  • Hi Norman,

    I entered insmod dsplinkk.ko

    I got this

    Error: could not insert module dsplinkk.ko: Invalid module format

    I don't know how to insert this module? And how to get the right module format?

  • It has been a while since I dealt with those error messages.

    - You should use the same ARM cross-compiler to compile the kernel, DSPLINK and your application.

    - The DSPLINK kernel loadable module has to be built against the same kernel version that is on the target.

    - How are you getting your compiled code onto your target? Is is unlikely but maybe your images are getting currupted in transit.

  • Hi David,

    Norman suspect ion was right.

    I entered insmod dsplinkk.ko

    I got this

    Error: could not insert module dsplinkk.ko: Invalid module format

    I don't know how to insert this module? And how to get the right module format?

    Where did you insert the "dsplink.ko" module ?

    Are you trying to insert it in linux host PC ?

    You have to insert the driver in OMAPL138 LCDK board and you have to execute "./HelloWorld HelloWorldDSP.out" in LCDK board and not in linux host PC.

  • I followed the DSP HelloWorld example. All commands are in LCDK board!

  • Are you following the Wiki pages:
    http://processors.wiki.ti.com/index.php/Building_DSPLink
    http://processors.wiki.ti.com/index.php/Example_application_using_DSP_Link_on_OMAPL1x
    http://processors.wiki.ti.com/index.php/CCS_Project_OMAP-L137_HelloDSP_DSPLINK_example

    What is your value for ARM_BASE_BUILDOS?