unsing full 8kb ram of a XC164 µC

OP #1327686
Hello!

I'm currently working on a project where i need to cache some kb of 
data.
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: 
http://de.farnell.com/jsp/search/productdetail.jsp?sku=1172331&_requestid=252847

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
Target DLL: BINUL2OCDS.DLL V1.17
Dialog DLL: T167.DLL V2.48

Thanks!
Thomas

Reply

A question of your own? This thread is over 17 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.