Forum: µC & Digital Electronics unsing full 8kb ram of a XC164 µC

von Thomas G. (thomasgruebler)

Rate this post
0 useful
not useful

I'm currently working on a project where i need to cache some kb of 
I'm using and XC164 16F32F with 8kb ram, wich conists of 2kb PSRAM, 4kb 
DSRAM and 2kb DPRAM. A data sheet is avaiable here: 

Currently i'm only able to use a 512byte array in the main function and 
a second 2kb array initialized with the "near" attribute.
How can i access the rest of the ram?

I'm using the following software:
µVision3 V3.60
Tool Version Numbers:
Toolchain: PK166 Prof. Developers Kit Version: 6.11
Toolchain Path: C:KeilC166BIN
EC++ Compiler: EC166.Exe V1.09d
C Compiler: C166.Exe V6.11
Assembler: A166.Exe V5.30
Linker/Locator: L166.Exe V5.25
Librarian: LIB166.Exe V4.26
Hex Converter: OH166.Exe V4.7a
CPU DLL: S166.DLL V3.60
Dialog DLL: D167.DLL V2.49
Dialog DLL: T167.DLL V2.48



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.