The Upload with the Arduino IDE 1.8 and my USB-ISP works.
Also under platformIO i got a success message - BUT the exakt(!!!) same Sketch (Source-Code) doesn’t work as espected. Some strange behaviour occured, like analogWirte is not starting, digitalWrite for a LED is skipped. I tested also other sketeches, same thing.
Fuses were set, MHz same, wiring same, source code same, UBS-ISP same, ATtiny same, output not the same… WHAHA!
Arduino IDE 1.8 output
Programmer Type : STK500V2 Description : Atmel STK500 Programmer Model: STK500 Hardware Version: 10 Firmware Version Master : 2.10 Topcard : Unknown Vtarget : 3.3 V SCK period : 8.7 us Varef : 3.3 V Oscillator : 1.229 MHz
[env:attiny24] platform = atmelavr board = attiny24 framework = arduino upload_port = COM5 upload_protocol = stk500v2 upload_speed=9600 upload_flags = -P$UPLOAD_PORT -b$UPLOAD_SPEED board_build.f_cpu = 1000000L board_fuses.lfuse = 0x62 board_fuses.hfuse = 0xDF board_fuses.efuse = 0xFF
I appreciate any help.
Edit: Just tested Arduino UNO as ISP with platformIO and same strange behviour…
I’ve tested 2nd pc and other Attiny with other sketeches… arrrrr