SnapMagic Search logo ☰
About
For Engineers >
Build Parts Request Parts Browse Parts Pricing Q & A PCB Suppliers
For Part Vendors >
Publish Media Kit SnapInsights Get CAD Models Syndication Program Contact Us
Log In Sign Up
  • Questions /
  • Programming the at89lp series with an Arduino.

Programming the at89lp series with an Arduino.

0

The at89lp series is a bit different than avr or at89s with respect to isp. It requires an extra wire because it needs both a target reset and a target slave select signal (besides the common MISO, MOSI and SCK).

It is already a while ago but I once experimented with these chips, just out of curiosity. I built an ArduinoISP version that manged to program them. That version still sits in an old branch of my ArduinoISP git hub repo:

It can read and write flash of the devices I have: the at89lp4052 and the at89lp51ed2. It should work for your at89lp51rd2 too. Don't try tho change fuses, I dn't know what will happen (and it can brick your mcu). Instead use the companion at89lp_isp.ino sketch to set the fuses correctly for the at89lp51xxx.

If you care to pursue this, I recommend to start with the at89lp_isp.ino sketch. It allows you to burn a blink firmware to the at89lp51xxx as a first test. The led blinking 8051 code is built in, in the sketch.

For the at89lp4052 chips the factory fuses are fine but for the at89lp51xxx you need to set the fuses correctly in order for the code to start from address 0x0000. The at89lp_isp sketch can do that too.

You communicate with the at89lp_isp sketch by sending it serial commands: see code: 'p' enters or exits programming mose 'a' sets the fuses... You will first want to try whether you can read out the signature bytes.

General Question

Added 9 years, 1 month ago.

C
Cherry

0 Answers

Add a Response

Sign up or log in to respond.

SnapMagic

  • About
  • Contact
  • Pricing
  • Careers
  • 💎 What's new

Community

  • Our Community
  • Q & A
  • Blog
  • Made With SnapMagic Search

Product

  • Parts Library
  • InstaPart
  • InstaBuild
  • Plugins
  • API
  • PCB Suppliers
  • SnapMagic Search Desktop App

Tools

  • Allegro
  • Altium
  • Autodesk Fusion
  • CircuitStudio
  • CR-8000/CR-5000
  • DesignSpark
  • DipTrace
  • Eagle
  • Easy-PC
  • eCADSTAR
  • ExpressPCB Plus
  • KiCad
  • OrCAD
  • PADS & DxDesigner
  • PCB123
  • P-CAD
  • Proteus
  • Pulsonix
  • Target 3001!

Support

  • FAQ
  • How to Import
  • Standards
  • Contact Us
  • Design Resources
  • Terms Of Service
  • Privacy

Join Our Newsletter

Your subscription could not be saved. Please try again.
Thanks for subscribing to the SnapMagic Search newsletter. We're excited to have you as part of our community.
  • Facebook
  • LinkedIn
  • Twitter

1-844-625-8890

© 2013 - 2025 SnapMagic

58c92506d7494219a83a467e4edb4c37