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.

RTA agent problem

Other Parts Discussed in Thread: SYSBIOS, OMAP-L138, OMAP-L137, BIOSSW-C6748, OMAPL138

 

Hi , I'm using OMAPL137 evm board with XDS510USB emulator.

I need to use RTA agent, but once I turn on RTA agent, I got following linker error.

 

'Invoking: C6000 Linker' "C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6740 --abi=coffabi -O2 --define=c6747 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"audio137.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="audio137_linkInfo.xml" --rom_model -o "audio137.out" -l"./configPkg/linker.cmd"  "./process.obj" "./mcasp_TTO.obj" "./main.obj" "./led_TTO.obj" "./led.obj" "./isr.obj" "./coeffs.obj" "./coefficient.obj" "./aic3106_TTO.obj" -l"D:\dhkim2\PROJ\L137\work\bsl\evmomapl137_v1\dsp\lib\evmomapl137bsl.lib" -l"C:\ti\uia_1_03_00_02\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674" -l"rts6740.lib" <Linking>

 undefined       first referenced                                                                                 symbol             in file                                                                                     ---------       ----------------                                                                                _TaskSelf       C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _accept         C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _bind           C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _fdClose        C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _fdCloseSession C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _fdError        C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _fdOpenSession  C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _listen         C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _recv           C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _send           C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _sendto         C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>  _setsockopt     C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>

>> Compilation failure  _socket         C:\ti\uia_1_03_01_08\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674<TransportNdk.o674>

