Home/Support/Support Forum/Large Structures
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Large Structures

0 votes
Using a RCM4120 Module

how to use a large structure in my code ?

unsigned int MyData[32240] = {0x03,0x04.......}

as you can see this is a large chunk of data.

Compiling give the error :

ERROR Rabbitbios.c : Must define at least one #rcodorg origin directive.

ERROR Rabbitbios.c : Out of root code space. Please refer to the Dynamic C User's Manual for more information.


Anyone have a solution for this ?
asked Sep 21, 2014 in Rabbit Software by chuckllx New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
Hello, In the Digi website at the below link, there is a technical note TN238, It will provide you the details regarding "how to use memory efficiently on the Rabbit modules", please go through the document and make changes in your application.
http://ftp1.digi.com/support/documentation/0220091_b.pdf
answered Sep 22, 2014 by cpigilam Veteran of the Digi Community (655 points)
0 votes
There is also an article on the .org file that talks about the importance of interpreting ORG files for memory utilization.

http://www.digi.com/ask_larry/2009/1208
answered Sep 22, 2014 by MargaretK Veteran of the Digi Community (545 points)
...