Show Posts
Pages: [1]
1  International / Deutsch / Re: ATTiny13 mit Uno als ISP - mag nicht on: June 17, 2014, 02:11:21 am
Gerne
bin ab Montag zwei Wochen in China, kann mich aber abends im Hotel einloggen.
2  International / Deutsch / Re: ATTiny13 mit Uno als ISP - mag nicht on: June 16, 2014, 02:25:10 pm
Moin

ich habe dann wieder 0x7A zurück geändert und bekomme nun diese Fehlermeldung:

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny13
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

hat jemand eine Idee??? Ich finde beim googlen nur andere , die dasselbe Problem haben
3  International / Deutsch / Double check connections and try again, or use -F to override on: June 16, 2014, 02:09:43 pm
Moin

nach einigem Studium im Forum habe ich den Eintrag in Boards.TXT wie folgt geändert:

attiny13.name=ATtiny13 @ 9.6MHz (interne 9.6 MHz clock)
attiny13.upload.using=arduino:arduinoisp
attiny13.upload.speed=19200
attiny13.bootloader.low_fuses=0x7B
attiny13.bootloader.high_fuses=0xff
attiny13.upload.maximum_size=1024

attiny13.build.mcu=attiny13
attiny13.build.f_cpu=128000
attiny13.build.core=core13



Anschliessend IDE gestartet, dieses Board ausgewählt und erhalte nun diese nette Fehlermeldung:

Double check connections and try again, or use -F to override
         this check.

ich kann es immer wieder versuchen, aber die Meldung bleibt.
Nehme ich einen neuen Attiny13 und den ursprünglichen boards.txt, dann kann ich den bootloader problemlos installieren und anschliessend über den Uno als ISP Programme auf den Attiny13 laden.

Mein Verdacht: ich habe mit den anderen Einträgen fuses so gebrannt, dass das Ding nun unbrauchbar geworden ist. Stimmt das??
4  International / Deutsch / Re: ATTiny13 mit Uno als ISP - mag nicht on: June 16, 2014, 11:36:09 am
Moin
Habe die core13 runtergeladen. Bootloader in IDE durchgeführt, positive Rückmeldung.
Gleichwohl läuft er zu schnell, ich checke morgen mit dem Monitor mal im Detail, was eigentlich im Detail abläuft.
5  International / Deutsch / Re: ATTiny13 mit Uno als ISP - mag nicht on: June 15, 2014, 04:40:55 pm
Moin
Ich habe gestern und heute mit der Programmierung des attiny 13 gekämpft. Als programmer wird ein UNO genommen. Neueste Arduino IDE.
BLINK aus den Beispielen geht gut, auch wenn delay(1000)  um den Faktor 6 zu schnell geht. Um 1 Sekunde zu erreichen muss Delay (6200) genommen werden.

Aber
Programme, die auf dem UNO laufen, z.b. unter Verwendung von millis() laufen nicht auf dem attiny 13. ich habe dann einen Counter hochzählen lassen, um von millis unabhängig zu sein. Läuft auf UNO aber nicht auf dem attini13.

Dann habe ich die Loop mit  einer Abfolge von Delay (Zeit)  und digitalWrite dazwischen gemacht. Sehr unelegant, aber letztendlich geht es nun.

Randeffekt.
Um ein Delay von größer 10 Sekunden zu erreichen, musste ich zweimal delay(1000000) eingeben, da größere Zahlen nichts bewirken.


Was muss ich ändern, und wie muss ich das machen damit Programme auch auf dem attiny13 laufen.

Gruß Wolfgang
6  Using Arduino / Installation & Troubleshooting / Arduino Uno "lost" serial port on: November 07, 2012, 04:58:43 am
Hi
I made a setup with Transistors and 1k resisitor to the base for 10 relais to control lights on my model train setup.
I connected the Uno to it for outputs 13 to 4.
I connected the Uno to an external 12 V DC power supply.
I connected the 12 V relais to the Vin pin of the Uno.
I uploaded the "blink" program to check one relais after the other.
The first relais followed the blink, so I uploaded the sketch with out puts 12, 11, 10
So far so good.
In parallel I connected my iPhone to another USB port.

Then it happened

All of  a sudden the serial port of the Uno was gone.

I tried another Uno, it connected.
I tried the Uno with another computer .. nothing.
I switched to another USB cable ... nothing.

