SPI to Atmel Dataflash by Michail Evstafiev
Hello! I have a problema with the ht-pic compiler. I want to create some arrays in RAM for ex. unsigned char array1; unsigned char array2; the problem is that the compiler only can acced to the bank0 of the pic RAM memory, and i can´t use all RAM of the pic. What i have to do? Thanks!
Trevor Lien Says:
I have also been struggling with bank switching in HiTech Pic C. The only example I found (in the HiTech FAQ) claims you can qualify the location of any array declaration thusly:+bank1 char arrayName;
But I've had no success. Compiler gives a warning "qualifier not needed" and still uses Bank 0. I'm sure this can be done. Maybe it's too obvious for anyone to talk about - but ihouses up there is not the only one missing the secret.
|file: /Techref/microchip/language/c/memory.htm, 2KB, , updated: 2011/3/11 09:01, local time: 2023/1/30 07:30,
|©2023 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/microchip/language/c/memory.htm"> PIC Micro Controller C Memory / Tables / Data Routine Library</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!