导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→请教:C51程序超过64K[guest]

 *第24849篇: 请教:C51程序超过64K

  
楼 主:guest 2004年8月18日16:12
 请教:C51程序超过64K
请问如果C51程序超出64K,能通过再加一块程序存储器来实现吗?
  
2楼:天好高 2004年8月18日16:21
 no problem
but additional I/O should be used as select pin
  
3楼:guest 2004年8月18日16:59
 谢谢回复。本人也有考虑过,但是单片机怎样
谢谢回复。本人也有考虑过,但是单片机怎样来片选呢?
  
4楼:天好高 2004年8月19日15:15
 This is the keypoint
we have to use a P1.X as select pin because the 51 architecture only admits 64K addressable volume and provide 16 pins Address Bus( P0 and P2).As a result,the address method is complicated.For example,using P1.0 to address another 64K,when you wanna address the extended memory,you should clear P1.0 firstly,which maps the extended 64K as your based 64K .
  
5楼:guest 2004年8月20日10:29
 不知道单片机是怎么实现分别访问的,请问有
不知道单片机是怎么实现分别访问的,请问有这方面的资料吗?
  
6楼:天好高 2004年8月20日11:08
 no documents
But i know the access process:(above all,we name base 64K and extended 64K for convenience )
1 when you address base 64K ,do it as usually.
2 when you aaddress extended 64K ,you should firstly assert the cs pin(e.g.P1.0),then you can use extended 64K as if  base 64K.Acctually,it is  extended 64K ,which is already mapped to such.
  
7楼:guest 2004年8月20日11:36
 这个我有点明白,当超过64K我可以判断,
这个我有点明白,当超过64K我可以判断,但是MCU 怎么判断呢?这是在程序里啊。能用QQ交流吗?我的是52652254
  
8楼:天好高 2004年8月20日12:04
 sorry,my QQ doesn't work
let me think it carefully.please tell me your MCU model ,utility and your prodction.
  
9楼:guest 2004年8月20日14:51
 AT89C52外扩一片27C512,程序
AT89C52外扩一片27C512,程序已经超出64K,有少量显示字符,一个矢量字(图)库(超过10K)。
  
10楼:guest 2004年8月27日11:45
 矢量字库怎么用?怎样算出字符对应的点阵,请回zxf1z@163.com,多谢!!!
  
11楼:Love单片机 2004年8月19日16:07
 I agree with you !
But if you answer the qustion in English next time,I'll beat your arse.
  
12楼:guest 2004年8月23日09:21
 救救我啊!
救救我啊!
  
13楼:bingzhi 2004年8月23日09:49
 周立功网站有篇文章,介绍超过64k用KEILC51的解决办法
yanth2004@163.com
  
14楼:guest 2004年8月23日11:00
 谢谢!
是在哪一版呢?太多了,我找不到

谢谢!
是在哪一版呢?太多了,我找不到。是社区里吗?
要不你给我个地址或邮件。
wanghang_0@163.com
  
15楼:bingzhi 2004年8月23日12:55
 周立功网站中64K以上代码解决方案(这里找)

Keil C51使用技巧及实战 [1054KPDF2001-5-1:219303次]

中156页说的很清楚哦,


:)
                                           欢迎交流合作

  
16楼:guest 2004年8月23日14:03
 非常感谢!
非常感谢!
  
17楼:lenglianxi 2004年8月26日16:33
 多看帮助
老兄:
        KEIL的自带文档有一章专门介绍如何 进行 BANK SWITCH的。
       总之,有个COMMON区域,用于BANK切换,在各BANK之间,存放不同的程序。
可以实现大于64K的程序的需要。
       这篇文章应当是在A51.PDF中,你自己看。
  
18楼:guest 2004年8月27日11:46
 采用c51的bank技术

>>>>>>对该主题发表你的看法

本主题贴数18,分页: [第1页]


[上一篇主题]:有谁用过cs5460A啊,知道的进来看看把,谢了

[下一篇主题]:PCF8563中断输出的电平问题!