Hey Leute, hab mir das myEthernet gekauft und es jetzt endlich zum laufen gebracht. Jetzt wollt ich Anfangen meine eigene Firmware zu schreiben und habe dazu erstmal die ganzen Dateien (33 Stück) die dabei waren in ein Neues Projekt rein geladen. Das einzige was ich bisher geändert habe ist, dass ich die ganzen *.h Dateien in eine C Datei included habe. Lasse ich dieses Includes weg, gibt es auch keine Fehler... (Fehler siehe Anhang) Es sind immer die gleichen. Ich muss dazu sagen das ich erst vor kurzem auf das AVR Studio 6 umgestiegen bin. Habe das gleiche aber auch mit AVR Studio 4.19 ausprobiert mit dem selben Ergebnis. Ist es vielleicht eine Compiler Einstellung oder so? Stehe irgendwie auf dem schlauch. Oder ist es weil ich kein SiSy verwende? hier meine myEthernet.c, wobei ich den Dateipfad direkt mit Shift+Rechte Maustaste in die Zwischenablage kopierte und sich von der Seite her kein Fehler einschleichen können.
1 | /*
|
2 | * myEthernet.c
|
3 | *
|
4 | * Created: 24.11.2013 18:26:19
|
5 | * Author: Hohmi
|
6 | */
|
7 | |
8 | |
9 | #include <avr/io.h> |
10 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Debug.h" |
11 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\DebugUart.h" |
12 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\DigitalLine.h" |
13 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\DigitalOut.h" |
14 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\DigitalOutLowAktiv.h" |
15 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Directory.h" |
16 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\DirEntryCache.h" |
17 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Eeprom2.h" |
18 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\ENC28J60.h" |
19 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Ethernet.h" |
20 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\EthernetTcp.h" |
21 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Fat.h" |
22 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\File.h" |
23 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\M8_DigitalInOut.h" |
24 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\M8_Mx8_SPI.h" |
25 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\M8_TWI.h" |
26 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\M8_Uart.h" |
27 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\MmcCardBuffer.h" |
28 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Mx8_Timer.h" |
29 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\myAVR_String.h" |
30 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\MyCard.h" |
31 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\myEthernet.h" |
32 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Projekt_myEthernet_HwManager.h" |
33 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\SD_CARD.h" |
34 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\SD_CARD_EXT.h" |
35 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Spi.h" |
36 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\SpiMaster.h" |
37 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\SpiMasterUart.h" |
38 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\StringBig.h" |
39 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Timer1.h" |
40 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\Webserver.h" |
41 | #include "E:\Mikrocontroller\Mikrocontroller Code AVR 6\myEthernet\myEthernet\WebserverHardware.h" |
42 | |
43 | |
44 | int main(void) |
45 | {
|
46 | while(1) |
47 | {
|
48 | //TODO:: Please write your application code
|
49 | }
|
50 | }
|
Vielleicht hat einer von euch ja eine Idee, danke euch schon mal für das Lesen Mit freundlichen Grüßen Hohmi