在IAR 8.1中,基于CC2530F256芯片對Z-STACK進行builder,如果對IAR環境設置不當會出現:Fatal Error[e72]: Segment ZIGNV_ADDRESS_SPACE must be defined in a segment definition option (-Z, -b or -P)
解決方法如下: 1、在General options設置: 選Target, 在Device information下的Device選 C:\Program Files\IAR Systems\Embedded Workbench 6.0 for 8051 Evaluation\8051\config\devices\Texas Instruments 下的:CC2530F256.i51 2、Linker設置 1)選config頁面,在link configuration file下選擇上override default選項,點擊選擇上f8w2530.xcl文件(缺省),即: C:\cc2530_example\link_long_slice_cc2530\20131205\cord\ZStack-CC2530- 2.3.0-1.4.0\Projects\zstack\Tools\CC2530DB\f8w2530.xcl
2)在output頁面 在output file選擇上選項override default,并填寫修改為:coord.hex文件 3、Debug設置 Setup頁面,Driver下選擇Texas Instruments
|