BUG In hex file generation (by Nasr)
Dear Sir,
When i increase number of persistent variable from one to six in atmega8, hex file generated is 23kb in size, but atmega8 has only 8kb flash. The generated code does not fit inside the flash. What could be the issue. Kindly help.
Thank You
(no subject) (by Magno Medeiros (Brasil))
Friend, I loaded hex file in your software that I use (progisp) and only gave 8,678k, little more than the ability of the ATmega8. then believe that if you get 1 or 2 retitrar tenporizadorres your program fits. see the attached image
(no subject) (by MGP)
I cannot test your program, i only have pic's, but you can delete rung 2 and save flash memory.
It's not necessary to declare the variables in advance.
Compilation.. (by Dzairo)
Hi.
Here is your program .. compiled , and source code generated by my experimental LDmicro version ..
If you want *.hex file OK .. but if you want compile then you need have to installed WinAVR ...
If you don't have it then download from this web page:
http://sourceforge.net/projects/winavr/?source=typ_redirect
My experimental version have new function and existing elements are optimized ..
regards
(no subject) (by Magno Medeiros (Brasil))
Hello Nasr, as you Pedio, is attached the hex. but note that although it shows 24k, when you load this file into the program to write to the chip, as has just sent you 8,678k image. also note that even if you want to save that file is still greater than the capacity of the ATmega8 which is 8,192k as shown in PROGISP I use. you would have to slightly decrease your program. The other option is that the friend suggests you Dzairo. Good luck!