This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Size of data section overflow

I'm using ADUC843 and I have problem with memory overflow. I'm trying to use only 150 bytes. I tried too declare some data with idata and it helped but now I could declare no more than 250 bytes. I have read in ADUC datasheet , that my microcontroler has 2kBytes data memory. How can I access to it?

Parents
  • The 8051 architecture only supports 256 bytes of data/idata space. It would take some substantial rework of the processor and instruction set to expand that beyond 8 bits worth of address.

    Most data sheets are confusing because they'll say something like "2KB of internal memory", where "internal" means "integrated into the same package". But from the point of view of the 8051 processor core, this memory is still "external" (xdata) memory.

Reply
  • The 8051 architecture only supports 256 bytes of data/idata space. It would take some substantial rework of the processor and instruction set to expand that beyond 8 bits worth of address.

    Most data sheets are confusing because they'll say something like "2KB of internal memory", where "internal" means "integrated into the same package". But from the point of view of the 8051 processor core, this memory is still "external" (xdata) memory.

Children