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.

segment error

Other Parts Discussed in Thread: CC2533, REMOTI, CC2530

hi all ,

im using CC2533 , when i trying to call RCN_NlmeDiscoveryReq funciton it show error undefined external ,

and i include the lib follow by the example code , it show another new error

Fatal Error[e72]: Segment PM0_XDATA must be defined in a segment definition option (-Z, -b or -P)

and also it show

Fatal Error[e72]: Segment ZIGNV_ADDRESS_SPACE must be defined in a segment definition option (-Z, -b or -P)

do anyone have more details about these error and how it can be solve ?


  • Hello,

     

    Which versionof remoTI are you using?

    Which project/workspace?

    Check that the following lines are inside your linker file:

    // Texas Instruments device specific
    // =================================
    //
    //
    // Setup of PM0 XDATA
    // The set up of PM0 XDATA is required for reused legacy code
    // ------------------
    //
    -D_PM0_XDATA_START=_XDATA_START
    -D_PM0_XDATA_END=_XDATA_END
    //
    -Z(XDATA)PM0_XDATA=_PM0_XDATA_START-_PM0_XDATA_END
    //

  • Hi Calimero !

    Im still using the RemoTI-CC253xDK-1.2.1 ,

    I was register for the lastest version from the link you send me , but i don't receive any reply from the TI yet .

    where can i check for the details of project/workspace ? my project name is CC2533-Debug ,Debug is the type of the project/workspace ?

    inside the linker file dont have the device specific you posted,

    the linker file i use is $TOOLKIT_DIR$\config\devices\Texas Instruments\lnk51ew_CC2533F64.xcl

    do i need to add in the device spec to this linker file ?

    thanks alot .....

    Regards ,

    alex

  • Hi,

    Are you using a already existing IAR worksapce from RTI 1.2.1 installer?

    you should use pre define TI linker file.

    you will find then here:

    RemoTI-CC253xDK-1.3-S\Projects\RemoTI\common\cc2530

  • Hi ,

    I'm not using existing IAR workspace .

    ok .... i try to point to the pre define TI linker file ....

    =================================================

    calimero ,

    i guess the error solve ... i was point to the linker file IAR prepare ,

    and it show this error , after change to the workspace linker file , it no more that segment error

    thanks alot !!