{"id":185,"date":"2009-02-23T02:21:37","date_gmt":"2009-02-23T00:21:37","guid":{"rendered":"http:\/\/blog.cipworx.org\/martin\/?p=185"},"modified":"2009-02-23T02:22:38","modified_gmt":"2009-02-23T00:22:38","slug":"avr-mit-ethernet","status":"publish","type":"post","link":"https:\/\/blog.cipworx.org\/laserman\/2009\/02\/23\/avr-mit-ethernet\/","title":{"rendered":"AVR mit Ethernet"},"content":{"rendered":"<p>Hab mir bei Pollin ein AVR-NET-IO Board gekauft und heute zusammengel?tet. Beim ersten Versuch lief es nicht, vermutlich war die Versorgungsspannung zu gering. Dann hab&#8217; ich mal meinen usbasp an den ISP-Port angeschlossen:<br \/>\n<code><br \/>\navrdude -c usbasp -p m32 -D -U flash:r:pollin.hex:i<\/p>\n<p>avrdude: AVR device initialized and ready to accept instructions<\/p>\n<p>Reading | ################################################## | 100% 0.01s<\/p>\n<p>avrdude: Device signature = 0x1e9502<br \/>\navrdude: current erase-rewrite cycle count is -1062731686 (if being tracked)<br \/>\navrdude: reading flash memory:<\/p>\n<p>Reading | ################################################## | 100% 9.46s<\/p>\n<p>avrdude: writing output file \"pollin.hex\"<\/p>\n<p>avrdude: safemode: Fuses OK<\/p>\n<p>avrdude done.  Thank you.<\/p>\n<p><\/code><\/p>\n<p>&#8230;funktioniert! Der Atmega32 l?uft also. Dann nochmal die Spannungen an den beiden Spannungsreglern gemessen: 5,05V und 3,4V und ein weiterer Ping-Versuch:<br \/>\n<code>ping 192.168.0.90<br \/>\nPING 192.168.0.90 (192.168.0.90) 56(84) bytes of data.<br \/>\n64 bytes from 192.168.0.90: icmp_seq=1 ttl=64 time=4.06 ms<br \/>\n64 bytes from 192.168.0.90: icmp_seq=2 ttl=64 time=1.04 ms<br \/>\n64 bytes from 192.168.0.90: icmp_seq=3 ttl=64 time=1.04 ms<br \/>\n64 bytes from 192.168.0.90: icmp_seq=4 ttl=64 time=1.03 ms<br \/>\n64 bytes from 192.168.0.90: icmp_seq=5 ttl=64 time=1.03 ms<\/p>\n<p>--- 192.168.0.90 ping statistics ---<br \/>\n5 packets transmitted, 5 received, 0% packet loss, time 3998ms<br \/>\nrtt min\/avg\/max\/mdev = 1.037\/1.645\/4.064\/1.209 ms<br \/>\n<\/code><\/p>\n<p><strong>YES!<\/strong><br \/>\nok, dann mal Telnet:<br \/>\n<code>telnet 192.168.0.90 50290<br \/>\nTrying 192.168.0.90...<br \/>\nConnected to 192.168.0.90.<br \/>\nEscape character is '^]'.<br \/>\nGETPORT 1<br \/>\n1<br \/>\nGETPORT 2<br \/>\n1<br \/>\nGETIP<br \/>\n192.168.0.90<br \/>\nGETADC 3<br \/>\n560<br \/>\nVERSION<br \/>\nuC: ATMega32<br \/>\nVer: 1.03<br \/>\nNIC: ENC28J60<br \/>\n<\/code><br \/>\n<strong><em>YES, YES, YES! SUCCESS!<\/em><\/strong> <\/p>\n<p>In der Anleitung fand ich 2 Fehler: <\/p>\n<ul>\n<li>Kondensator C11 steht 2x in der St?ckliste, einmal als 100nF und einmal als 22pF. Richtig: 100nF &#8211; kann man auf dem Foto erkennen.<\/li>\n<li>Kondensator C5 steht als 100nF in der Liste. Richtig: 100uF<\/li>\n<\/ul>\n<p>Sp?ter pack&#8217; ich die Ethersex Firmware &#8216;rein. Vorher mach&#8217; ich mich lieber nochmal im Labor schlau wegen Fusebits und Bootloader.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hab mir bei Pollin ein AVR-NET-IO Board gekauft und heute zusammengel?tet. Beim ersten Versuch lief es nicht, vermutlich war die Versorgungsspannung zu gering. Dann hab&#8217; ich mal meinen usbasp an den ISP-Port angeschlossen: avrdude -c usbasp -p m32 -D -U flash:r:pollin.hex:i avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2],"tags":[89,88,141,91,90],"class_list":["post-185","post","type-post","status-publish","format-standard","hentry","category-debian","category-electronics","tag-atmega","tag-avr","tag-electronics","tag-ethernet","tag-microcontroller"],"_links":{"self":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/comments?post=185"}],"version-history":[{"count":0,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/185\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/media?parent=185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/categories?post=185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/tags?post=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}