(you are viewing a thread; or go back to
list of threads)
PIC10F200 compile issues (by Tom J.)
Decided to try a simple set/reset on a 10F200 today and got a couple of errors followed by LDmicro crashing.
It did the same exact thing in Linux and Windows 7 but my screenshots are in Linux.
I also noticed the pin number for GP3 is Pin 5, but GP3 is actually Pin 6 on the MCU, maybe this error is because I tried using GP3?
(no subject) (by oleksiy)
(no subject) (by oleksiy)
Tom J., it is also very helpful if you will provide a minimal *.ld script that causes such errors.
Para Tom (by Calubert)
Puedes mandar el programa ejemplo.ld
(no subject) (by Tom J.)
This is the ld that failed to compile, just two simple set/resets to see if I could get a 10F200 running.
(no subject) (by Ihor Nehrutsa)
Fixed in Release 4.3.8.5
1) You can use only timer 0
2) Frequency is 4 MHz
3) GP2 has no pull-up, so I replace GP2 and GP1
4) You can use the T-trigger output. See rung 10
PARA TOM J (by Calubert)
Hola tom tienes que ver la memoria que tiene el micro tu programa consume mas memoria de la que tiene el micro. yo te quite el segundo, Begin Switch 2 y con esto Tienes un 93% lleno
tambien Tienes que configurar el micro si ves la hoja de datos veras que solo tiene el tiempo de ciclo 1,000, Reloj-0, Frecuencia 4,000000.
la verda es un micro es muy simple seria para PWM de una salida (similar al 555).
Copilado con
Release 4.3.3, built 15:44:33 Nov 22 2017
Para Tom J (by Calubert)
Archivos.hes
No es una errata (by Calubert)
Es por no saber la configuración del micro y la capacidad de momoria
por Ihor Nehrutsa (by Calubert)
No tu programa no puede funcionar ya que el micro 10f200 no tiene tanta memoria como hiciste el programa no lo podrás copilar dará un error
(no subject) (by Tom J.)
Thank you everybody for helping, and for everything you do for the LDmicro project.
Version 4.3.8.5 does not appear to be on github yet, is there a pin number correction to put gp3 on pin 6?
Ihor, your switch 3 rung is much more elegant than the method I was using..
(no subject) (by Tom J.)
Wow, even just 1 rung with 4 instructions and LDmicro says it's too large for the 10F200.
Tom J (by Calubert)
La verdad se tendría que tratar con El mps430-253 que este micro tiene 16K de memoria pero aun no lo tiene la base de datos de LDmicro. Espero que lo asignen algún día.
mi teoría ya que LDmicro consume tanta memoria se debe trabajar con micro-controladores que tengan mucha mas memoria.
yo trabajo con pic16f887, ya que este es el que mas proporciona de memoria de la base de datos de LDmicro (7K).
yo trabajos con Lader PLC. www.tecnocalubert.com
la pic16f629A tiene (4k), la pic16xx (2K).
antes de hacer el proyecto se tiene que mirar la hoja de datos de los pic que soporta LdMicro, y asignar el mejor que se adapte a nuestro proyecto.
Contest: The biggest possible ladder diagram in PIC10F200? (by Ihor Nehrutsa)
Post a reply to this comment:
|