prog89S52 is a utility for Linux on the PC, allowing programming of Atmel's AT89S52 microcontroller via the parallel printer port. Atmel's 89S are programmable via an SPI port and therefore require absolutely no additional components in order to program them in-system.

This program requires a standard "Centronics" type PC parallel port (a bidirectional, EPP or ECP port is not required). A 5-way cable is required to connect the microcontroller to the port; wiring information is given in the included manual page.
Remember that a clock source is required in order to program the device, and that EA must be tied to Vcc when programming the internal flash memory.

Note that since prog89S52 uses ioperm() and friends to access the underlying port hardware, you may need to run it as root.

Both binary and source may be freely distributed and modified, but both are provided without any form of express or implied warranty.

Project Samples

Project Activity

See All Activity >

License

Public Domain

Follow prog89s52

prog89s52 Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of prog89s52!

Additional Project Details

Operating Systems

Linux

Intended Audience

Developers, Education, Engineering

User Interface

Command-line

Programming Language

C

Related Categories

C Software Development Software, C Scientific Engineering

Registered

2013-09-13