piclist 2002\10\02\162011a >
Thread: Array in Pic 16F876XX with CCS C
www.piclist.com/techref/microchip/languages.htm?key=c
face picon face BY : Dipperstein, Michael email (remove spam text)



> From: Van der Walt AN <EraseME12885711spamsun.ac.za> [12885711spamBeGonespamRemoveMESUN.AC.ZA]
> Sent: Wednesday, October 02, 2002 12:46 PM
>
> If I define an Array larger than 50 i get the following message
>
> in CCS C.
>
> Error[74]   C:\TODAY\BARK3.C 105 : Not enough RAM for all variables
>
> If I create two different Arrays of 50 it works but a 2D
> Array of 50 same

I've never used CCS C, and you've never specified the type of data in the array,
but I'm willing to bet that there is no one RAM bank with enough room to hold
your variable.  Not counting the bytes mapped across all banks, each bank only
address 80 bytes of RAM.

-Mike

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservRemoveMEspammitvma.mit.edu with SET picList DIGEST in the body



seeking: microchip devices pic
<DA08868BBE71BC49A119CABFD353329279C70D@cammx2.cpd.harris.com>

See also: www.piclist.com/techref/microchip/languages.htm?key=c
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Array in Pic 16F876XX with CCS C

month overview.

new search...