Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | Global Symbol Table

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

Global Symbol Table - fierza83 - Nov 3 9:35:21 2009

Hello!
I have a problem with global Symbol table:

ERROR: Global Symbol table overflow, increase symbol table size.
Tech support told me to 1) reduce the number of variables in my code and 2) look in the root directory of Dynamic C for a file calles DCW.CFG. In the DCW.CFG file there should be a line that reads sys=30000. I was told I could increase this to be sym=32767 but that this is the upper limit due to some other limits within Dynamic C.

I have done everything he says,but still giving me the same error.
Could you give me some solution?
Thank you very much

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: Global Symbol Table - seecwriter - Nov 3 12:32:21 2009

My suggestion is that you create 386 4-char arrays instead of one large 2-dimensional array. And then create an array of pointers and fill it with the addresses of each of the 386 arrays.

char tableParam1[4];
char tableParam2[4];
char tableParam3[4];
...
char tableParam386[4];

char *tableParam[386];

tableParam[0] = tableParam1;
tableParam[2] = tableParam2;
...

strcpy(tableParam[0], "ITS");
Steve

--- In r...@yahoogroups.com, "fierza83" wrote:
>
> Hello!
> I have a problem with global Symbol table:
>
> ERROR: Global Symbol table overflow, increase symbol table size.
> Tech support told me to 1) reduce the number of variables in my code and 2) look in the root directory of Dynamic C for a file calles DCW.CFG. In the DCW.CFG file there should be a line that reads sys=30000. I was told I could increase this to be sym=32767 but that this is the upper limit due to some other limits within Dynamic C.
>
> I have done everything he says,but still giving me the same error.
> Could you give me some solution?
> Thank you very much
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Global Symbol Table - fierza83 - Nov 6 3:49:07 2009

Thanks for your help.

I tried your solution and is not valid.
I've solved the problem. What I have done is to keep all strings (codes) in extended memory -> xstrings ( "ITS", "TYC ",....," ALY")
Then I created an array that stores the memory address of each of the codes.
And so being able to move by each of the strings.
Thank you very much for everything.

--- In r...@yahoogroups.com, "seecwriter" wrote:
>
> My suggestion is that you create 386 4-char arrays instead of one large 2-dimensional array. And then create an array of pointers and fill it with the addresses of each of the 386 arrays.
>
> char tableParam1[4];
> char tableParam2[4];
> char tableParam3[4];
> ...
> char tableParam386[4];
>
> char *tableParam[386];
>
> tableParam[0] = tableParam1;
> tableParam[2] = tableParam2;
> ...
>
> strcpy(tableParam[0], "ITS");
> Steve
>
> --- In r...@yahoogroups.com, "fierza83" wrote:
> >
> > Hello!
> > I have a problem with global Symbol table:
> >
> > ERROR: Global Symbol table overflow, increase symbol table size.
> >
> >
> > Tech support told me to 1) reduce the number of variables in my code and 2) look in the root directory of Dynamic C for a file calles DCW.CFG. In the DCW.CFG file there should be a line that reads sys=30000. I was told I could increase this to be sym=32767 but that this is the upper limit due to some other limits within Dynamic C.
> >
> > I have done everything he says,but still giving me the same error.
> > Could you give me some solution?
> > Thank you very much
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )