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.

Data model issue in our application with Z-Stack Core 2.6.0.3

Other Parts Discussed in Thread: MSP430F5438, Z-STACK, CC2520

Hi,

I thought to update Z-stack core to our MSP430F5438+CC2520 based application. So I extracted  Z-stack core version 2.6.0.3 from TI's latest package "Z-Stack Energy 1.1.0" and build our application with it. I faced a problem with data models. Z-Stack libraries are build with small-data model and  my application would need medium data model.  Linker does not like this .

I have big data arrays for bitmaps, fonts etc. which did not fit to small data model, so I had to change data model to medium in project options and use prefix __data20 in  data definitions such as:

const uint16 __data20 bitmapX [] = {

..... plenty of data here ......

};

Using of __data20 would require medium data model but we cannot use it due to Z-Stack libraries.

How this can be solved?  

Regards,

Ari

  • Hi Ari,

    Does the information in the guide at http://netstorage.iar.com/SuppDB/Public/UPDINFO/006220/EW430_CompilerReference.pdf
    section Data storage (starts at p. 45) help you.
    Additionally you may also find some information in the MSP430 e2e forum.

    Regards