AT89LP51ED2 Fuse programming

Go To Last Post
4 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

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"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"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix 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

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

Moderator, please remove this post.

Greetings.

Bojan Solin