Keil™, An ARM® Company

Discussion Forum

how to use external program/data memory address up to 64k/1M?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Jun Wei
Posted
13-Aug-2004 04:21 GMT
Toolset
None
New! how to use external program/data memory address up to 64k/1M?
Hi,

I got a chip from WINBOND, w78c438c. It claims that it support 64kb program/1MB data memory space for applications which need additional external memory to store large amount of data .

does that mean that my constant data (less than 1MB) can be access by functions in each bank? ( In my case, the constant data have about 300K, and 8 banks are used). I don't see that the chip will support FAR constant type.
Read-Only
Author
haha @
Posted
13-Aug-2004 04:41 GMT
Toolset
None
New! RE: how to use external program/data memory address up to 64k/1M?
为什么那么多的chinese like here :D?
好象您说的问题也是颇8简单~,一般是用编页的方式来选地址,我比较喜欢用philips p89c668,or p89c669.
Read-Only
Author
haha @
Posted
13-Aug-2004 04:49 GMT
Toolset
None
New! RE: how to use external program/data memory address up to 64k/1M?
i'm confuse now~,because i don't know what u means~ :C
Read-Only
Author
erik malund
Posted
13-Aug-2004 13:25 GMT
Toolset
None
New! RE: how to use external program/data memory address up to 64k/1M?
does that mean that my constant data (less than 1MB) can be access by functions in each bank?

The versions of the '51 that have "extended linear addressing" (and I assume that is the case for your chip) do not employ banking but a 24 bit addressing scheme.

Erik
Read-Only
Author
Keil Support, Intl.
Posted
31-Aug-2004 14:38 GMT
Toolset
None
New! RE: how to use external program/data memory address up to 64k/1M?
Take a look to the folder:
C:\Keil\c51\Examples\FarMemory

It contains several examples that help you to understand the configuration. For example:

- 1MB Constants on Classic 8051

Basically you need to adopt just the L51_BANK.A51 file and enable ?B_VAR_BANKING. This allows you already to use the 'far' memory type with classic 8051 devices.
Read-Only
Author
Keil Support, Intl.
Posted
31-Aug-2004 14:38 GMT
Toolset
None
New! RE: how to use external program/data memory address up to 64k/1M?
Take a look to the folder:
C:\Keil\c51\Examples\FarMemory

It contains several examples that help you to understand the configuration. For example:

- 1MB Constants on Classic 8051

Basically you need to adopt just the L51_BANK.A51 file and enable ?B_VAR_BANKING. This allows you already to use the 'far' memory type with classic 8051 devices.

Next Thread | Thread List | Previous Thread Start a Thread | Settings