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 - PIC16F18877 clone of 16F887 with larger memory

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

PIC16F18877 clone of 16F887 with larger memory (by AndreiAd)
Hi,

Could you please test and include PIC16F18877 to the selection list of microcontrollers in LDmicro?
It is fully compatible with the already supported PIC16F887 (PINS and apparently register), but has 4x the program memory of the 887.

Thank you very much,
Andrei.
Tue Mar 19 2019, 09:59:05
PIC16F18877 clon de 16F887 con memoria más grande (por AndreiAd) (by Calubert)
Hola por AndreiAd, no podrás ya que cuando llenas la memoria de programa te dira que tienes un error al copilar memoria llena, Puedes decir a SR, Jines que explique como poner librerías en c++ y copilando creo que iría. yo hice un programa y lo copile como pic887 y lo cargue en una PIC (FL) 1887 y funciono correcto pero solo me dejaba copilar hasta la memoria de 887 maxima.

por ello me pase a utilizo el ATMEGA 2560 que lo puedes hacer = el programa como PIC si usas el LDMICRO
Sat Mar 23 2019, 07:50:30
PIC16F18877 clone of 16F887 with larger memory (by AndreiAd)
Hi Calubert,

Thank you for your reply. Indeed, the problem is that i can't compile the ldmicro ladder logic, because of the memory limitation. That is why i was trying to reach to the developpers of LDmicro, to include this PIC in the list. I am not saying that there will not be some extra work involved, but it should be more or less compatible with the already supported 887.
Regarding the ATMEGA, i guess i just stick to PICs out of nostalgia or stubbornness, or simply because i have to many of them around, dev boards included, to simply switch to Atmegas.

Regards,
Andrei.
Mon Mar 25 2019, 18:02:28
(no subject) (by MGP)
I think there is a bug in de compiler or memory organisation, because I made a program and have used 46% of the memory and 26% of the ram.
If I only add a adc-inputline (= 1variable) I get a bank select error.
Tue Mar 26 2019, 03:30:48, download attachment PICmem2.jpg
PIC16F18877 clon de 16F887 con memoria más grande (by Calubert)
(por AndreiAd) Hola , no tienes que hacer nada la misma escalera te sirve para todos los micros que puedas copilar con LDMiicro, solo tienes que decir que micro quieres usar y seleccionar los pines a adecuados a cada micro, un consejo no te enamores de una sola mujer que la vida se pasa muy rápido hay que probar todas .
Tue Mar 26 2019, 04:41:08
(no subject) (by AndreiAd)
(to MGP) I am not sure i understand the circumstances of what you describe. You have selected PIC16F887 as the target uC, and coded until the specified memory values are reached, you get the error, when compiling?
Also, is this related to the thread, or is it just a bug report on the PIC16F887 target in LDmicro?
Wed Mar 27 2019, 07:30:23
(no subject) (by AndreiAd)
(to Calubert) Thanx for the women advice. It made me smile :)
To clarify what you said, do you mean that i should create the logic in LDmicro with the 16F887 selected as target? Because my worry is that it won't compile, when it reaches the memory limit.
Or do you mean that i should select the atmega as target, and remap the pins in the generated header?
Wed Mar 27 2019, 07:35:10
(no subject) (by Calubert)
Vas a (Configuración Y eliges El micro-controlador ejemplo ATMEGA2560) una vez elegido tienes que configurar las patas o pines. ten en cuenta que es la misma escalera que hiciste en ldmicro con el pic887.si tienes la escalera puedes enviarla a [email protected] y yo te la haré para que veas como te queda. Saludos paulino cano
Thu Mar 28 2019, 05:28:55
(no subject) (by MGP)
@AndreiAd, I cannot imagine that someone has already written a ld program of 14kb (16F8xx), there is always a demand for larger memories and I am already stuck with a program at 46% of the memory used ..
So I think there is a bug somewhere in the LDmicro compiler for pic's.
But of course the more controllers are supported the better.
Thu Mar 28 2019, 06:18:05
Memoria llena (by Calubert)
si yo e echo programas de 256Kb porque la pic887 la llene para hacer una fuente de alimentación de 0 a 60Amp regulable y de 0vdc regulable 60VDC con salidas de PWM y le hice un reloj a tiempo real y 13 programaciones de estados de reloj con pantalla LCD. Por ello digo que usen Microprocesadores ATMEGA2560 ya que este se puede hacer la pantalla tas-ti ya que existen librerías para la pantalla TX-RX.
Thu Mar 28 2019, 10:43:41
segun version (by Calubert)
Según que versión de LDMicro se utiliza pueden dar errores de copilacion se aconseja que se utiliza la ultima versión ya que esta corregida de errores anteriores. también existe una versión de Jines que se traga las librerías de C++ mirar el bloc de jines y aprenderéis como hacerlo yo traduje al español castellano para jines. yo lo provee y funciona perfectamente
Thu Mar 28 2019, 10:50:08
(no subject) (by AndreiAd)
@Calubert, Thank you, i send you my ld file, looking forward to see how it's done :)
Not to be annoying, but you keep mentioning "jines". What is that?
I believe what would be extremely interesting is to be able to add certain black boxes in LDmicro, and create the logic for them separately. That way, you could, for example, create the whole menu scrolling on an LCD, without ocupying the UART pins, and using a lot less memory in the PIC...just my 2 cents..
Thu Mar 28 2019, 11:50:55
(no subject) (by AndreiAd)
@MGP, now i understood, and it is a bit scary. I will try to replicate the issue myself, and get back to you on that one. Have you tried to report it to the owners?
Thu Mar 28 2019, 11:52:42
(por AndreiAd) (by Calubert)
(por AndreiAd) hola ya te corregir el programa: tienes 2 errores.
1º error siempre tienes que seleccionar los pin del micro-controlador, en tu caso tenias 2 pin sin selecciona.
2º creo que tienes una versión bastante antigua.
3º El meil. que me mandaste me da error al enviártelo.
tienes otro email (Correo Electronico).
en tu programa tienes un 13% ocupado te que da programa para 8 veces mayor que el que hiciste y la verdad es lo que comento (por MGP) en este tema. Jines es la persona que hizo un gran trabajo sobre LDMICRO32 mirarlo y podrás agregar librerías c++.
yo te lo compile en esta versión de Jines.
Perdona solo escribo en Español, Pero si usas el traductor de google te ira bastante bien la traducir falla un poco con el francés pero otros idiomas lo saca bastante bien. saludos Paulino Cano (Calubert)
Fri Mar 29 2019, 05:58:19
(no subject) (by AndreiAd)
(@Calubert) I used 5.3.0 version, but not the one LDmicro32 one. I finally understood what you meant, i believe i can do that myself - i downloaded the LDmicro32. You meant i should compile it as a .c file, and modify the header, to assign the right PIC and PINs, right? But i did not understand where you get the errors. Another email adress that you can use is:
[email protected]. Thank you.
Fri Mar 29 2019, 12:14:16
(no subject) (by Calubert)
Los errores eran no están asignadas los pin 887 (Patas) del micro-controlador si lo miras en tu escalera.
dime si recibiste el correo te lo hice en WinRAR.

también tienes el escrito en 4 idiomas ES.IN,FR,IT.
Sat Mar 30 2019, 05:43:50
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):