VS Code Plarformio ve CP2102 USB Dönüştürücü ile Attiny13a Programlama

Yapıyordun diye hatırlıyorum. Bir Arduinoyu kullanarak başka Arduinoyu programlamak
Arduino IDE de yapabiliyorum, Orada sorun yok. VSCode ile denemedim, nasıl yapıldığını bilmiyorum demek istedim.
 
upload_protocol kaldırdığında sanırım bunu yapmayı denedi. Default komut galiba o işi yapıyor.
upload_protokol = custom ile uno üzerinden atmayı denedim ama yine attı görünüp atmadı.

C++:
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/attiny13a.html
PLATFORM: Atmel AVR (5.0.0) > ATtiny13A
HARDWARE: ATTINY13A 9MHz, 64B RAM, 1KB Flash
DEBUG: Current (simavr) External (simavr)
PACKAGES:
 - framework-arduino-avr-microcore @ 2.3.0
 - tool-avrdude @ 1.70200.0 (7.2.0)
 - toolchain-atmelavr @ 1.70300.191015 (7.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 7 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
avr-g++ -o .pio\build\attiny13a\src\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -Iinclude -Isrc -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a src\main.cpp
avr-gcc-ar rc .pio\build\attiny13a\libFrameworkArduinoVariant.a
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\HalfDuplexSerial.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\HalfDuplexSerial.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\Print.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\Print.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\Tone.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\Tone.cpp
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\WInterrupts.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\WInterrupts.c
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\WMath.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\WMath.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\WString.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\WString.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\main.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\main.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\micros.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\micros.cpp
avr-gcc -mmcu=attiny13a -x assembler-with-cpp -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a -c -o .pio\build\attiny13a\FrameworkArduino\millis.S.o C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\millis.S
avr-gcc -mmcu=attiny13a -x assembler-with-cpp -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a -c -o .pio\build\attiny13a\FrameworkArduino\pcrt.S.o C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\pcrt.S
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\picoUART.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\picoUART.cpp
avr-g++ -o .pio\build\attiny13a\FrameworkArduino\picoUART_rxISR.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\picoUART_rxISR.cpp
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring.c
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring_analog.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring_analog.c
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring_digital.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring_digital.c
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring_pulse.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring_pulse.c
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring_pwm.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring_pwm.c
avr-gcc -o .pio\build\attiny13a\FrameworkArduino\wiring_shift.c.o -c -std=gnu11 -fno-fat-lto-objects -mmcu=attiny13a -Os -Wall -ffunction-sections -fdata-sections -flto -DPLATFORMIO=60113 -DARDUINO_AVR_ATTINY13 -DF_CPU=9600000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore -IC:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\variants\attiny13a C:\Users\gokrt\.platformio\packages\framework-arduino-avr-microcore\cores\MicroCore\wiring_shift.c
avr-gcc-ar rc .pio\build\attiny13a\libFrameworkArduino.a .pio\build\attiny13a\FrameworkArduino\HalfDuplexSerial.cpp.o .pio\build\attiny13a\FrameworkArduino\Print.cpp.o .pio\build\attiny13a\FrameworkArduino\Tone.cpp.o .pio\build\attiny13a\FrameworkArduino\WInterrupts.c.o .pio\build\attiny13a\FrameworkArduino\WMath.cpp.o .pio\build\attiny13a\FrameworkArduino\WString.cpp.o .pio\build\attiny13a\FrameworkArduino\main.cpp.o .pio\build\attiny13a\FrameworkArduino\micros.cpp.o .pio\build\attiny13a\FrameworkArduino\millis.S.o .pio\build\attiny13a\FrameworkArduino\pcrt.S.o .pio\build\attiny13a\FrameworkArduino\picoUART.cpp.o .pio\build\attiny13a\FrameworkArduino\picoUART_rxISR.cpp.o .pio\build\attiny13a\FrameworkArduino\wiring.c.o .pio\build\attiny13a\FrameworkArduino\wiring_analog.c.o .pio\build\attiny13a\FrameworkArduino\wiring_digital.c.o .pio\build\attiny13a\FrameworkArduino\wiring_pulse.c.o .pio\build\attiny13a\FrameworkArduino\wiring_pwm.c.o .pio\build\attiny13a\FrameworkArduino\wiring_shift.c.o
avr-g++ -o .pio\build\attiny13a\firmware.elf -mmcu=attiny13a -Os -Wl,--gc-sections -flto -fuse-linker-plugin .pio\build\attiny13a\src\main.cpp.o -L.pio\build\attiny13a -Wl,--start-group .pio\build\attiny13a\libFrameworkArduinoVariant.a .pio\build\attiny13a\libFrameworkArduino.a -lm -Wl,--end-group
MethodWrapper(["checkprogsize"], [".pio\build\attiny13a\firmware.elf"])
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.0% (used 0 bytes from 64 bytes)
Flash: [=         ]   8.8% (used 90 bytes from 1024 bytes)
.pio\build\attiny13a\firmware.elf  :

section                    size      addr

.text                        90         0

.data                         0   8388704

.comment                     17         0

.note.gnu.avr.deviceinfo     60         0

.debug_aranges               32         0

.debug_info                 934         0

.debug_abbrev               714         0

.debug_line                 127         0

.debug_str                  256         0

Total                      2230
avr-objcopy -O ihex -R .eeprom .pio\build\attiny13a\firmware.elf .pio\build\attiny13a\firmware.hex
<lambda>(["upload"], [".pio\build\attiny13a\firmware.hex"])
AVAILABLE: custom
CURRENT: upload_protocol = custom
=============================================================================================================================================== [SUCCESS] Took 2.23 seconds ===============================================================================================================================================
 *  Terminal will be reused by tasks, press any key to close it.
 
Custom yapma. Custom yapıp da custom bir komut vermezsen hiçbir şey yapmaz. Arduinoya "Arduino as ISP" sketchini yükleyip PCye bağlayıp doğru portu upload_port ile belirt.
 
Avrdude ile hex yükleyebilirsiniz. Ancak,
uygun programlayıcı olmalı.
Arduino uno/nano ile programlayıcı
yapılabilir.
 
Zaten altta avrdude çalışacak. Biz onu çalıştıracak platformio configini arıyoruz.
 
Custom yapma. Custom yapıp da custom bir komut vermezsen hiçbir şey yapmaz. Arduinoya "Arduino as ISP" sketchini yükleyip PCye bağlayıp doğru portu upload_port ile belirt.
sarı renkte şöyle bir çıktı aldım:

C++:
avrdude: Version 7.2-arduino.1
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\Users\gokrt\.platformio\packages\tool-avrdude\avrdude.conf

         Using Port                    : COM5
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
         AVR Part                      : ATtiny13A
         Chip Erase delay              : 4000 us
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         Serial program mode           : yes
         Parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom                 65     5     4    0 no         64    4      0  4000  4000 0x00 0x00
           flash                  65    10    32    0 yes      1024   32     32  4500  4500 0x00 0x00
           lfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           hfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           lock                    0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
           calibration             0     0     0    0 no          2    1      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 version 1.x firmware
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9007 (probably t13a)
avrdude: erasing chip

avrdude: processing -U flash:w:.pio\build\attiny13a\firmware.hex:i
avrdude: reading input file .pio\build\attiny13a\firmware.hex for flash
         with 90 bytes in 1 section within [0, 0x59]
         using 3 pages and 6 pad bytes
avrdude: writing 90 bytes flash ...
Writing | ################################################## | 100% 0.23s
avrdude: 90 bytes of flash written
avrdude: verifying flash memory against .pio\build\attiny13a\firmware.hex
Reading | ################################################## | 100% 0.08s
avrdude: 90 bytes of flash verified

avrdude done.  Thank you.

======================================================================================================================================= [SUCCESS] Took 2.85 seconds =======================================================================================================================================
 *  Terminal will be reused by tasks, press any key to close it.
 
Pini yanlış bağlamışım şimdi blink yapıyor ama 1sn de 1 yapması gerekirken 10sn de 1 yapıyor.

C++:
#include <Arduino.h>
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(0, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(0, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(0, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}
 
Mehmet'in dediği gibi herhalde eski fuselar kalmış. Fuses diye bir target olması lazım platformio'da. Onu çalıştırınca düzeliyor mu?
 
Mehmet'in dediği gibi herhalde eski fuselar kalmış. Fuses diye bir target olması lazım platformio'da. Onu çalıştırınca düzeliyor mu?
Set Fuses diye bir sekme vardı. Ona tıkladım fail verdi.

C++:
TARGET CONFIGURATION:
---------------------
Target = attiny13a
Clock speed = 9600000L
Oscillator = internal
BOD level = 2.7v
Save EEPROM = yes
Bootloader type = no_bootloader
---------------------

Selected fuses: [lfuse = 0x3a, hfuse = 0xfb]
Setting fuses
avrdude error: cannot open port /dev/ttyS0: Sistem belirtilen yolu bulam\xfdyor.


avrdude error: unable to open programmer stk500v1 on port /dev/ttyS0

avrdude done.  Thank you.

*** [fuses] Error 1
======================================================================================================================================= [FAILED] Took 0.85 seconds =======================================================================================================================================

 *  The terminal process "C:\Users\gokrt\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'fuses', '--environment', 'attiny13a'" terminated with exit code: 1.
 *  Terminal will be reused by tasks, press any key to close it.
 
Sanıyorum şu şekilde yapınca olacak.

INI:
[env:attiny13a]
platform = atmelavr
board = attiny13a
framework = arduino
upload_protocol = stk500v1
upload_port = COM9
upload_flags =
    -p
    $BOARD_MCU
    -P
    $UPLOAD_PORT
    -b
    $UPLOAD_SPEED
    -c
    stk500v1
 
Sanıyorum şu şekilde yapınca olacak.

INI:
[env:attiny13a]
platform = atmelavr
board = attiny13a
framework = arduino
upload_protocol = stk500v1
upload_port = COM9
upload_flags =
    -p
    $BOARD_MCU
    -P
    $UPLOAD_PORT
    -b
    $UPLOAD_SPEED
    -c
    stk500v1
Tamam 3A FB doğru görünüyor.
Bu şekilde yükledim hala 9.6sn de blink yapıyor. 3A FB nerede yazıyor göremedim.

C++:
avrdude: Version 7.2-arduino.1
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\Users\gokrt\.platformio\packages\tool-avrdude\avrdude.conf

         Using Port                    : COM5
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
         AVR Part                      : ATtiny13A
         Chip Erase delay              : 4000 us
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         Serial program mode           : yes
         Parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom                 65     5     4    0 no         64    4      0  4000  4000 0x00 0x00
           flash                  65    10    32    0 yes      1024   32     32  4500  4500 0x00 0x00
           lfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           hfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           lock                    0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
           calibration             0     0     0    0 no          2    1      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 version 1.x firmware
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e9007 (probably t13a)
avrdude: erasing chip

avrdude: processing -U flash:w:.pio\build\attiny13a\firmware.hex:i
avrdude: reading input file .pio\build\attiny13a\firmware.hex for flash
         with 90 bytes in 1 section within [0, 0x59]
         using 3 pages and 6 pad bytes
avrdude: writing 90 bytes flash ...
Writing | ################################################## | 100% 0.22s
avrdude: 90 bytes of flash written
avrdude: verifying flash memory against .pio\build\attiny13a\firmware.hex
Reading | ################################################## | 100% 0.09s
avrdude: 90 bytes of flash verified

avrdude done.  Thank you.

======================================================================================================================================= [SUCCESS] Took 4.41 seconds =======================================================================================================================================
 *  Terminal will be reused by tasks, press any key to close it.
 

Forum istatistikleri

Konular
6,944
Mesajlar
118,675
Üyeler
2,821
Son üye
Sfkzdmr

Son kaynaklar

Son profil mesajları

hakan8470 wrote on Dede's profile.
1717172721760.png
Dedecim bu gul mu karanfil mi? Gerci ne farkeder onu da anlamam. Gerci bunun anlamini da bilmem :gulus2:
Lyewor_ wrote on hakan8470's profile.
Takip edilmeye başlanmışım :D ❤️
Merhaba elektronik tutsakları...
Lyewor_ wrote on taydin's profile.
Merhabalar. Elektrik laboratuvarınız varsa bunun hakkında bir konunuz var mı acaba? Sizin laboratuvarınızı merak ettim de :)
Lyewor_ wrote on taydin's profile.
Merhabalar forumda yeniyim! Bir sorum olacaktı lcr meterler hakkında. Hem bobini ölçen hemde bobin direnci ölçen bir lcr meter var mı acaba?
Back
Top