-
        

Seite 1 von 3 123 LetzteLetzte
Ergebnis 1 bis 10 von 27

Thema: I2C Fehlerteufel

  1. #1
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18

    I2C Fehlerteufel

    Anzeige

    Servus alle miteinander!

    Ich setze mich gerade mit 2Atmega8 auseinander und zwar möchte ich das die beiden miteinander kommunizieren, der ein als Slave und der andere als Master. (Logisch ich weiß )

    So mein Problem ist aber, das das nicht funktioniert. Ich hab jetzt zur Problemlösung folgendes gemacht. Hab LEDs an Ports angeschloßen um zu sehen, ob der uC irgendwo "hängt" oder nicht weiterkommt. Also LED an -> Programm läuft etc.

    Mit Hilfe dieser neandertaler Lösung bin ich jetzt soweit dass auf meinem Master die Software zu funktionieren scheint. Tue ich das gleiche beim Slave stellt sich heraus, dass die Interruptroutine für den TWI Bus nie aufgerufen wird. Hab aber interrupts schon über sei(); enabled.

    Hab ich irgendwas im Konzept eventuell bisher falsh verstanden? Wenn der Master das Start Signal sendet müsste das doch den Interrupt beim Slave auslösen, oder?

    Nächstes. Reichen 3,7V an Spannung an den 2 Busleitungen?

    Hilfe wäre nett...

  2. #2
    Erfahrener Benutzer Robotik Einstein
    Registriert seit
    01.11.2003
    Ort
    Freiburg im Breisgau
    Alter
    29
    Beiträge
    2.624
    Hallo Fro!
    Leider kennen wir Deinen Code nicht!
    In welcher Sprache programmierst Du?
    Bitte hilf uns weiter, damit wir Dir helfen können!

    Viele Grüße
    Florian

  3. #3
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18
    Oh entschuldigug

    Code für den Master wird bald nach gereicht, da ich an einem anderen PC programmiere. Ich programmiere in C mit WinAVR. Hier aber schonmal der Code für den I2C Bus für den Slave Atmega, welchen ich glaube ich hier aus dem Forum gesaugt habe...

    Code:
    #include "i2cbus.h"
    
    unsigned char i2c_read_byte (void)
    {
    	/*send content of TWDR; TWEA = enable ACK*/
    	TWCR = (1<<TWINT) | (1<<TWEA) | (1<<TWEN);
    	/*wait, until byte has been received --> ACK*/
    	while (!(TWCR & (1<<TWINT)));
    	return TWDR;
    }
    
    unsigned char i2c_receive (void)
    {
    	unsigned char value = 0;
    	value = i2c_read_byte ();
    	return value;
    }

    Aufrufen tue ich dass dann folgendermaßen:

    Code:
    SIGNAL(SIG_2WIRE_SERIAL){
    variablexyz = i2receive();
    PORTB = 0xFF //LED am Slave anschalten;}
    Die "variablexyz" habe ich vorher als volatile deklariert und initialisiert.

  4. #4
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18
    Kleiner Nachtrag noch, ich hab vorher noch im Code für den Slave TWI über das nötige Bit natürlich enablet und eine Slave Adresse zugewiesen...

  5. #5
    Erfahrener Benutzer Robotik Einstein
    Registriert seit
    06.02.2005
    Ort
    Hamburg
    Alter
    31
    Beiträge
    4.255
    Merkwürdiges Programm deinerseits. Normalerweise fragt man im Interrupt erst mal das Statusregister TWSR ab und entscheidet nach dessen Inhalt, was gemacht werden muss [steht in ner großen Tabelle im Datenblatt]

    Mein Slave-Code:
    EDIT: Programm ins Wiki verschoben!
    http://www.roboternetz.de/wissen/ind...ve_mit_avr-gcc


    Ich arbeite mit nem Buffer, der so wie ein gewöhnliches I2C-Eeprom vom Master beschrieben wird.

  6. #6
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18
    Okay, also ich sehe ich habe das Konzept wie der I2C abläuft noch nicht wirklich ganz verstanden. Aber deswegen bastel ich auch

    Ich wollte einfach ein ganz rudimentäres Programm um schreiben um einfach zu verstehen wie das abläuft. Es soll einfach nur ein Byte übertragen werden und damit hat sich das...

    Ich werde es mal mit deinem Code probieren und sehen wie ich vorankomme.

    Danke für die Hilfe erstmal!

  7. #7
    Erfahrener Benutzer Robotik Einstein
    Registriert seit
    06.02.2005
    Ort
    Hamburg
    Alter
    31
    Beiträge
    4.255
    Les dir mal die Artikel TWI und I2C im Wiki durch, dann dürfte das Prinzip von I2V schon klar werden.

  8. #8
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18
    Hab ich schon mehrmals getan, aber zwischen der grauen Theorie und dem eigentlich programmieren liegen für mich dann doch schon Welten....aber ich versuch mich durchzubeißen.

    Hier jetzt der I2Ccode für den Master:
    Code:
    #include "i2cbus.h"
    
    
    void i2c_send_init (void)
    {
    	/*setting for 10Mhz and SCL 100kHz -> TWBR factor = 42
    	SCL = CPU/(16+2*TWBR*4)*/
    	TWBR = 0x2A;
    }
    
    void i2c_receive_init (void){
    	/*Hier wird der Empfang für den Atmega als Slave deklariert. DAzu muss TWAR gesetzt werden*/
    	TWAR = 0x02; //Adresse des Slaves ist 0x02
    	
    	//Dazu muss noch TWEN gesetzt werden, um TWI zu erlaubgen
    	TWCR = (1<<TWEA)|(1<<TWEN);
    }
    
    unsigned char i2c_send_start (void)
    {
    	/*writing a one to TWINT clears it, TWSTA=Start, TWEN=TWI-enable*/
    	TWCR = (1<<TWINT) | (1<<TWSTA) | (1<<TWEN);
    	/*wait, until start condition has been sent --> ACK*/
    	while (!(TWCR & (1<<TWINT)));
    	return TWSR;
    }
    
    
    void i2c_send_stop (void)
    {
    	/*writing a one to TWINT clears it, TWSTO=Stop, TWEN=TWI-enable*/
    	TWCR = (1<<TWINT) | (1<<TWSTO) | (1<<TWEN);	
    }
    
    
    unsigned char i2c_send_add_rw (unsigned char address, unsigned char rw)
    {
    	/*address can be 0 .. 3; rw=0 --> write, rw=1 --> read*/
    	unsigned char addr_byte = 0;
    	/*shift address one bit left*/
    	addr_byte = address << 1;
    	/*set RW-Bit, if necessary*/
    	addr_byte |= rw;
    	/*0b10100xxx --> address of EEPROM*/
    	addr_byte |= 0xA0;
    	/*TWDR contains byte to send*/
    	TWDR = addr_byte;
    	/*send content of TWDR*/
    	TWCR = (1<<TWINT) | (1<<TWEN);
    	
    	/*wait, until address has been sent --> ACK*/
    	while (!(TWCR & (1<<TWINT)));
    	
    	return TWSR;
    }
    
    
    unsigned char i2c_send_byte (unsigned char byte)
    {
    	/*TWDR contains byte to send*/
    	TWDR = byte;
    	/*send content of TWDR*/
    	TWCR = (1<<TWINT) | (1<<TWEN);
    	
    	/*wait, until byte has been sent --> ACK*/
    	while (!(TWCR & (1<<TWINT)));
    	
    	return TWSR;
    }
    
    
    unsigned char i2c_read_byte (void)
    {
    	/*send content of TWDR; TWEA = enable ACK*/
    	TWCR = (1<<TWINT) | (1<<TWEA) | (1<<TWEN);
    	/*wait, until byte has been received --> ACK*/
    	while (!(TWCR & (1<<TWINT)));
    	return TWDR;
    }
    
    void i2c_send (unsigned char deviceadd, unsigned char value)
    {
    	/*initialization*/
    	i2c_send_init ();
    	PORTB |= (1<<PB1);
    	/*start condition*/
    	i2c_send_start ();
    
    	/*send device address an R/W*/
    	i2c_send_add_rw (deviceadd, 0);
    	
    	i2c_send_byte (value);
    
    	/*send stop condition*/
    	i2c_send_stop ();
    	PORTB |= (1<<PB2);
    }
    
    unsigned char i2c_receive (void)
    {
    	unsigned char value = 0;
    	/*initialization*/
    	i2c_receive_init ();
    
    	value = i2c_read_byte ();
    
    	return value;
    }
    das ganze wird dann aufgerufen über
    Code:
    #include <avr/io.h>
    #include <avr/interrupt.h>
    #include "i2c/i2cbus.h"
    #include <compat/twi.h>
    
    
    
    
    void main(void){
    	DDRD = 0x00; //PORTD als Eingang
    	PORTD = 0xFF; // Pull-Up Widerstände an Port D aktiviert -> Schalter als Active-Low ausführen
    	
    	unsigned char goal1 = 23;
    	timer_init();
    	
    	
    	for(;;){
    
    		if (!(PIND & (1 << PD7))){
    			
    			goal1++;
    			i2c_send(0x02, goal1);
    		}
    
    		
    	}
    }
    //end of bedienfeld.c

  9. #9
    Erfahrener Benutzer Robotik Einstein
    Registriert seit
    06.02.2005
    Ort
    Hamburg
    Alter
    31
    Beiträge
    4.255
    für den master nehm ich die lib von p. fleury. Die funktioniert gut, und so muss man sich nur noch mit den slave rumschlagen...

  10. #10
    Neuer Benutzer Öfters hier
    Registriert seit
    23.01.2005
    Beiträge
    18
    Also ich hab jetzt mal die Master-lib von p.fleury verwendet und den Slave-Code von uwegw. In twimaster.c habe ich die Taktfrequenz angepasst und in i2cmaster.S die Ports für TWI auf PORTC umgestellt.

    Ich bekomme jedoch beim compilieren ein menge fehlermeldungen, die sich so äußern:
    Code:
    Linking: bedienfeld.elf
    avr-gcc -mmcu=atmega8 -I. -gdwarf-2 -DF_CPU=10000000UL  -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=bedienfeld.o  -std=gnu99 -MD -MP -MF .dep/bedienfeld.elf.d bedienfeld.o i2cmaster/i2cmaster.S i2cmaster/twimaster.o C:/WinAVR/avr/include/avr/version.h --output bedienfeld.elf -Wl,-Map=bedienfeld.map,--cref    -lm
    C:/WinAVR/avr/include/stdint.h: Assembler messages:
    C:/WinAVR/avr/include/stdint.h:116: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:117: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:118: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:119: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:120: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:121: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:122: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:123: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:135: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:140: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:152: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:157: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:162: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:167: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:172: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:177: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:182: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:187: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:200: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:205: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:210: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:215: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:220: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:225: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:230: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:235: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:249: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/stdint.h:254: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/inttypes.h:76: Error: unknown opcode `typedef'
    C:/WinAVR/avr/include/inttypes.h:80: Error: unknown opcode `typedef'
    i2cmaster/i2cmaster.S:94: Error: bad expression
    i2cmaster/i2cmaster.S:94: Error: missing ')'
    i2cmaster/i2cmaster.S:94: Error: missing ')'
    i2cmaster/i2cmaster.S:94: Error: missing ')'
    i2cmaster/i2cmaster.S:94: Error: missing ')'
    i2cmaster/i2cmaster.S:94: Error: missing ')'
    i2cmaster/i2cmaster.S:94: Error: constant value required
    i2cmaster/i2cmaster.S:94: Error: `,' required
    i2cmaster/i2cmaster.S:94: Error: constant value required
    i2cmaster/i2cmaster.S:94: Error: garbage at end of line
    i2cmaster/i2cmaster.S:95: Error: bad expression
    i2cmaster/i2cmaster.S:95: Error: missing ')'
    i2cmaster/i2cmaster.S:95: Error: missing ')'
    i2cmaster/i2cmaster.S:95: Error: missing ')'
    i2cmaster/i2cmaster.S:95: Error: missing ')'
    i2cmaster/i2cmaster.S:95: Error: missing ')'
    i2cmaster/i2cmaster.S:95: Error: constant value required
    i2cmaster/i2cmaster.S:95: Error: `,' required
    i2cmaster/i2cmaster.S:95: Error: constant value required
    i2cmaster/i2cmaster.S:95: Error: garbage at end of line
    i2cmaster/i2cmaster.S:96: Error: bad expression
    i2cmaster/i2cmaster.S:96: Error: missing ')'
    i2cmaster/i2cmaster.S:96: Error: missing ')'
    i2cmaster/i2cmaster.S:96: Error: missing ')'
    i2cmaster/i2cmaster.S:96: Error: missing ')'
    i2cmaster/i2cmaster.S:96: Error: constant value required
    i2cmaster/i2cmaster.S:96: Error: `,' required
    i2cmaster/i2cmaster.S:96: Error: constant value required
    i2cmaster/i2cmaster.S:96: Error: garbage at end of line
    i2cmaster/i2cmaster.S:97: Error: bad expression
    i2cmaster/i2cmaster.S:97: Error: missing ')'
    i2cmaster/i2cmaster.S:97: Error: missing ')'
    i2cmaster/i2cmaster.S:97: Error: missing ')'
    i2cmaster/i2cmaster.S:97: Error: missing ')'
    i2cmaster/i2cmaster.S:97: Error: constant value required
    i2cmaster/i2cmaster.S:97: Error: `,' required
    i2cmaster/i2cmaster.S:97: Error: constant value required
    i2cmaster/i2cmaster.S:97: Error: garbage at end of line
    i2cmaster/i2cmaster.S:113: Error: bad expression
    i2cmaster/i2cmaster.S:113: Error: missing ')'
    i2cmaster/i2cmaster.S:113: Error: missing ')'
    i2cmaster/i2cmaster.S:113: Error: missing ')'
    i2cmaster/i2cmaster.S:113: Error: missing ')'
    i2cmaster/i2cmaster.S:113: Error: missing ')'
    i2cmaster/i2cmaster.S:113: Error: constant value required
    i2cmaster/i2cmaster.S:113: Error: `,' required
    i2cmaster/i2cmaster.S:113: Error: constant value required
    i2cmaster/i2cmaster.S:113: Error: garbage at end of line
    i2cmaster/i2cmaster.S:132: Error: bad expression
    i2cmaster/i2cmaster.S:132: Error: missing ')'
    i2cmaster/i2cmaster.S:132: Error: missing ')'
    i2cmaster/i2cmaster.S:132: Error: missing ')'
    i2cmaster/i2cmaster.S:132: Error: missing ')'
    i2cmaster/i2cmaster.S:132: Error: missing ')'
    i2cmaster/i2cmaster.S:132: Error: constant value required
    i2cmaster/i2cmaster.S:132: Error: `,' required
    i2cmaster/i2cmaster.S:132: Error: constant value required
    i2cmaster/i2cmaster.S:132: Error: garbage at end of line
    i2cmaster/i2cmaster.S:134: Error: bad expression
    i2cmaster/i2cmaster.S:134: Error: missing ')'
    i2cmaster/i2cmaster.S:134: Error: missing ')'
    i2cmaster/i2cmaster.S:134: Error: missing ')'
    i2cmaster/i2cmaster.S:134: Error: missing ')'
    i2cmaster/i2cmaster.S:134: Error: missing ')'
    i2cmaster/i2cmaster.S:134: Error: constant value required
    i2cmaster/i2cmaster.S:134: Error: `,' required
    i2cmaster/i2cmaster.S:134: Error: constant value required
    i2cmaster/i2cmaster.S:134: Error: garbage at end of line
    i2cmaster/i2cmaster.S:136: Error: bad expression
    i2cmaster/i2cmaster.S:136: Error: missing ')'
    i2cmaster/i2cmaster.S:136: Error: missing ')'
    i2cmaster/i2cmaster.S:136: Error: missing ')'
    i2cmaster/i2cmaster.S:136: Error: missing ')'
    i2cmaster/i2cmaster.S:136: Error: missing ')'
    i2cmaster/i2cmaster.S:136: Error: constant value required
    i2cmaster/i2cmaster.S:136: Error: `,' required
    i2cmaster/i2cmaster.S:136: Error: constant value required
    i2cmaster/i2cmaster.S:136: Error: garbage at end of line
    i2cmaster/i2cmaster.S:138: Error: bad expression
    i2cmaster/i2cmaster.S:138: Error: missing ')'
    i2cmaster/i2cmaster.S:138: Error: missing ')'
    i2cmaster/i2cmaster.S:138: Error: missing ')'
    i2cmaster/i2cmaster.S:138: Error: missing ')'
    i2cmaster/i2cmaster.S:138: Error: missing ')'
    i2cmaster/i2cmaster.S:138: Error: constant value required
    i2cmaster/i2cmaster.S:138: Error: `,' required
    i2cmaster/i2cmaster.S:138: Error: constant value required
    i2cmaster/i2cmaster.S:138: Error: garbage at end of line
    i2cmaster/i2cmaster.S:159: Error: bad expression
    i2cmaster/i2cmaster.S:159: Error: missing ')'
    i2cmaster/i2cmaster.S:159: Error: missing ')'
    i2cmaster/i2cmaster.S:159: Error: missing ')'
    i2cmaster/i2cmaster.S:159: Error: missing ')'
    i2cmaster/i2cmaster.S:159: Error: missing ')'
    i2cmaster/i2cmaster.S:159: Error: constant value required
    i2cmaster/i2cmaster.S:159: Error: `,' required
    i2cmaster/i2cmaster.S:159: Error: constant value required
    i2cmaster/i2cmaster.S:159: Error: garbage at end of line
    i2cmaster/i2cmaster.S:181: Error: bad expression
    i2cmaster/i2cmaster.S:181: Error: missing ')'
    i2cmaster/i2cmaster.S:181: Error: missing ')'
    i2cmaster/i2cmaster.S:181: Error: missing ')'
    i2cmaster/i2cmaster.S:181: Error: missing ')'
    i2cmaster/i2cmaster.S:181: Error: missing ')'
    i2cmaster/i2cmaster.S:181: Error: constant value required
    i2cmaster/i2cmaster.S:181: Error: `,' required
    i2cmaster/i2cmaster.S:181: Error: constant value required
    i2cmaster/i2cmaster.S:181: Error: garbage at end of line
    i2cmaster/i2cmaster.S:182: Error: bad expression
    i2cmaster/i2cmaster.S:182: Error: missing ')'
    i2cmaster/i2cmaster.S:182: Error: missing ')'
    i2cmaster/i2cmaster.S:182: Error: missing ')'
    i2cmaster/i2cmaster.S:182: Error: missing ')'
    i2cmaster/i2cmaster.S:182: Error: missing ')'
    i2cmaster/i2cmaster.S:182: Error: constant value required
    i2cmaster/i2cmaster.S:182: Error: `,' required
    i2cmaster/i2cmaster.S:182: Error: constant value required
    i2cmaster/i2cmaster.S:182: Error: garbage at end of line
    i2cmaster/i2cmaster.S:184: Error: bad expression
    i2cmaster/i2cmaster.S:184: Error: missing ')'
    i2cmaster/i2cmaster.S:184: Error: missing ')'
    i2cmaster/i2cmaster.S:184: Error: missing ')'
    i2cmaster/i2cmaster.S:184: Error: missing ')'
    i2cmaster/i2cmaster.S:184: Error: missing ')'
    i2cmaster/i2cmaster.S:184: Error: constant value required
    i2cmaster/i2cmaster.S:184: Error: `,' required
    i2cmaster/i2cmaster.S:184: Error: constant value required
    i2cmaster/i2cmaster.S:184: Error: garbage at end of line
    i2cmaster/i2cmaster.S:186: Error: bad expression
    i2cmaster/i2cmaster.S:186: Error: missing ')'
    i2cmaster/i2cmaster.S:186: Error: missing ')'
    i2cmaster/i2cmaster.S:186: Error: missing ')'
    i2cmaster/i2cmaster.S:186: Error: missing ')'
    i2cmaster/i2cmaster.S:186: Error: missing ')'
    i2cmaster/i2cmaster.S:186: Error: constant value required
    i2cmaster/i2cmaster.S:186: Error: `,' required
    i2cmaster/i2cmaster.S:186: Error: constant value required
    i2cmaster/i2cmaster.S:186: Error: garbage at end of line
    i2cmaster/i2cmaster.S:209: Error: bad expression
    i2cmaster/i2cmaster.S:209: Error: missing ')'
    i2cmaster/i2cmaster.S:209: Error: missing ')'
    i2cmaster/i2cmaster.S:209: Error: missing ')'
    i2cmaster/i2cmaster.S:209: Error: missing ')'
    i2cmaster/i2cmaster.S:209: Error: missing ')'
    i2cmaster/i2cmaster.S:209: Error: constant value required
    i2cmaster/i2cmaster.S:209: Error: `,' required
    i2cmaster/i2cmaster.S:209: Error: constant value required
    i2cmaster/i2cmaster.S:209: Error: garbage at end of line
    i2cmaster/i2cmaster.S:212: Error: bad expression
    i2cmaster/i2cmaster.S:212: Error: missing ')'
    i2cmaster/i2cmaster.S:212: Error: missing ')'
    i2cmaster/i2cmaster.S:212: Error: missing ')'
    i2cmaster/i2cmaster.S:212: Error: missing ')'
    i2cmaster/i2cmaster.S:212: Error: missing ')'
    i2cmaster/i2cmaster.S:212: Error: constant value required
    i2cmaster/i2cmaster.S:212: Error: `,' required
    i2cmaster/i2cmaster.S:212: Error: constant value required
    i2cmaster/i2cmaster.S:212: Error: garbage at end of line
    i2cmaster/i2cmaster.S:215: Error: bad expression
    i2cmaster/i2cmaster.S:215: Error: missing ')'
    i2cmaster/i2cmaster.S:215: Error: missing ')'
    i2cmaster/i2cmaster.S:215: Error: missing ')'
    i2cmaster/i2cmaster.S:215: Error: missing ')'
    i2cmaster/i2cmaster.S:215: Error: missing ')'
    i2cmaster/i2cmaster.S:215: Error: constant value required
    i2cmaster/i2cmaster.S:215: Error: `,' required
    i2cmaster/i2cmaster.S:215: Error: constant value required
    i2cmaster/i2cmaster.S:215: Error: garbage at end of line
    i2cmaster/i2cmaster.S:219: Error: bad expression
    i2cmaster/i2cmaster.S:219: Error: missing ')'
    i2cmaster/i2cmaster.S:219: Error: missing ')'
    i2cmaster/i2cmaster.S:219: Error: missing ')'
    i2cmaster/i2cmaster.S:219: Error: missing ')'
    i2cmaster/i2cmaster.S:219: Error: missing ')'
    i2cmaster/i2cmaster.S:219: Error: constant value required
    i2cmaster/i2cmaster.S:219: Error: `,' required
    i2cmaster/i2cmaster.S:219: Error: constant value required
    i2cmaster/i2cmaster.S:219: Error: garbage at end of line
    i2cmaster/i2cmaster.S:224: Error: bad expression
    i2cmaster/i2cmaster.S:224: Error: missing ')'
    i2cmaster/i2cmaster.S:224: Error: missing ')'
    i2cmaster/i2cmaster.S:224: Error: missing ')'
    i2cmaster/i2cmaster.S:224: Error: missing ')'
    i2cmaster/i2cmaster.S:224: Error: missing ')'
    i2cmaster/i2cmaster.S:224: Error: constant value required
    i2cmaster/i2cmaster.S:224: Error: `,' required
    i2cmaster/i2cmaster.S:224: Error: constant value required
    i2cmaster/i2cmaster.S:224: Error: garbage at end of line
    i2cmaster/i2cmaster.S:225: Error: bad expression
    i2cmaster/i2cmaster.S:225: Error: missing ')'
    i2cmaster/i2cmaster.S:225: Error: missing ')'
    i2cmaster/i2cmaster.S:225: Error: missing ')'
    i2cmaster/i2cmaster.S:225: Error: missing ')'
    i2cmaster/i2cmaster.S:225: Error: missing ')'
    i2cmaster/i2cmaster.S:225: Error: constant value required
    i2cmaster/i2cmaster.S:225: Error: `,' required
    i2cmaster/i2cmaster.S:225: Error: constant value required
    i2cmaster/i2cmaster.S:225: Error: garbage at end of line
    i2cmaster/i2cmaster.S:227: Error: bad expression
    i2cmaster/i2cmaster.S:227: Error: missing ')'
    i2cmaster/i2cmaster.S:227: Error: missing ')'
    i2cmaster/i2cmaster.S:227: Error: missing ')'
    i2cmaster/i2cmaster.S:227: Error: missing ')'
    i2cmaster/i2cmaster.S:227: Error: missing ')'
    i2cmaster/i2cmaster.S:227: Error: constant value required
    i2cmaster/i2cmaster.S:227: Error: `,' required
    i2cmaster/i2cmaster.S:227: Error: constant value required
    i2cmaster/i2cmaster.S:227: Error: garbage at end of line
    i2cmaster/i2cmaster.S:229: Error: bad expression
    i2cmaster/i2cmaster.S:229: Error: missing ')'
    i2cmaster/i2cmaster.S:229: Error: missing ')'
    i2cmaster/i2cmaster.S:229: Error: missing ')'
    i2cmaster/i2cmaster.S:229: Error: missing ')'
    i2cmaster/i2cmaster.S:229: Error: missing ')'
    i2cmaster/i2cmaster.S:229: Error: constant value required
    i2cmaster/i2cmaster.S:229: Error: `,' required
    i2cmaster/i2cmaster.S:229: Error: constant value required
    i2cmaster/i2cmaster.S:229: Error: garbage at end of line
    i2cmaster/i2cmaster.S:233: Error: bad expression
    i2cmaster/i2cmaster.S:233: Error: missing ')'
    i2cmaster/i2cmaster.S:233: Error: missing ')'
    i2cmaster/i2cmaster.S:233: Error: missing ')'
    i2cmaster/i2cmaster.S:233: Error: missing ')'
    i2cmaster/i2cmaster.S:233: Error: missing ')'
    i2cmaster/i2cmaster.S:233: Error: constant value required
    i2cmaster/i2cmaster.S:233: Error: `,' required
    i2cmaster/i2cmaster.S:233: Error: constant value required
    i2cmaster/i2cmaster.S:233: Error: garbage at end of line
    i2cmaster/i2cmaster.S:265: Error: bad expression
    i2cmaster/i2cmaster.S:265: Error: missing ')'
    i2cmaster/i2cmaster.S:265: Error: missing ')'
    i2cmaster/i2cmaster.S:265: Error: missing ')'
    i2cmaster/i2cmaster.S:265: Error: missing ')'
    i2cmaster/i2cmaster.S:265: Error: missing ')'
    i2cmaster/i2cmaster.S:265: Error: constant value required
    i2cmaster/i2cmaster.S:265: Error: `,' required
    i2cmaster/i2cmaster.S:265: Error: constant value required
    i2cmaster/i2cmaster.S:265: Error: garbage at end of line
    i2cmaster/i2cmaster.S:266: Error: bad expression
    i2cmaster/i2cmaster.S:266: Error: missing ')'
    i2cmaster/i2cmaster.S:266: Error: missing ')'
    i2cmaster/i2cmaster.S:266: Error: missing ')'
    i2cmaster/i2cmaster.S:266: Error: missing ')'
    i2cmaster/i2cmaster.S:266: Error: missing ')'
    i2cmaster/i2cmaster.S:266: Error: constant value required
    i2cmaster/i2cmaster.S:266: Error: `,' required
    i2cmaster/i2cmaster.S:266: Error: constant value required
    i2cmaster/i2cmaster.S:266: Error: garbage at end of line
    i2cmaster/i2cmaster.S:269: Error: bad expression
    i2cmaster/i2cmaster.S:269: Error: missing ')'
    i2cmaster/i2cmaster.S:269: Error: missing ')'
    i2cmaster/i2cmaster.S:269: Error: missing ')'
    i2cmaster/i2cmaster.S:269: Error: missing ')'
    i2cmaster/i2cmaster.S:269: Error: missing ')'
    i2cmaster/i2cmaster.S:269: Error: constant value required
    i2cmaster/i2cmaster.S:269: Error: `,' required
    i2cmaster/i2cmaster.S:269: Error: constant value required
    i2cmaster/i2cmaster.S:269: Error: garbage at end of line
    i2cmaster/i2cmaster.S:273: Error: bad expression
    i2cmaster/i2cmaster.S:273: Error: missing ')'
    i2cmaster/i2cmaster.S:273: Error: missing ')'
    i2cmaster/i2cmaster.S:273: Error: missing ')'
    i2cmaster/i2cmaster.S:273: Error: missing ')'
    i2cmaster/i2cmaster.S:273: Error: missing ')'
    i2cmaster/i2cmaster.S:273: Error: constant value required
    i2cmaster/i2cmaster.S:273: Error: `,' required
    i2cmaster/i2cmaster.S:273: Error: constant value required
    i2cmaster/i2cmaster.S:273: Error: garbage at end of line
    i2cmaster/i2cmaster.S:280: Error: bad expression
    i2cmaster/i2cmaster.S:280: Error: missing ')'
    i2cmaster/i2cmaster.S:280: Error: missing ')'
    i2cmaster/i2cmaster.S:280: Error: missing ')'
    i2cmaster/i2cmaster.S:280: Error: missing ')'
    i2cmaster/i2cmaster.S:280: Error: missing ')'
    i2cmaster/i2cmaster.S:280: Error: constant value required
    i2cmaster/i2cmaster.S:280: Error: `,' required
    i2cmaster/i2cmaster.S:280: Error: constant value required
    i2cmaster/i2cmaster.S:280: Error: garbage at end of line
    i2cmaster/i2cmaster.S:283: Error: bad expression
    i2cmaster/i2cmaster.S:283: Error: missing ')'
    i2cmaster/i2cmaster.S:283: Error: missing ')'
    i2cmaster/i2cmaster.S:283: Error: missing ')'
    i2cmaster/i2cmaster.S:283: Error: missing ')'
    i2cmaster/i2cmaster.S:283: Error: missing ')'
    i2cmaster/i2cmaster.S:283: Error: constant value required
    i2cmaster/i2cmaster.S:283: Error: `,' required
    i2cmaster/i2cmaster.S:283: Error: constant value required
    i2cmaster/i2cmaster.S:283: Error: garbage at end of line
    i2cmaster/i2cmaster.S:286: Error: bad expression
    i2cmaster/i2cmaster.S:286: Error: missing ')'
    i2cmaster/i2cmaster.S:286: Error: missing ')'
    i2cmaster/i2cmaster.S:286: Error: missing ')'
    i2cmaster/i2cmaster.S:286: Error: missing ')'
    i2cmaster/i2cmaster.S:286: Error: missing ')'
    i2cmaster/i2cmaster.S:286: Error: constant value required
    i2cmaster/i2cmaster.S:286: Error: `,' required
    i2cmaster/i2cmaster.S:286: Error: constant value required
    i2cmaster/i2cmaster.S:286: Error: garbage at end of line
    i2cmaster/i2cmaster.S:289: Error: bad expression
    i2cmaster/i2cmaster.S:289: Error: missing ')'
    i2cmaster/i2cmaster.S:289: Error: missing ')'
    i2cmaster/i2cmaster.S:289: Error: missing ')'
    i2cmaster/i2cmaster.S:289: Error: missing ')'
    i2cmaster/i2cmaster.S:289: Error: missing ')'
    i2cmaster/i2cmaster.S:289: Error: constant value required
    i2cmaster/i2cmaster.S:289: Error: `,' required
    i2cmaster/i2cmaster.S:289: Error: constant value required
    i2cmaster/i2cmaster.S:289: Error: garbage at end of line
    i2cmaster/i2cmaster.S:291: Error: bad expression
    i2cmaster/i2cmaster.S:291: Error: missing ')'
    i2cmaster/i2cmaster.S:291: Error: missing ')'
    i2cmaster/i2cmaster.S:291: Error: missing ')'
    i2cmaster/i2cmaster.S:291: Error: missing ')'
    i2cmaster/i2cmaster.S:291: Error: missing ')'
    i2cmaster/i2cmaster.S:291: Error: constant value required
    i2cmaster/i2cmaster.S:291: Error: `,' required
    i2cmaster/i2cmaster.S:291: Error: constant value required
    i2cmaster/i2cmaster.S:291: Error: garbage at end of line
    make.exe: *** [bedienfeld.elf] Error 1

Seite 1 von 3 123 LetzteLetzte

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •