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 ATMEGA2560

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

Make persistent ATMEGA2560 (by HASSAN)
Make persistent which version does it work for ATMEGA2560
Tue Apr 19 2022, 11:16:50
Make persistent ATMEGA2560 (by HASSAN)
Arduino Mega test file
Tue Apr 19 2022, 11:21:14, download attachment C-MEGA5260.ld
ejemplo (by paulino (Calubert))
adjunto ejemplo de como hacerlo
Thu Apr 21 2022, 08:33:45, download attachment ATMEGA2560.ld
(no subject) (by HASSAN)
Thank you Mr. Paulino
The program you sent also did not work
But my software which you sent is working on ATMEGA 328 and ATMEGA 128
Tue May 24 2022, 11:27:06, download attachment ATMEGA2560.pl
por HASSAN) (by paulino)
Hello can you send the program in ATMEGA2560.LD.
Wed May 25 2022, 03:27:05
(no subject) (by HASSAN)
Sir paulino, this is the program to control ten contacts
Wed May 25 2022, 10:38:24, download attachment ATMEGA2560.ld
(no subject) (by HASSAN)
Sorry, this is the program after setting the outputs for the Arduino Mega
Wed May 25 2022, 16:53:46, download attachment ATMEGA2560.ld
(no subject) (by Calubert (Paulino))
1º PREGUNTA: usas arduino. Si usa arduino debes tener en cuenta el modo (NPN o PNP) esto son los contactos en abierto o cerrados son al contrario de como los colocamos en LDMicro.
2º PREGUNTA: yo lo hago con el micro directo en Hex. y lo cargo al ATmega 2560. Y funciona.
3º PREGUNTA:mirar configuración fuses ATmega.

no entiendo que el atmega328,128 te funciona y no el Atmega2560 no te funciona?? ( siempre usas placa arduino)

1º QUESTION: you use arduino. If you use arduino you must take into account the mode (NPN or PNP) this is the open or closed contacts are the opposite of how we place them in LDMicro.
2nd QUESTION: I do it with the direct micro in Hex. and load it to the ATmega 2560. And it works.
3rd QUESTION: look at ATmega fuse configuration.

I do not understand that the atmega328,128 works for you and not the Atmega2560 does not work for you?? (you always use arduino board)
Thu May 26 2022, 11:27:53
(no subject) (by HASSAN)
Hello, I hope you are in good health
I do not have a problem in terms of the situation NPN or PNP
The point of my use of the ATMEGA 328 is that I used an Arduino Uno and it works fine
I also used the ATMega128 Development board and it works fine
Do you mean to upload the code through the ISP programmer?
I am using XLOADER to upload the code by usb
Fri May 27 2022, 08:24:15
(no subject) (by Paulino)
I attach your program in HEX.
If you have arduino, you need to upload it with arduino to Chic ATMega2560.
and tests should work for you as ami


te adjunto tu programa en HEX.
Si tienes arduino, debes cargarlo con arduino al Chic ATMega2560.
y pruebas debe funcionarte como ami
Sat May 28 2022, 05:06:28, download attachment ATMEGA2560 (1).hex
(no subject) (by HASSAN)
I did not know what you mean, but I sent you the program and the programming method. The instructions work, but the EEPROM is not saved
Sat May 28 2022, 11:39:19, download attachment ATMEGA2560.rar
(no subject) (by Calubert)
If you pay attention the .Hex that you send me in zip is not = that the one that I have sent you can you load my .Hex and try?
If it works for you as for me, we will see where you can have your error.

Si prestas atención el .Hex que tu me mandas en zip no es = que el que yo te he mandado puedes cargar mi .Hex y probar
Sun May 29 2022, 05:51:54
(no subject) (by Calubert)

Send a photo of your atmega2560 as you have it in PCB circuit.
Sorry, I need to know to see where the typo could be

Manda una foto de tu atemega2560 como lo tienes en circuito PCB

https://www.tecnocalubert.com/productos.php?tipo=96
Sun May 29 2022, 05:57:21
(no subject) (by HASSAN)
Mr. Calubert
I'm using arduino mega I sent you the picture
The hex file you sent is working, but it is not being saved to the EEPROM
I did not know the problem so far, there are no errors, I think, I tried several versions of the LDMICRO program, the problem was not resolved
Sun May 29 2022, 08:32:21, download attachment 2560.jpg
HASSAN (by Paulino calubert )
Estoy con tu problema en breve te mando la solucion, ya que lo hare de varias forma de copelación para loa plataforma de arduino.
yo hasta ahora lo hacia en programación directa de LDmicro al la cpu atmega2560, (me refiero chic solo sin placa PCB ni arduino).
pero me pondré a trabajar para arduino para solucionar este tipo de problema, pero yo trabajo para mis proyectos solo con chic pelaos y mondaos..

I am with your problem, I will send you the solution shortly, since I will do it in several ways of compilation for the Arduino platform.
Until now I did it in direct programming from LDmicro to the atmega2560 cpu, (I mean chic only without PCB or arduino board).
but I will work for arduino to solve this type of problem, but I work for my projects only with chic and we manufacture the PCBs for each specific chic.
Thu Jun 2 2022, 06:13:40
(no subject) (by HASSAN)
Hello Mr. Calubert
Thank you for your interest in this topic
I understand you mean the program works directly with the AVR ATMEGA 2560 without a PCB
I am waiting for you solution
I want you to please provide me the correct fuse bit for programming AVR ATMEGA 2560 without PCB

with all due respect
Thu Jun 2 2022, 17:55:04
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):