SPI to Atmel Dataflash by Michail Evstafiev
Code:
Questions:
Hello! I have a problema with the ht-pic compiler. I want to create some arrays in RAM for ex. unsigned char array1[40]; unsigned char array2[40]; 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!
Comments:
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[40];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, 1KB, , updated: 2008/3/29 16:32, local time: 2008/7/4 19:57,
38.103.63.16:LOG IN
|
| ©2008 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? Please DO link to this page! Digg it! <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? |
|
o List host: MIT, Site host massmind.org, Top posters @20080704 Apptech, Jinx, Xiaofan Chen, David VanHorn, Alan B. Pearce, Bob Axtell, William \Chops\ Westfield, Cedric Chang, Gerhard Fiedler, bean, * 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: Shultz Electronics, Larry Williams, David VanHorn, Bryan Whitehouse, Timothy Weber, David Challis. Peter Todd. on-going support is MOST appreciated! * Contributors: Neil Narwani, David Cary, Elemer AM Nyiry, Philip J Taylor, Gus Calabrese of Omegadogs.com, Gautama Venegas, Patrick B. Murphy, William Chops Westfield, Peter Todd, Leslie Ellis |
|
.