When the Uno in question is connected to the USB cable, the green power LED is on. The LED 13 is still blinking. So th eBlink sketch is still running.
I measured pin 13, it is switching between 0 and 5 V DC.
I measured Vin, it shows 12 V.

I connected pin 13 to my relais - transistor setup. The relais are still switching. So I assume that at least output 13 is still OK.

However the tools in the IDE does not allow to connect "serial port", that menu section is grey.

I am using an Acer computer with windows 7 (64) and another laptop with windows 7 (32).
Both can manage other Arduinos (Uno and diecimila), however this board no longer.

What went wrong, can it be fixed? or shall I buy a new one.

But I want to know what happened, so it should not happen again.

Thanky for your help.

Wolfgang
7  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 04:04:10 pm
Hi
if I try to upload I receive:

Binäre Sketchgröße: 23.448 Bytes (von einem Maximum von 32.256 Bytes)
avrdude: verification error, first mismatch at byte 0x2680
         0xff != 0x51
avrdude: verification error; content mismatch

I will be on a business trip all next week, so I have to stop at this time.
Thank you for your support so far.

Wolfgang
8  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 11:40:08 am
Hi
I tried.
The heartbeat LED does it.
However if I try to install bootloader via tools it says

avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.
9  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 04:06:36 am
Hi
I found the dot. I will try
see my set up as before as attachment.

I tried with a cable I configured from old PC remains.
I connected #5 to pin 10 of the programming boad as well.

I get the same result.
I figured that "confirm" is always "0", so it never will match "programAcknowledge" to leave the loop.
when I forced the loop to be left, it says "unrecognized signature".

Ah, something is different. When I press "reset" on either boards, the loop starts again (with the same result) and LED 13 flickers as well on the dead board, like it should at reset. BUT not as bright.



10  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 13, 2012, 04:17:09 pm
I went through the program
it is stuck in this loop:

void startProgramming ()
  {
  byte confirm;
  pinMode (RESET, OUTPUT);
  pinMode (SCK, OUTPUT);
  
  // we are in sync if we get back programAcknowledge on the third byte
  do
    {
    delay (100);
    // ensure SCK low
    digitalWrite (SCK, LOW);
    // then pulse reset, see page 309 of datasheet
    digitalWrite (RESET, HIGH);
    delay (1);  // pulse for at least 2 clock cycles
    digitalWrite (RESET, LOW);
    delay (25);  // wait at least 20 mS
    SPI.transfer (progamEnable);  
    SPI.transfer (programAcknowledge);  
    confirm = SPI.transfer (0);  
    SPI.transfer (0);  
    } while (confirm != programAcknowledge);
    
  Serial.println (F("Entered programming mode OK."));
  }  // end of startProgramming

I figured that "confirm" is always "0", so it never will match "programAcknowledge" to leave the loop.


D10 is connected to reset, Both are female jumpers.
When uploading, at least LED 13 of the dead board is blinking as well. that one is not dead.
But is it not performing the reset, I believe.

By the way: I just downloaded "setup_Arduino_ERW_1.0.1h_20121002.exe" with no problems. It says that the upload is done. No error message .... but it does not work either :-(

regards

Wolfgang
11  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 13, 2012, 10:08:22 am
Hi sp computing
I used my functioning Uno smd and uploaded the sketch. No error message.
I connected both boards as discribed with separate wires.
The defective board:
- shows the green power LED on.
- shows the LED 13 blinking identical to the programmer board. (ah! it ain't broken!)

I open the serial monitor and adjust to 115200 baud.
I hit reset on the programmer board.
The monitor shows:
Atmega chip programmer.
Written by Nick Gammon.

That's it, no further question.

I sent "U", nothing.
I sent "G", nothing.

What I am doing wrong?

12  Using Arduino / Installation & Troubleshooting / arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 12, 2012, 10:14:02 am
Hi
the board worked fine for some few weeks. since yesterday I receive the nice message "avrdude: stk500_getsync(): not in sync: resp=0x00".
I tried with another computer. same message.
Another Arduino UNO SMD r2 / a Diecimila works fine with the same sketch and IDE.
The board shows this
- reset does not cause LED 13 to blink
- after uploading only RX blinks three times, TX does not, LED 13 does not.
- I tried the loop, and both RX/TX blink

Did I kill something and shall I stop trying?
Is there a solution I did not find yet (I am new in this forum, I am new with Arduino as well.)
Thanks

Wolfgang
Pages: [1]