DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4296|回复: 1
打印 上一主题 下一主题

Parallel Port Eprom Programmer

[复制链接]
跳转到指定楼层
楼主
发表于 2011-4-15 07:58:36 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
  Parallel Port Eprom Programmer
并口编程器,在linux下开发的,开源,下面是英文原文

PPEP has several components:
hardware The hardware board that you plug on the PC parallel port.
  This is a double sided board with a few TTL chips, a TL 497
  and a 28-pins programming slot.  The hardware supports only
  one programming voltage (either 12.5 or 12.75).  It can
  program a 2764/27C64, 27128/27C128 or 27256/27C256.
drivers  A GNU/Linux driver that is loaded in the kernel and which
  controls the hardware through the parallel port.  More
  drivers may be added in the future.  The Linux driver
  is written in C.
tools  A tool that allows programming/reading the eproms supported
  by the hardware.  The tools are written in ADA.  They must
  be compiled with GNAT.

To build the drivers and the tools, you must do the following:
  1/ Run the configure script:
./configure
     This will configure 'make.defs' and setup the path of you Linux includes
     Verify the flags that are used for building the driver and
     make sure they are compatible or the same as the ones used
     when building your kernel.
     Note: The path of Linux includes is hard-coded to /usr/src/linux/include
  2/ Build everything with make:
make

To install the driver do:
  1/ Log as root
  2/ Copy the PPEP module in /lib/modules/<kernel>chars
cp drivers/linux/ppep /lib/modules/2.2.19/chars/ppep
  3/ Update the module dependencies using depmod
/sbin/depmod
  4/ Create the ppep devices using mknod
     This step is necessary only for Linux 2.2.  It is not necessary for
     Linux 2.4
mknod /dev/ppep0 c 120 0
  5/ You can also load the module
/sbin/insmod ppep
To read a 27128 eprom:
   epprg -r file.bin -t 27128
   the file 'file.bin' will contain the binary dump of the 27128 eprom.
To write a 2764 eprom:
   epprg -w file.bin -t 2764

I've tested PPEP hardware, driver and tools on a Linux 2.2.17, 2.2.19
and 2.4.8 kernel with the following eproms:
2764A-2  Intel Vpp 12.5V
27128-25  Vpp 12.5V
27256-1   Vpp 12.5V
27256-2   Vpp 12.5V
27256-25  Vpp 12.5V


全部工程文件
ppep-0.2.tar[1].gz (329.8 KB, 下载次数: 9)
│  
│  ChangeLog
│  configure
│  configure.in
│  COPYING
│  install-sh
│  make.defs.in
│  Makefile
│  README
│  
├─drivers
│  │  Makefile
│  │  
│  ├─linux-2.2
│  │      Makefile
│  │      ppep.c
│  │      
│  └─linux-2.4
│          Makefile
│          ppep
│          ppep.c
│         
├─hardware
│      ppep-bot.pdf
│      ppep-bot.ps
│      ppep-parts.txt
│      ppep-top.pdf
│      ppep-top.ps
│      ppep.brd
│      ppep.sch
│      README
│      schema.pdf
│      
├─include
│  └─linux
│          ppep.h
│         
└─tools
        eppp-buffer.adb
        eppp-buffer.ads
        eppp-driver.adb
        eppp-driver.ads
        eppp-file.adb
        eppp-file.ads
        eppp-tool-version.ads
        eppp-tool-version.tmpl
        eppp-tool.adb
        eppp-tool.ads
        eppp.ads
        epprg.adb
        Makefile
        

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
沙发
发表于 2021-3-20 13:48:35 | 只看该作者
谢谢啦,理解了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|文字版|手机版|DIY编程器网 ( 桂ICP备14005565号-1 )

GMT+8, 2024-11-27 11:24 , 耗时 0.089500 秒, 20 个查询请求 , Gzip 开启.

各位嘉宾言论仅代表个人观点,非属DIY编程器网立场。

桂公网安备 45031202000115号

DIY编程器群(超员):41210778 DIY编程器

DIY编程器群1(满员):3044634 DIY编程器1

diy编程器群2:551025008 diy编程器群2

QQ:28000622;Email:libyoufer@sina.com

本站由桂林市临桂区技兴电子商务经营部独家赞助。旨在技术交流,请自觉遵守国家法律法规,一旦发现将做封号删号处理。

快速回复 返回顶部 返回列表