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.

Error message: Xdatastack is filled to 100%. What does this mean?

Other Parts Discussed in Thread: CC2431

Hi,

I am using ZStack 1.4.3-1.2.1 and running my own application on top. Now I am seeing an issue when I build using "CoordinatorDB" workspace.

After I download the code into the CC2431 board (connected through a SmartRF04EB), I see this error message:

    Wed Nov 19 13:43:54 2008: The stack 'XdataStack' is filled to 100% (768 bytes used out of 768). The warning threshold is set to 90.%

I don't see the same message when I compile for "CoordinatorEB".

My Code Bank configuration is as follows:

Register Address: 0xC7

Bank Start: 0x2900

Bank end: 0xFFFF

Changing the bank start value to either 0x2000, 0x3000, 0x2800 does not help at all and causes a bunch of these messages to appear:

Wed Nov 19 13:53:02 2008: Warning: Verification error on page #6, bank #0, address range 0x03000 - 0x037FF,  address 0x03000, 0x01 (on target) != 0xC0

Am I missing anything?

  • Hi,

    A few questions:

    1. Have you tried to increase the stack size and reducing the OSAL heap size?

    2. Is this only happening on the xxDB projects?

    3. What verison of IAR EW are you using, EW8051 7.30B?

    LPRF Rocks the World

  • Hi Sir,

    I am facing this similar problem and i am using IAR7.3B currently. I had try to reduce the OSAL heap size and also to increase the stack size but both doesn't work as well. I am testing using xxEB and xxDB, both having similar problem.

    Pls help to advise what is going wrong in my setting.

    Regards,
    TAN

  • Can you please provide a little more informatioN? What ZStack release are you working with? Are you working with one of the ZStack sample applications? If so, what modifications have you made? Are you getting the error message during download, or during run-time after you start the application?

  • Hi Sir,

    Thanks for your quick response.

    I am using the latest Zstack 1.4.3 Sample Application and Simple Application example downloaded from TI. The error is happen during run-time and it stop inside the NV init function inside Zmain.c.

    I had not modified anythings initially but after failed to run the Sample Application i started to try on changing a lot of the setting. Like changing .xcl file to Bank code, changing the Start and End Address location in Option and also the Stack/Heap Size in Option.

    Regards,

    TAN

  • I have a couple more questions for you. Which of the configurations are you working with (Controller, Switch, Collector, Sensor)? Which board are you working with (DB or EB)? Please make sure you downloaded to the correct board -- EB code does not work very well on a DB board!!

  • I am working with Controller configurations on EB board.  And i had tried on using DB board as well with DB configuration source code. but the problem still exist and it hang somewhere inside the NV_Init() loop.

     

    Regards.