EmbDev.net

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


von Thomas G. (thomasgruebler)


Rate this post
useful
not useful
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

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.