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
In the Arduino IDE, what version of the ATTiny core (Tools → Board → Board Manager) is installed? That has to match what PlatformIO is using for same results.
thank you again - With your Infos I investigated my code once a gain I found out, that the PINs were not initialized in the same way.
The Arduino IDE takes my PIN declarion but platformIO wants them counterclockwise… strange.
I’m not sure why this is so, but it works? Do you have an explanation for this?
Thank you for your help - you need a ko-fi account
Greetings
Edit/Solution:
add to platformio.ini board_build.variant = tinyX4_reverse
PlatformIO defaults to the tinyX4 variant, which I would argo is the “non-reversed” layout with respect to tinyX4_reverse, so you must have selected the reverse layout in the tools menu?