Executing task in folder ATTINYCellModule: C:\Users\Oscar James\.platformio\penv\Scripts\platformio.exe run --target upload --environment attiny841_V421 < Processing attiny841_V421 (platform: atmelavr; board: attiny841; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/attiny841.html PLATFORM: Atmel AVR (2.2.0) > Generic ATtiny841 HARDWARE: ATTINY841 8MHz, 512B RAM, 8KB Flash PACKAGES: - framework-arduino-avr-attiny 1.3.2 - tool-avrdude 1.60300.200527 (6.3.0) - toolchain-atmelavr 1.50400.190710 (5.4.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 14 compatible libraries Scanning dependencies... Dependency Graph |-- 1.4.0+sha.840272c |-- 1.3.1+sha.1792d23 |-- | |-- | |-- 2.0 |-- |-- Building in release mode Checking size .pio\build\attiny841_V421\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [======= ] 70.5% (used 361 bytes from 512 bytes) Flash: [==========] 95.4% (used 7816 bytes from 8192 bytes) Configuring upload protocol... AVAILABLE: usbasp CURRENT: upload_protocol = usbasp Looking for upload port... Uploading .pio\build\attiny841_V421\firmware.hex avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "C:\Users\Oscar James\.platformio\packages\tool-avrdude\avrdude.conf" Using Port : usb Using Programmer : usbasp Setting bit clk period : 16.0 avrdude: usbasp_open("usb") avrdude: seen device from vendor ->www.fischl.de<- avrdude: seen product ->USBasp<- AVR Part : ATtiny841 Chip Erase delay : 4500 us PAGEL : P00 BS2 : P00 RESET disposition : possible i/o RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- eeprom 65 6 4 0 no 512 4 0 4000 4500 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- flash 65 6 32 0 yes 8192 16 512 4500 4500 0xff 0xff Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00 Block Poll Page Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- --------- calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 Programmer Type : usbasp Description : USBasp, http://www.fischl.de/usbasp/ avrdude: usbasp_initialize() avrdude: usbasp_spi_set_sck_period(1.6e-005) avrdude: try to set SCK period to 1.6e-005 s (= 62500 Hz) avrdude: set SCK frequency to 32000 Hz avrdude: warning: cannot set sck period. please check for usbasp firmware update. avrdude: usbasp_program_enable() avrdude: error: program enable: target doesn't answer. 1 avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude: usbasp_close() avrdude done. Thank you. *** [upload] Error 1 ============================================================================================== [FAILED] Took 1.36 seconds ============================================================================================== Environment Status Duration -------------- -------- ------------ attiny841_V421 FAILED 00:00:01.363 ========================================================================================= 1 failed, 0 succeeded in 00:00:01.363 ========================================================================================= The terminal process "C:\Users\Oscar James\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload', '--environment', 'attiny841_V421'" terminated with exit code: 1. Terminal will be reused by tasks, press any key to close it.