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: 2019/1/20 10:18,
|©2019 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://www.piclist.com/techref/microchip/language/c/memory.htm"> PIC Micro Controller C Memory / Tables / Data Routine Library</A>
|Did you find what you needed?|
PICList 2019 contributors:
o List host: MIT, Site host massmind.org, Top posters @20190120
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!