error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "audio137.out" not built gmake: *** [audio137.out] Error 1 gmake: Target `all' not remade because of errors.

**** Build Finished ****

-----

I update latest version of uia and ndk package, but i got same problem .

My library package is follow.  

 

Thanks in advance.

Doug

 

  • First of all, the way you have it set right now, the log events will go out as UDP packets. Is this what you want?

    If it is, I expect you do not have the NDK included in your .cfg file. For example:

    var Ndk       = xdc.loadPackage('ti.ndk.config');
    var Global    = xdc.useModule('ti.ndk.config.Global');
    ...

    Todd

  • Thank you very much for your kind answer.

    I add TCP, UDP , General, PPP...in cfg file, but I still have follow error message.

    Maybe I did not add some more...

    -------------------

     undefined        first referenced                                                         symbol              in file                                                             ---------        ----------------                                                        _NIMUDeviceTable C:\ti\ndk_2_22_03_20\packages\ti\ndk\stack\lib\stk6_ppp.a674<nimu.o674>

    error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "audio137.out" not built

    >> Compilation failure gmake: *** [audio137.out] Error 1 gmake: Target `all' not remade because of errors.

    **** Build Finished ****

     

    cfg file

    -----

    var Ndk       = xdc.loadPackage('ti.ndk.config');

    var Defaults = xdc.useModule('xdc.runtime.Defaults');

    var Diags = xdc.useModule('xdc.runtime.Diags');

    var Error = xdc.useModule('xdc.runtime.Error');

    var Log = xdc.useModule('xdc.runtime.Log');

    var LoggerBuf = xdc.useModule('xdc.runtime.LoggerBuf');

    var Main = xdc.useModule('xdc.runtime.Main');

    var Memory = xdc.useModule('xdc.runtime.Memory')

    var SysMin = xdc.useModule('xdc.runtime.SysMin');

    var System = xdc.useModule('xdc.runtime.System');

    var Text = xdc.useModule('xdc.runtime.Text');

    var BIOS = xdc.useModule('ti.sysbios.BIOS');

    var Swi = xdc.useModule('ti.sysbios.knl.Swi');

    var Task = xdc.useModule('ti.sysbios.knl.Task');

    var Semaphore = xdc.useModule('ti.sysbios.knl.Semaphore');

    var Timestamp = xdc.useModule('xdc.runtime.Timestamp');

    var Hwi = xdc.useModule('ti.sysbios.hal.Hwi');

    var Clock = xdc.useModule('ti.sysbios.knl.Clock');

    var Transformer = xdc.useModule('ti.sdo.io.converters.Transformer');

    var Load = xdc.useModule('ti.sysbios.utils.Load');

    var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

    var Cache = xdc.useModule('ti.sysbios.hal.Cache');

    var ti_sysbios_family_c64p_Cache = xdc.useModule('ti.sysbios.family.c64p.Cache');

    var LoggerStopMode = xdc.useModule('ti.uia.runtime.LoggerStopMode');

     var Global = xdc.useModule('ti.ndk.config.Global');

    var Tcp = xdc.useModule('ti.ndk.config.Tcp');

    var Udp = xdc.useModule('ti.ndk.config.Udp');

    var Ip = xdc.useModule('ti.ndk.config.Ip');

    var DhcpClient = xdc.useModule('ti.ndk.config.DhcpClient');

    var Ppp = xdc.useModule('ti.ndk.config.Ppp');

     

  • You are missing the EMAC driver. Note the NDK does not ship the drivers...it is just the software stack. The driver is part of the NSP...which TI does not have an official one for the OMAP-L137 yet. We are hoping to have one in sometime in Q3. It is similar to the OMAP-L138 one with some tweaks.

    Todd

  • I just change L138 platform for compile ok or not, and add EDMA3 driver, but I got same error  message.

    ------------

    'Building target: audio138.out' 'Invoking: C6000 Linker' "C:/ti/ccsv5/tools/compiler/c6000_7.4.2/bin/cl6x" -mv6740 --abi=coffabi -O2 --define=c6748 --display_error_number --diag_warning=225 --diag_wrap=off -z --stack_size=0x800 -m"audio138.map" --heap_size=0x800 -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="audio138_linkInfo.xml" --rom_model -o "audio138.out" -l"./configPkg/linker.cmd"  "./process.obj" "./mcasp_TTO.obj" "./main.obj" "./led_TTO.obj" "./led.obj" "./isr.obj" "./coeffs.obj" "./coefficient.obj" "./aic3106_TTO.obj" -l"D:\dhkim2\PROJ\L137\work\bsl\evmomapl137_v1\dsp\lib\evmomapl137bsl.lib" -l"C:\ti\uia_1_03_00_02\packages\ti\uia\sysbios\lib\release\ti.uia.sysbios.a674" -l"rts6740.lib" <Linking>

     undefined        first referenced                                                         symbol              in file                                                             ---------        ----------------                                                        _NIMUDeviceTable C:\ti\ndk_2_22_03_20\packages\ti\ndk\stack\lib\stk6_ppp.a674<nimu.o674>

    error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "audio138.out" not built

    >> Compilation failure gmake: *** [audio138.out] Error 1 gmake: Target `all' not remade because of errors.

    **** Build Finished ****

     

     

  • I have found EDMA3_LLD package for OMAPL137. http://software-dl.ti.com/dsps/dsps_registered_sw/sdo_sb/targetcontent/psp/bios_psp/index.html

    Now, I'm using Code composer V5 latest version, I don't know I can use these module.

    How can I check all those module dependancy?

     

    Doug

     

  • Which PSP did you download? Please note some are for DSP/BIOS (BIOS 5) and others are for SYS/BIOS (BIOS 6).

    Todd

  • first time, I've downloaded BIOS6 for  C6748, at this time I upgrade some module.

    That's why I post all module version picture file. 

    I also have C6748 EVM board, but It doesn't work also.

    http://www.ti.com/tool/biossw-c6748

    Could you reply exact working version number for RTA ?


  • I'm using Windows7/64bit OS.  Do you know Is there any problem with windows7/64bit ? 

    I cannot try other OS because of license. If you know windows7/64bis has problem with Code Composer, please let me know.

    Thank you

    Doug

  • Hi Doug,

    First off ...

    Doug Kim said:
    I just change L138 platform for compile ok or not, and add EDMA3 driver, but I got same error  message.

    The EDMA3 product does not  contain the EMAC driver and so linking it will not solve the error you are seeing.  You need the EMAC driver for that.

    As Todd already mentioned previously, there is not currently an NSP available publicly for the OMAPL137.  We will be releasing one soon, however.

    In the meantime, you can use the existing EMAC driver from the OMAPL138 NSP, along with a couple of tweaks:

    1. You will need to download the Spectrum Digital Board Support Library (BSL) from the Spectrum Digital website.  Once you have the library, you will need to link it into your application.
    2. The OMAPL137 EMAC requires a different initialization than the OMAPL138 in order for it to work properly.  This involves calling some routines provided by the Spectrum Digital BSL.

    To help you with this, I've attached a test version of the client example which uses my test versions of the BSL library (just my own rebuild of the BSL sources from the Spectrum Digital website) and a file that has the initialization set up (evml137.c). 

    Please note the content that I'm sharing is of debug quality.  It is not from any official product and has not fully tested - it's "use at your own risk" code.  But I thought sharing it would greatly help you out to get past your issues.

    Again, official support will be available soon.

    3513.ndk_l137_dsp.zip

    Steve

  • Hi Steve,  Thank you for your kind answer.

    I need to get internal signal to file. That's why I am trying to port RTA agent.

    Do you know, which one is best solution for inside audio signal dump.

    Audio signal : 48K sample per sec

    Bit rate :  48000 sample * 32 bit (integer) * 2 (stereo)  = 3,072,000 bit per sec = 384,000 byte per sec

    I am using JTAG emulator (Spectrum Digital XDS560V2 STM Traveler).

    1. JTAG Stop mode :  I cannot get over 2K sample , I need more

    2. RTDX : I don't know, how can I use this, if you have an example, could you please send it for me?

    3. ethernet streamming : If it is possible it also good for me.

    As I know XDS560V2 band width is good enough for these configuration.

     

    Doug

     

     

  • Hi Doug,

    Since you are using the C6000, I think you probably have a lot of memory, correct?  You can try increasing the size of the stop mode buffers.

    Doug Kim said:
    . RTDX : I don't know, how can I use this, if you have an example, could you please send it for me?

    RTDX is no longer supported, you should avoid going down this path.

    Steve

  • Hi Steve

    I just downgrade SYSBIOS 6.33 and use Legacy RTA agent, and I also set cashe  L2:64k  L1D:32k L1P:32k for bigbuffer.  I am using OMAP-L137 it has big SDRAM for external memory,but I cannot get more then 2K sample.

    If I use JTAG RUN mode , can I get more sample?  

    Thank you

    Doug

  • Doug,

    Were you able to increase the size of your stop mode buffers?

    Steve

  • Hi Steven, is the official release of the EMAC driver for C6747 / OMAP-L137 out yet?
    Is NDK 2.00 release contains EMAC driver?
    Thanks.

    Regards,
    Mitesh
  • Hi Mitesh,

    If you haven't already, can you please open a new thread for the issue you are having?

    Thanks