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 10:01, local time: 2022/9/25 08:17,
|©2022 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 2022 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- 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!