• writing to pdata
    hi all iam working on cygnal mcus.i would like to make my code as compact as possible . iam performing memory operations , presently iam writing to external memory. but i would like to use pdata ,...
  • PDATA segment too big when commenting code
    I have a project that compiles to about 30KB, so it takes a while to load to my 8051. I'm trying to fix a small part, so I commented-out most of my main() routine. The linker now warns me and says it...
  • pdata paging
    Hello, I'm using a Cygnal C8051F020 that has a nice fat 8k SRAM and a nifty register EMI0CN that allows "paging" of the pdata segment into the 8k. 1) How do I get the compiler to accept the fact...
  • PDATA question
    I have not used PDATA before, so this may be a silly question. Can I set up PDATA dynamically (within the code) to any 256-byte chunk of xdata? So I can change where the PDATA is "looking" in xdata on...
  • array with pdata
    hello, i'm using AT80C31X2 uC. Keil V3.33 i've declared an array as follows: unsigned char pdata array_1[8][16]; i got an error code "error C241: 'main': auto segment too large" I've tried...