Create big buffer on a pic18f with microchip c18 compiler

Posted by acemtp on Stack Overflow See other posts from Stack Overflow or by acemtp
Published on 2010-06-06T10:32:51Z Indexed on 2010/06/06 10:42 UTC
Read the original article Hit count: 401

Filed under:
|
|

Using Microchip C18 compiler with a pic18f, I want to create a "big" buffer of 3000 bytes in the program data space.

If i put this in the main() (on stack):

char tab[127];

I have this error:

Error [1300] stack frame too large

If I put it in global, I have this error:

Error - section '.udata_main.o' can not fit the section. Section '.udata_main.o' length=0x0000007f

How to create a big buffer? Do you have tutorial on how to manage big buffer on pic18f with c18?

© Stack Overflow or respective owner

Related posts about pic

Related posts about microchip