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.

CC2540: Error Can't find 'boot_dal_ext' symbol in ./dal_ext.dll

Part Number: CC2540
Other Parts Discussed in Thread: CC2531EMK

I'm trying to use the PERL interface to the Device Access Layer API.  I have 32-bit strawberry PERL 5.16 installed.  When I run the the batch file included with SmartRF Studio 7, I get the following error:

C:\Users\Test\Documents\Texas Instruments\SmartRF Studio v7\scripts>dal_cont_tx.bat
Can't find 'boot_dal_ext' symbol in ./dal_ext.dll
at dal_ext.pm line 11.
Compilation failed in require at dal_eb.pm line 11.
BEGIN failed--compilation aborted at dal_eb.pm line 11.
Compilation failed in require at dal_cont_tx.pl line 10.
BEGIN failed--compilation aborted at dal_cont_tx.pl line 10.
Press any key to continue . . .

C:\Users\Test\Documents\Texas Instruments\SmartRF Studio v7\scripts>

Does anyone have a work around for this error?

  • In the script directory there are some files to set up the PERL environment, env_perl514.bat etc. As you are using Perl 16 you need to create a similar batch file env_perl516.bat that reflects your PERL environment. You also need to add the following lines to the script, BEFORE the "use" directive use dal_use dal_eb. So

    #!c:/Perl/bin/perl.exe
    # *****************************************************************************
    #
    #    File:     dal_cont_tx.pl
    #
    #    Brief:    This script emulates the Continuous TX function in SmartRF Studio.
    #
    # *****************************************************************************
    #
    BEGIN {
        push @INC, './';
    }
    use dal_eb;

  • Hi Jomar,

    Using the CC2531EMK, I followed the procedure you mentionned, with perl 5.16 installed, setting the environment with a  'env_perl516' script and adding "." to perl path...
    It still complained : "Can't find 'boot_dal_ext' symbol in ./dal_ext.dll" every time I try to run one of Smart RF Studio script.

    I tried downgrading PERL to 5.14 and setting the environment accordingly, the same error happens.
    I am sure the proper perl version is called since I added

    print "Perl version: $]\n";

    To the script, and I got : Perl version: 5.014004
    Similarly, I printed @INC and i got : C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib . ./ (run from C:\Users\MyUser\Documents\Texas Instruments\SmartRF Studio v7\scripts).

    Do you have any hint on how I can resolve this error  ?

    I'm using Windows 10, could that be an issue ?

    My Environment :
    PERL installed : Strawberry v5.16.3 and then I downgraded to Strawberry v5.14.4 (both for 32 bits)
    SmartRF Studio installed : 2.10.0

    I tested SmartRF Studio GUI to send/receive packet through my dongle and everything works fine.