Difference between revisions of "User:Djmaster"

From Ethersex_Wiki
Jump to: navigation, search
m (Person)
m
Line 1: Line 1:
 +
[[File:RJ45Buchse_Pinout.png|400px|thumb|RJ45 Buchse]]
 
==Person==
 
==Person==
  
 
Nick im IRC: djmaster oder djmaster2<br>
 
Nick im IRC: djmaster oder djmaster2<br>
 
Web: http://wiki.senseye.org/
 
Web: http://wiki.senseye.org/
 +
 +
==Bauteile==
 +
 +
Für [http://www.lochraster.org/etherrape/ Etherrape] Module
 +
{|
 +
|
 +
{| class="wikitable"
 +
|- class="vordergrund"
 +
! Bauteil !! Hersteller !! HerstellerNr !! Lieferant !! Bestellnummer !! Dokumente !! Sonstiges
 +
|- align="right"
 +
| RJ45 Buchse || TE Connectivity || [http://www.te.com/catalog/products/en?q=6605424-1 6605424-1] || RS-Components || [http://at.rs-online.com/web/p/products/06154361/ 615-4361] || [http://www.te.com/catalog/pn/en/6605424-1?RQPN=6605424-1 Link] || Netzwerkbuchse ohne LED, Verriegelung Unten 
 +
|- align="right"
 +
| RJ45 Buchse || TE Connectivity || [http://www.te.com/catalog/pn/en/5-6605308-1 5-6605308-1] || RS-Components || [http://at.rs-online.com/web/p/products/06154383/ 615-4383] || [http://www.te.com/catalog/pn/en/5-6605308-1?RQPN=5-6605308-1 Link] || Netzwerkbuchse mit LED, Verriegelung Unten
 +
|- align="right"
 +
| RJ45 Buchse || TE Connectivity || [http://www.te.com/catalog/products/en?q=6605759-1 6605759-1] || RS-Components || [http://at.rs-online.com/web/p/products/06154399/ 615-4399] || [http://www.te.com/catalog/pn/en/6605759-1?RQPN=6605759-1 Link] || Netzwerkbuchse ohne LED, Verriegelung Oben
 +
|- align="right"
 +
| RJ45 Buchse || TE Connectivity || [http://www.te.com/catalog/products/en?q=5-6605758-1 5-6605758-1] || RS-Components || [http://at.rs-online.com/web/p/products/06154412/ 615-4412] || [http://www.te.com/catalog/pn/en/5-6605758-1?RQPN=5-6605758-1 Link] || Netzwerkbuchse mit LED, Verriegelung Oben
 +
|- align="right"
 +
| Hutschienen Gehäuse || Axxatronic || [http://www.axxatronic.de/serie-cnmb.html CNMB-4-KIT-CON] || Conrad || [http://www.conrad.at/ce/de/product/531443/Axxatronic-Hutschienen-Gehaeuse-CNMB-4-KIT-CON-Polycarbonat-L-x-B-x-H-90-x-710-x-58-mm 531443 - 62] || [http://www.axxatronic.de/serie-cnmb.html Link] || (L x B x H) 90 x 71.0 x 58 mm
 +
 +
|}
 +
  
 
==Die Software==
 
==Die Software==
Line 61: Line 84:
 
File:IMG_6594.JPG
 
File:IMG_6594.JPG
 
</gallery><br>
 
</gallery><br>
 +
 +
  
 
==Probleme==
 
==Probleme==

Revision as of 10:20, 24 September 2012

RJ45 Buchse

Person

Nick im IRC: djmaster oder djmaster2
Web: http://wiki.senseye.org/

Bauteile

Für Etherrape Module

Bauteil Hersteller HerstellerNr Lieferant Bestellnummer Dokumente Sonstiges
RJ45 Buchse TE Connectivity 6605424-1 RS-Components 615-4361 Link Netzwerkbuchse ohne LED, Verriegelung Unten
RJ45 Buchse TE Connectivity 5-6605308-1 RS-Components 615-4383 Link Netzwerkbuchse mit LED, Verriegelung Unten
RJ45 Buchse TE Connectivity 6605759-1 RS-Components 615-4399 Link Netzwerkbuchse ohne LED, Verriegelung Oben
RJ45 Buchse TE Connectivity 5-6605758-1 RS-Components 615-4412 Link Netzwerkbuchse mit LED, Verriegelung Oben
Hutschienen Gehäuse Axxatronic CNMB-4-KIT-CON Conrad 531443 - 62 Link (L x B x H) 90 x 71.0 x 58 mm


Die Software

TFTP-Bootloader & Fuses

Menuconfig:

 │ │          Load a Default Configuration  --->
 │ │                  [*]    Ethernet Bootloader
 │ │          Network  --->
 │ │              [*] Ethernet (ENC28J60) support  --->
 │ │                          Etherrape IP address: "192.168.12.220" 
 │ │                          Netmask: "255.255.255.0" 
 │ │              [*] UDP support
 │ │              [*] UDP broadcast support
 │ │          Applications --->
 │ │              [*] TFTP support --->
 │ │              Bootloader configuration  --->
 │ │                      [*] TFTP-o-matic
 │ │                      --- TFTP-o-matic configuration
 │ │                           TFTP IP address: "192.168.12.120"
 │ │                           TFTP image to load: "ethersex.bin"
make clean && make --> ethersex.hex
=======The ethersex project========
Compiled for: atmega644 at 20000000Hz
Imagesize: 6064/65536 bytes (9.25%)
  [==----------------------------]

Program (.text + .data) : 6064 bytes
Data (.data + .bss)     :  826 bytes

===================================
sudo avrdude -cusbasp -pm644 -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfc:m
sudo avrdude -cusbasp -pm644 -U flash:w:ethersex.hex
sudo avrdude -cusbasp -pm644 -U lock:w:0x0F:m

Achtung bei den SMD Typen vom mega644, ich habe mega644P bekommen, wobei ich jetzt nicht weiß ob die SMD immer P Typen sind. Egal das Problem ist man sollte avrdude genau lesen und auch "-p m644p" anhängen da der P Type eine andere Signatur aufweist. Hat mich ne Stunde gekostet. ;)


Bilder

Testsystem


Messstation



Probleme

25.1.2011 - ethersex mit m644 und 32khz uhrenquarz.
datenblatt mega644 seite 101 - http://www.atmel.com/dyn/resources/prod_documents/doc2593.pdf
services/clock/clock.c - zeile 64

<obiflix> du könntest https://github.com/ethersex/ethersex/commit/da511f074940423e8e8ef7ee67ca20e6d91f608c rückgängig machen
<obiflix> möglicherweise bekommst du dann probleme mit dcf77, falls du das nutzen möchtest, aber einen versuch ist es wert ;)

Notiz: Hat funktioniert für den MEGA644

Update#1
26.1.2011 - Problem sollte nun behoben sein, Danke an eku!

master Erik Kunze * ae3ef98 (2 files in 1 dirs): use timer makros for prescaler 64 (32768Hz/256/64=2Hz) - http://bit.ly/eG2d4c

--- DCF muss noch getestet werden