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 - Problems Memory Size in 16F877

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

Problems Memory Size in 16F877 (by Elieser Muller)
I buil program volt indicator 3 Digits Led in 16F819, but no more memory to other modifications or more developments. I use now 16F877 and put routines to cycle timer and read 3 buttons to up/down and functions. Percentual limit to use 32% .. 33% ...34% ...35%...36%...37% to more instrutions programs indicate modify minimizes program or use other devices with more memory.
I modify program to short, and ok, but to put program and verify memory flash in Software program use only 60% memory flash. I dont undesrstand why ? One comand plus modify 37% to full use memory flash. Have solution about this problem. In notification or limit % total memory program user in LDMICRO ?
Sat Jun 21 2014, 15:43:15
(no subject) (by MGP)
Can you share your program with us, so we can try.
Sat Jun 21 2014, 15:56:41
How to put Program or Archive in LDMicro forum ? (by Elieser Muller)
MGP indicate EMail to send archives
Sat Jun 21 2014, 18:40:44
(no subject) (by MGP)
You can attach a file, see below, just above Captcha.
Sorry but I do not want a mailbox full of requests for programs and there are others who may try it.
Sun Jun 22 2014, 02:43:50
(no subject) (by Elieser Muller)
Put Archive Voltmeter, Programs size 16F819 Full Memory.
I development SetUp 3 Botoms up/down/Functions to Set and record Set in Memory E2prom Memory is Over on 16F877.
Vc é do Brasil?
Sun Jun 22 2014, 12:55:18, download attachment Voltmeter_3Dig_16F819.ld
(no subject) (by MGP)
I have programmed a 16F876A with your program and the chip was 27% full, see the picture
Sun Jun 22 2014, 14:32:43, download attachment Voltmeter3d.jpg
(no subject) (by MGP)
And i compiled for a 16F819 and the chip was 90% full, which should work.
I dont have a 819 so i cannot program a chip.
Sun Jun 22 2014, 14:36:36, download attachment Voltmeter819.jpg
(no subject) (by MGP)
In other words, you need a chip with more memory if you want to add more programming rows.
Sun Jun 22 2014, 14:54:30
(no subject) (by MGP)
Also this: from the website,

As noted above, the code that it generates is far from optimal. Also, not all of the data RAM in PIC16 devices is available to the ladder logic program. This is because I have not implemented very much support for all the paging nonsense. I do, however, support the program memory paging, which is necessary to access program memory locations in the PIC16 beyond 2k.

So i think it's not only the program space when the compiler says, pic is 90% full
Mon Jun 23 2014, 06:46:45
Attention MGP (by Elieser Muller)
Plis test Problem Full Memory 16F877 in this Program and Program Software indicate 36 / 37 % Memory but if you add few lines Memory Over. Why ?
Thu Jul 3 2014, 18:43:54, download attachment Cyclic_Timer __16F876_0_999.ld
(no subject) (by MGP)
I tested your program with a 876A (same data space as the 877A)

You use too many variables (relays, timers, counters), simplify your program (see rung 4 to 9 and rung 36, what a waste of data memory)

I can only add two more variables, then ldmicro gives an error message.
It has nothing to do with the number of rungs and programming space but with the DATA space.

See also my previous answer, and there is nothing i can do.
Ldmicro has its limitations.
Fri Jul 4 2014, 16:40:10
memory (by Magno Medeiros (Brasil))
Eliezer Muller Hello, I suggest you use the ATMEGA32 and so will not have this memory problem. I use a lot, it is good to work with.
Sun Jul 6 2014, 18:01:37
Magno (by Elieser Muller)
Justamente a razão da minha pergunta era esta, precisava usar mais memória pois teria que implementar mais programa.
Mas não conheço o ATmega, se vc ver coloquei nos exemplos acima os pinos diretos, pois sei que funciona nos PICse testei tbm no circuito.
Mas não sei como configurar os Fuses do ATmega, pensei em usar o ATmega32 e depois o ATmega128 para uma aplicação mais Hard.Se vc puder me ajudar tem o meu EMail dentro do Programa do Ciclico.

Grato
Tue Jul 8 2014, 13:33:13
ATmega8, 32, 128 (by Magno Medeiros (Brasil))
Hello Eliezer. I have been working with the ATmega128 to 2 or 3 years and also with the ATmega8. ATmega32 with less time but had no problem. However use the most basic functions of these micros ... I often use in building PLCs for industry where I work, which in most cases requires only digital inputs and outputs. As for fuses attached images below. you are Brazilian? Because their texts are in Portuguese.
Wed Jul 9 2014, 07:31:06, download attachment Olá Elieser.docx
Progisp (by Magno Medeiros (Brasil))
software progisp para ATmel.
Wed Jul 9 2014, 07:44:35, download attachment progisp168.rar
(no subject) (by Elieser Muller)
Im Brazilian.Me envie EMail para contato gostaria de trocar algumas idéias e informações à respeito de Gravador , pois vou ter que comprar um.E tbm informação sobre aplicação prática de uso do ATMEL.O EMail esta no cabeçalho do Programa do Ciclico.
Grato
Wed Jul 9 2014, 09:07:26
ATmega (by Magno Medeiros (Brasil))
Olá te enviei mensagem para o e-mail que está no seu programa.
Wed Jul 9 2014, 12:59:40
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):