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.

problem when compile sample projects in z-stack for cc2530 2.5.1a

Other Parts Discussed in Thread: CC2530, Z-STACK, CC2538

hi guys!

i 've trie compiled sample projects in C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\HomeAutomation

with IAR embedded workbench for 8051 v 8.11 8.20 8.30 and got the same problems

it was error 

[Og007]: Assembler list file generation not allowed in this version of the compiler
Error while running C/C++ Compiler

i've read some related  posts in this 4rum and tried to fix but nothing changes.

please help. i'm new to CC2530 programming

sorry for bad english

  • Hi Anh,

    First, if you are starting with Z-Stack I would recommend using the latest Z-Stack release. If you are building ZigBee Home Automation devices I would recommend to start with Z-Stack Home-1.2.0 on the web page www.ti.com/z-stack. 

    Still, if you using Z-Stack-2.5.1a I would recommend installing the Z-Stack again (you can get Z-Stack-2.5.1a from the Z-Stack home page http://www.ti.com/tool/z-stack&DCMP=HPA_RFIC_General&HQS=Other+OT+z-stack)

    Then I would recommend opening a sample app (Sample light for example at "C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\HomeAutomation\SampleLight\CC2530DB") using the IAR version 8.10.4 or newer version like IAR 8051v8.20.

    Ensure that IAR is not code limited versions of IAR. 

    Also, if you have the option "Output List file" checked uncheck that option. Let me know if that resolves the issue.

    Let me know if this helps.

    Regards

  • thanks!! it works

    now i can compile z-stack 2.5.1a without errors

    but when i compile sample projects of z-stack home 1.2.0 (in folder C:\Texas Instruments\Z-Stack Home 1.2.0\Projects\zstack\HomeAutomation\SampleDoorLock\CC2530DB) 

    there was error 

    Error[e46]: Undefined external "?V15" referred in AF ( C:\Texas Instruments\Z-Stack Home 1.2.0\Projects\zstack\HomeAutomation\SampleDoorLock\CC2530DB\
    CoordinatorEB\Obj\AF.r51 )
    Error while running Linker

    i use ew8051 v8.30.3 30-days evaluation 

  • Hi anh,

    Z-Stack 2.5.1a uses the IAR version 8.10.4 to build the library. I would suggest you download it from http://www.iar.com/Products/Wireless-solutions/Tools-for-TI-wireless/ and try again.

  • Hi Anh,

    For Z-Stack-Home-1.2.0, can you try reinstalling and using the IAR versions:

    - For CC2538 EWARM 6.50.5 
    - For CC2530 EW8051 8.20.2 

    Regards

  • Hi anh,

    You can refer to  http://e2e.ti.com/support/low_power_rf/f/158/t/304927.aspx 

  • thanks!

    i uses 8.30.3, and it works

  • thanks. i use 8.20.2 and error does not exit anymore :)