Hallo,
ich hab mich nach Versuchen wieder an einen AT90S2313 / Attiny2313 / Attiny85 gewagt (halt was die Wühlkiste von vor über 20 Jahren hergibt), mit einem Arduino UNO als ISP Programmer.
Mein 1 Frage Wie finde ich eigendlich heraus auf wieviel Mhz muss ich den Attiny Einstellen je nach Anwendung. Der DHT22 benötigt wohl mindestens 8Mhz oder 16Mhz, aber im Datenblatt vom DHT22 find ich jetzt nix was ich entsprechend interpretieren kann, ok simple ausprobieren geht auch.
Meine 2 Frage: Wie Interpretiere ich die avrdude Ausgabe? Mir fehlt da das verständnis, wie ich die Binär Zahlenreihe in verbindung mit dem Fuse Calculator b.z.w dem Datenblatt zusetzen habe, welcher Teil ist was?
Mein Problem dazu: Ich hab in der Arduino IDE auf (Burn Bootload, bin mir ganz sicher Eingestellt war Internal 8Mhz) geklickt und seit dem reagiert der Attiny85 nicht mehr. Kann es sein das er auf irgend einen externen Oszillator eingestellt ist?
-- avrdude.exe -c stk500v1 -P com7 -p t85 -n -v -b 19200 -U lfuse:r:-:i -U hfuse:r:-:i -F Avrdude version 8.0
Using port : com7 Using programmer : stk500v1 Setting baud rate : 19200 AVR part : ATtiny85 Programming modes : SPM, ISP, HVSP, debugWIRE Programmer type : STK500 Description : Atmel STK500 v1 HW Version : 2 FW Version : 1.18 Topcard : Unknown Vtarget : 0.0 V Varef : 0.0 V Oscillator : Off SCK period : 0.0 us XTAL frequency : 7.372800 MHz
AVR device initialized and ready to accept instructions Device signature = 00 00 00 (retrying) Device signature = 00 00 00 (retrying) Device signature = 00 00 00 Error: invalid device signature Warning: expected signature for ATtiny85 is 1E 93 0B
Processing -U lfuse:r:-:i Reading lfuse memory ... Writing 1 byte to output file <stdout> :0100000000FF :00000001FF
Processing -U hfuse:r:-:i Reading hfuse memory ... Writing 1 byte to output file <stdout> :0100000000FF :00000001FF
Ein nicht mishandelter Attiny85 zeigt folgendes an:
-- AVR device initialized and ready to accept instructions Device signature = 1E 93 0B (ATtiny85)
Processing -U lfuse:r:-:i Reading lfuse memory ... Writing 1 byte to output file <stdout> :01000000629D :00000001FF
Processing -U hfuse:r:-:i Reading hfuse memory ... Writing 1 byte to output file <stdout> :01000000DF20 :00000001FF
Nachtrag: der Attiny85 lebt wieder, dankt 8Mhz Quarz, ich nehme zukünftig lieber direkt avrdude, da weiß ich dann wenigstens was ich gemacht habe. jetzt muss ich nur rausfinden wieso das Beispiel Programm, komische Werte ausgibt.
-- AVR device initialized and ready to accept instructions Device signature = 1E 93 0B (ATtiny85)
Processing -U lfuse:r:-:i Reading lfuse memory ... Writing 1 byte to output file <stdout> :01000000FF00 :00000001FF
Processing -U hfuse:r:-:i Reading hfuse memory ... Writing 1 byte to output file <stdout> :01000000D728 :00000001FF
Danke, Dennis