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.

érror in compilation of demo-sensor using cc2530zdk

Other Parts Discussed in Thread: TIMAC, Z-STACK

hi to all

i am facing problem regarding building demo  project which is downloaded from ti web site

I have done following thing to build my project which is "demo sensor " project

  • i have unziped  the file that name as "swrc147a"  at location "C:\Texas Instruments\ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Samples"
  • then  i have opened IAR WORKBENCH .
  • Project>>add existing project .
  • browse to lacation of project  from above path
  • then add the project by clicking ok button
  • then from Project>>build all
  • then message pop up to save project
  • then i have save with different name
  • then build the project

after building project we have following linking ERRor as follow

Error[e46]: Undefined external "macPib" referred in mac_beacon ( C:\Texas Instruments\ZStack-CC2530-2.3.1-1.4.0\
Projects\zstack\Libraries\TIMAC\bin\TIMAC-CC2530.lib )

Error[e46]: Undefined external "MAC_MlmeSetReq::?relay" referred in mac_beacon ( C:\Texas Instruments\
ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Libraries\TIMAC\bin\TIMAC-CC2530.lib )

Error[e46]: Undefined external "macPibReset::?relay" referred in mac_beacon ( C:\Texas Instruments\
ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Libraries\TIMAC\bin\TIMAC-CC2530.lib )

Error[e46]: Undefined external "MAC_MlmeGetReq::?relay" referred in zmac ( C:\Texas Instruments\
ZStack-CC2530-2.3.1-1.4.0\Projects\zstack\Samples\SensorDemo\CC2530DB\SensorEB\Obj\zmac.r51 )

Error while running Linker  

I hope ti's esteem user will help in this regards

Thanks

Anubhav

  • Hi,

    The current version of the Sensor Demo projects only support Z-stack 2.3.0.  An updated of the SensorDemo zip file with support for Z-stack 2.3.1 will be available on the web within a few days.

    If you want to modify the project yourself this can be done with the following steps that should make it possible to build with Z-stack 2.3.1:

    - Open the project in IAR 7.51.

    - Add the file mac_pib.c to the file group MAC -> High Level

    Then the projects can build succesfully with Z-stack 2.3.1.

    Regards,

    Bjørn

     

  •  

    hi,

    Bjørn, thanks for your very quick responce. sorry as i could not give thanks immediately.

    I have implemented your suggestion. With your suggestion, project is  compiled, and programmed successfully.

    once again  thanks  you for guiding me 

    Anubhav

  • hi,

    i have unzipped he sensor demo software in zstack samples folder C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SensorDemo.

    i have opened the iar ide workspace of sensor demo and rebuild it.

    the compiling went successfully but im getting linker errors as follows:

    Error[e46]: Undefined external "?V1" referred in AF ( C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SensorDemo\CC2530DB\CollectorEB\
    Obj\AF.r51 )
    Error[e46]: Undefined external "?V2" referred in AF ( C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SensorDemo\CC2530DB\CollectorEB\
    Obj\AF.r51 )

    ... until ?v15. 

    may i know how to correct this error..

  • Hi,

    please check out this forum post. http://e2e.ti.com/support/wireless_connectivity/f/158/t/304927.aspx

    Please also note we always encourage and recommend community to use our latest Z-stack code, available at ti.com/tool/z-stack. Z-stack Home 1.2.0 is the latest one available.

    Thanks,

    TheDarkSide