<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=21866&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2019-01-12T00:04:59+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=21866&amp;mode</id>
<entry>
<author><name><![CDATA[11jacekj]]></name></author>
<updated>2019-01-12T00:04:59+01:00</updated>
<published>2019-01-12T00:04:59+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215715#p215715</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215715#p215715"/>
<title type="html"><![CDATA[Re: Bład odczytu z pamięci EEPROM stacja lutownicza RL1]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215715#p215715"><![CDATA[
W załączniku zamieszczam pliki.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=12856">11jacekj</a> — 12 sty 2019, o 00:04</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[micky]]></name></author>
<updated>2019-01-11T23:20:08+01:00</updated>
<published>2019-01-11T23:20:08+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215710#p215710</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215710#p215710"/>
<title type="html"><![CDATA[Re: Bład odczytu z pamięci EEPROM stacja lutownicza RL1]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215710#p215710"><![CDATA[
Na początek to wstaw plik spakowany zipem a nie wynalazkami.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1546">micky</a> — 11 sty 2019, o 23:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[11jacekj]]></name></author>
<updated>2019-01-11T23:38:46+01:00</updated>
<published>2019-01-11T22:30:57+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215708#p215708</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215708#p215708"/>
<title type="html"><![CDATA[Bład odczytu z pamięci EEPROM stacja lutownicza RL1]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=21866&amp;p=215708#p215708"><![CDATA[
Witam, zbudowałem staję lutowniczą według schematu i opisu <a href="https://ep.com.pl/Archiwum/2007/Lipiec.html"  class="postlink">https://ep.com.pl/Archiwum/2007/Lipiec.html</a><a href="https://ep.com.pl/Archiwum/2007/Sierpie%C5%84.html"  class="postlink">https://ep.com.pl/Archiwum/2007/Sierpie%C5%84.html</a>wgrałem wsad, który jest tam udostępniony i wszystko gra jak należy. Jednak zachciało mi się pokombinować i w funkcji Intro, która jest wywoływana na początku programu zmienić datę na aktualną. Poprawiłem nazwy przerwań, dodałem specyfikatory const w wierszu 201 przed nazwą tablicy opis[] i zmieniłem typ jednej zmiennej z char na uint8_t w wierszu 107 w pliku rl1.c. W pliku hw.c tam gdzie było w SIGNAL zmieniłem na ISR. Program niby się kompiluje tzn. nie ma żadnych warningów i errorów. Komunikat w console wygląda tak:<br />[syntax=c]22:10:08 **** Clean-only build of configuration Release for project AVT987 ****<br />make clean <br />rm -rf  AVT987.hex  ./hw.o ./lcd.o ./rl1.o  AVT987.eep  sizedummy  AVT987.lss  ./hw.d ./lcd.d ./rl1.d  AVT987.elf<br /> <br /><br />22:10:08 Build Finished (took 69ms)<br /><br />22:10:08 **** Build of configuration Release for project AVT987 ****<br />make all <br />Building file: ../hw.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega8 -DF_CPU=8000000UL -MMD -MP -MF&quot;hw.d&quot; -MT&quot;hw.o&quot; -c -o &quot;hw.o&quot; &quot;../hw.c&quot;<br />Finished building: ../hw.c<br /> <br />Building file: ../lcd.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega8 -DF_CPU=8000000UL -MMD -MP -MF&quot;lcd.d&quot; -MT&quot;lcd.o&quot; -c -o &quot;lcd.o&quot; &quot;../lcd.c&quot;<br />Finished building: ../lcd.c<br /> <br />Building file: ../rl1.c<br />Invoking: AVR Compiler<br />avr-gcc -Wall -Os -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -std=gnu99 -funsigned-char -funsigned-bitfields -mmcu=atmega8 -DF_CPU=8000000UL -MMD -MP -MF&quot;rl1.d&quot; -MT&quot;rl1.o&quot; -c -o &quot;rl1.o&quot; &quot;../rl1.c&quot;<br />Finished building: ../rl1.c<br /> <br />Building target: AVT987.elf<br />Invoking: AVR C Linker<br />avr-gcc -Wl,-Map,AVT987.map -mmcu=atmega8 -o &quot;AVT987.elf&quot;  ./hw.o ./lcd.o ./rl1.o   <br />Finished building target: AVT987.elf<br /> <br />Invoking: AVR Create Extended Listing<br />avr-objdump -h -S AVT987.elf  &gt;&quot;AVT987.lss&quot;<br />Finished building: AVT987.lss<br /> <br />Create Flash image (ihex format)<br />avr-objcopy -R .eeprom -R .fuse -R .lock -R .signature -O ihex AVT987.elf  &quot;AVT987.hex&quot;<br />Finished building: AVT987.hex<br /> <br />Create eeprom image (ihex format)<br />avr-objcopy -j .eeprom --no-change-warnings --change-section-lma .eeprom=0 -O ihex AVT987.elf  &quot;AVT987.eep&quot;<br />Finished building: AVT987.eep<br /> <br />Invoking: Print Size<br />avr-size --format=avr --mcu=atmega8 AVT987.elf<br />AVR Memory Usage<br />----------------<br />Device: atmega8<br /><br />Program:    7682 bytes (93.8% Full)<br />(.text + .data + .bootloader)<br /><br />Data:         87 bytes (8.5% Full)<br />(.data + .bss + .noinit)<br /><br />EEPROM:       21 bytes (4.1% Full)<br />(.eeprom)<br /><br /><br />Finished building: sizedummy<br /> <br /><br />22:10:09 Build Finished (took 771ms)[/syntax]<br /><br /><br /><br /><br />Wsad wgrywa się bez problem. W momencie kiedy restartuje się procesor na wyświetlaczu widać że funkcja Intro wykonuje się poprawnie ale zaraz po niej pojawiają się komunikaty z funkcji Restore a następnie wyświetlają się bez przerwy komunikaty funkcji Intro. Proszę podpowiedzcie co źle zmieniłem w plikach i jak powinno być.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=12856">11jacekj</a> — 11 sty 2019, o 22:30</p><hr />
]]></content>
</entry>
</feed>