AT89LP51ED2 Fuse programming

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everybody, I have started to programm AT89LP51ED2 controller. I want to run it in fast mode. It was run normaly on Compatibility Mode, but when I have tryed to run the controller in fast mode, nothing is going on, there is now any activity when i measuring signals with the scope. Any ideas?

Thanks.

 

Bojan Solin

Last Edited: Tue. Oct 9, 2018 - 10:41 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can you post what fuses you programmed and the interface you used?  That device allows you to pick your clock source.....maybe you accidentally changed this?

 

JIm

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?  - Lee "theusch"

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am new to fuse programming. To change device state from Compatibilty to Fast mode, I am using this code, for read and write fuses:

EA=0;
FCON=0x04;
DSPR=0x00;
ACC=0x00;
ACC=DSPR;
EA=0; 
FCON=0x08;
DSPR=0x06;
ACC=0x00;
DSPR=ACC;
FCON=0x00;
FCON=0x54;
FCON=0xA4;
FCON=0x00;
EA=1;

Is it possible to set fuses on this way? and in which code section is necessary to put the fuses code for fuses to be set?

I am using Atmel flip ISP programming interface.

Thank you in advence.

Best regards.

Bojan Solin