Youngar
游客
游客
阅读:2793回复:12

Parallel Port Control

楼主#
更多 发布于:2001-06-09 10:32
Dear Sir:
  I am now using the Parallel Port to read & edit the
EEPROM(24C08 IC/Via I2C bus)data from our device.And I
use the 25Pin-9Pin cable to do this.(To connect the
cable to our device directly).How can I program it with
TC/VC++6.0 language?Would you please give me some
advice?(Steps?)Need I have to write the Device Driver?
TKS! Waiting for your reply.
jeosph
驱动中牛
驱动中牛
  • 注册日期2001-04-19
  • 最后登录2006-08-08
  • 粉丝0
  • 关注0
  • 积分96分
  • 威望11点
  • 贡献值0点
  • 好评度9点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-06-09 16:16
不明白你的意思,EEPROM一共才四根信号线(vcc,gnd不算),你用的着这么复杂吗?我用并口的线就完成了读写!那里还用的上串口???
脱裤子???――多此一举!!
Youngar
游客
游客
板凳#
发布于:2001-06-11 08:56
Dear Jeosph:
 Thank U for your reply.I am now using Parallel Port(LPT Port) the same as you.Not the Serial Port.Would you please give me some advice?
Thanks in advance!
Youngar
游客
游客
地板#
发布于:2001-06-13 13:16
Dear Sir:
 You'd better write the Device Driver with DriverStudio,Not DDK.Any information you can provide will be deeply appreciated.
dos
dos
驱动小牛
驱动小牛
  • 注册日期2001-06-13
  • 最后登录2010-02-24
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望9点
  • 贡献值0点
  • 好评度9点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2001-06-13 14:00
如果仅仅是从并口读数据,而且速度要求不高,可以用CreateFile打开端口进行操作,但要保证信号线的使用符合标准.
Youngar
游客
游客
5楼#
发布于:2001-06-13 14:12
Dear Dos:
Thank you for your reply.Are you familiar with the I2C-Bus?It needs the SCL(Clock),I have to simulate this protocol with software.I think it is necessary to write a Device Driver.Did you program the Parallel Port before?  
peng-416
驱动小牛
驱动小牛
  • 注册日期2001-03-23
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2001-06-14 08:38
你是在做USB开发吧!我也遇到这个问题,解决了告诉我一声,我也着急呢.我目前正在做这个编程器,用并口还没完成.
Youngar
游客
游客
7楼#
发布于:2001-06-14 08:52
Dear Peng-416:
 I am not using USB.I am programing the 24C08(EEPROM IC) via Parallel Port.It is more like USB.Do you have some examples of Parallel Port control?
 Thanks in advance!
dos
dos
驱动小牛
驱动小牛
  • 注册日期2001-06-13
  • 最后登录2010-02-24
  • 粉丝0
  • 关注0
  • 积分90分
  • 威望9点
  • 贡献值0点
  • 好评度9点
  • 原创分0分
  • 专家分0分
8楼#
发布于:2001-06-14 09:42
http://www.lvr.com/parport.htm
This URL may be useful for you.
Youngar
游客
游客
9楼#
发布于:2001-06-14 11:15
Dear Dos:
Thank U for your reply.I visti the URL.But there is no examples of programing.I'll try my best to find the relevant data of programming the Parallel Port.Any information you can provide will be deeply appreciated!
BTW,what are you doing now?
peng-416
驱动小牛
驱动小牛
  • 注册日期2001-03-23
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
10楼#
发布于:2001-06-14 12:20
进行中..........
Youngar
游客
游客
11楼#
发布于:2001-06-14 13:47
Dear Peng-416:
 What are U doing now? Would you please give a brief introduction to me?
peng-416
驱动小牛
驱动小牛
  • 注册日期2001-03-23
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分1分
  • 威望2点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
12楼#
发布于:2001-06-15 08:33
CALL 025-4701098
彭.
游客

返回顶部