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 - Ldmicro 5404 closes...

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

Ldmicro 5404 closes... (by Alex)
Hello when I change my ladder from atemga328 to 16f1827 and then set pina rewuired fue to mcu change, then compile ldmicro gives me warning about pwm then it closes, couldb, t make video,, out of Town right now, ladder attach
Sat Jan 25 2020, 20:55:38, download attachment servo_pwm_arduino_uno_2.ld
Ldmicro 5404 cierra ... (by Paulino)
You must work with the latest version 5.4, not 5.3 which is the one you attached.
Attached with modified CPU parameters.
and attached file.hex
Mon Jan 27 2020, 04:30:30, download attachment servo_pwm_arduino_uno_2c.ld
(no subject) (by Paulino)
You must work with the latest version 5.4, not 5.3 which is the one you attached.
Attached with modified CPU parameters.
and attached file.hex
Mon Jan 27 2020, 04:35:12, download attachment servo_pwm_arduino_uno_2c.rar
(no subject) (by Alex)
It is made with 5.3.x.x but when compiled with 5404 it closes
Mon Jan 27 2020, 06:44:17
(no subject) (by Paulino)
Has probadodo con el
You have tried with him
servo_pwm_arduino_uno_2c.rar
Mon Jan 27 2020, 08:48:04
(no subject) (by Paulino)
yo te lo puse con 5.4, prueba a hacerlo con el modificado que te adjunte en winRAC.
y dime si te funciona.

I put it with 5.4, try to do it with the modified one attached to you in winRAC.
And tell me if it works for you.
Mon Jan 27 2020, 08:51:38
(no subject) (by Alex)
it happens the same with 5310, when pwm instruction is in ladder and you compile, then you change mcu (in my case from avr to pic) then you complie.. it showsup a warning then it closes
Fri Jan 31 2020, 20:20:04
(no subject) (by José)
Hi Alex

I tried to get the same error with version 5.3.1.0 by changing from AtMega328 to Pic16F877 with pwm test ladder, but nothing occured...

Can you be more precise:

- which Avr ?
- which Pic ?
- which "compile" menu ?
- join a ladder which causes the pb

So that I can locate the pb.

Thanks
José
Sat Feb 1 2020, 03:53:35
(no subject) (by Ziggy)
do you also change pin assignment when changing the micro?
Sat Feb 1 2020, 05:46:13
(no subject) (by Alex)
hello. here is a video demostration, atmega328 was chose first to compile, then u changed to pic 16f1827, then compile again... that´s when ldmicro closes...

https://www.youtube.com/watch?v=or8nTkYSFrE&feature=youtu.be
Sat Feb 1 2020, 19:20:01
Ldmicro 5404 cierra (by Paulino)
Hola alex, tienes los programas hechos con diferente versiones de LDMicro, debes realizarlos con la misma versión sino te darán errores, según sistema operativo funcione en su pc se encontrara con este error.

Hi alex, you have the programs made with different versions of LDMicro, you must make them with the same version but they will give you errors, depending on how operating system works on your pc you will encounter this error.
Sun Feb 2 2020, 11:57:12
(no subject) (by Alex)
hello, thanks for your reply Paulino,

I have a made a video demostration creating a 1 rung ladder with pwm instruction (1hz), it was successfully compiled.. but when changed to pic16f1827, pwm pin was autoasigned (that´s ok) then i pressed compile, it gives warning as espected, then ldmicro 5404 closes


https://www.youtube.com/watch?v=H6jBk2u4LTU&feature=youtu.be
Mon Feb 3 2020, 06:46:58
Para alex (by Paulino)
Hola alex, e estado haciendo pruebas con lo que comentas, da los errores que comentas por los timer, en la pic es timer 0, en los AVR veo que funcionan con timer0 y timer1.

osea la respuesta es, que tienes que canviar el timer en la configuración si es para pic Timer0 y si es para AVR puede ser timer 1 o timer0.

comprobado y verificado con versión 5.4, funciona correcto.
Mon Feb 3 2020, 12:49:59
Para alex (by Paulino)
Hi alex, I have been doing tests with what you say, it gives the errors you comment on the timers, in the photo it is timer 0, in the AVR I see that they work with timer0 and timer1.

I mean the answer is, you have to change the timer in the configuration if it is for pic Timer0 and if it is for AVR it can be timer 1 or timer0.

checked and verified with version 5.4, it works correctly.
Mon Feb 3 2020, 12:50:57
(no subject) (by Alex)
Thanks Paulino, you are right, BUT........
if you do the same steps as i did and this time you change to timer 0 for pic, ldmicro closes anyway...

video demostration:




https://www.youtube.com/watch?v=bj0VPW_eTyo&feature=youtu.be
Mon Feb 3 2020, 19:41:06
(no subject) (by Paulino)
Prueba a guardarlo y luego lo abres, haces los cambios de la CPU, y lo guardas con otro nombre y lo abres y te ira bien, puede ser que según que memoria uses se queda en la memoria y lo tienes que quitar de la memoria de tu PC.

Try to save it and then open it, make the changes of the CPU, and save it with another name and open it and it will go well, it may be that depending on what memory you use it stays in the memory and you have to remove it from the memory of your PC
Ami works fine for me, and I use I7, 2Tera 24G hard disk memory, W10 PRO- Visual studio code 2019.
It must be taken into account that the XP operating system does not work as expected with the new LDMicro version.
Tue Feb 4 2020, 05:10:51
(no subject) (by Alex)
thanks for your reply Paulino, it happens the same...

video desmotration:


https://www.youtube.com/watch?v=ColW91dizd8&feature=youtu.be
Tue Feb 4 2020, 12:42:41
Ldmicro 5404 closes... (by Tinny)
Try to start ldmicro first time with run as administrator
Wed Feb 5 2020, 04:40:38
(no subject) (by Alex)
Thanks for your reply Tinny but it happens the same, you got ideas to make it right, that´s ok, but initially ldmicro should not close,
Wed Feb 5 2020, 14:31:16
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):