Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - Make persistent is not working n ATMEGA128

(you are viewing a thread; or go back to list of threads)

Make persistent is not working n ATMEGA128 (by hassan)
Make persistent is not working n ATMEGA128 The data stored in eeprom is lost after power off.

I tried the versions
4.1.4
4.3.6
4.3.9
4.3.9.2
5.4.1
Sun Nov 28 2021, 14:09:43, download attachment CNLED.ld
(no subject) (by Zoran)
I use 4.2. and it is OK!
Mon Nov 29 2021, 11:13:28, download attachment Persistent.ld
(no subject) (by José)
Persistant variable must be used from time to time...

Beware that your EEprom has a life time of about 100.000 writes only !!!

José
Mon Nov 29 2021, 15:23:45
(no subject) (by MGP)
The persistent instruction should always be at the top of the program unless you know what you're doing.

Otherwise the variable already has a different value (usually zero) and puts that new value in the eeprom.
Mon Nov 29 2021, 17:11:27
(no subject) (by Hassan)
Thank you very much, Zoran /Jose/Mgp
version 4.2 works perfectly
Is it possible to add Atmega 2561 to version 4.2
Fri Dec 3 2021, 06:35:51
(no subject) (by Zoran)
I think that all version will work problem was program.
Fri Dec 3 2021, 10:48:27
(no subject) (by Hassan)
Thanks Zoran, I think version 4.2 is good, but it requires a lot of program memory
Fri Dec 3 2021, 13:46:47
(no subject) (by Zoran)
In ATMega 128 You can put a lot but problem is speed more program less speed.
Sat Dec 4 2021, 05:52:00, download attachment Rev90.ld
(no subject) (by hassan)
Make persistent is not working n ATMEGA2560 The data stored in eeprom is lost after power off.
It also does not work on version 4.2
Wed Dec 8 2021, 15:44:22
(no subject) (by hassan)
Are there any errors?
Wed Dec 8 2021, 16:31:35, download attachment QQ.ld
(no subject) (by hassan)
Using Arduino Mega FuseS
L=0XFF
H=0XD8
E=0XFD
The program works correctly, but it does not save
Wed Dec 8 2021, 16:40:35
pora hassan) (by Paulino calubert)
Hello, I have attached a program with persistent to know when there is no current and when the current comes, it knows where it was, it is a receiver that, according to the parameter, times the output, such as bistable, stable, timed.

This project has been working perfectly for 5 years and without any problem from our clients.

Hola adjunto un programa con persistentes para saber cuando no haya corriente y venga la corriente sepa donde estaba, es un receptor que segun el parametro temporiza la salida, como biestable, estable, temporizado.

este proyecto esta funcionando perfecto hace 5 años y sin ningún problema de nuestros clientes.
Thu Dec 9 2021, 04:45:20, download attachment mando2_canales_V-T-M-pic16f88con filtro.ld
(no subject) (by hassan)
Hello,Thank you, Mr. Paulino Calaubert
which version of the program are you using?
Thu Dec 9 2021, 05:58:49
Save data (by Hossein)
Hi

Make persistent is not working in ATMEGA64
The data stored in eeprom is lost after power off.
Sun Feb 27 2022, 05:39:20
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):