Скетч:
Текст после прошивки
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9207 (probably t44)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex"
avrdude: writing flash (864 bytes):
Writing | ################################################## | 100% 1.27s
avrdude: 864 bytes of flash written
avrdude: verifying flash memory against C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex:
avrdude: load data flash data from input file C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex:
avrdude: input file C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex contains 864 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.62s
avrdude: verifying ...
avrdude: 864 bytes of flash verified
avrdude done. Thank you.
Схема проверки блинка на рисунке
Светодиод в порядке. Отпаивал его от ноги pb0 и цеплял на +5, ток 10 мА , горит. То есть явно на ноге 0 нет сигнала.
Проверял на pb1, замена в скетче led=1
Также фигня.
До прошивки лечил фьюзы 12 вольтовым доктором.
Фьюзы установились. Прошивал на интернел 8мгц через нано по isp
Blink:
int led = 0;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9207 (probably t44)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex"
avrdude: writing flash (864 bytes):
Writing | ################################################## | 100% 1.27s
avrdude: 864 bytes of flash written
avrdude: verifying flash memory against C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex:
avrdude: load data flash data from input file C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex:
avrdude: input file C:\Users\user\AppData\Local\Temp\arduino_build_958258/attiny44_blink.ino.hex contains 864 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.62s
avrdude: verifying ...
avrdude: 864 bytes of flash verified
avrdude done. Thank you.
Схема проверки блинка на рисунке
Светодиод в порядке. Отпаивал его от ноги pb0 и цеплял на +5, ток 10 мА , горит. То есть явно на ноге 0 нет сигнала.
Проверял на pb1, замена в скетче led=1
Также фигня.
До прошивки лечил фьюзы 12 вольтовым доктором.
Фьюзы установились. Прошивал на интернел 8мгц через нано по isp
C++:
|
Вложения
-
72.6 KB Просмотры: 5