Hey guys,
I started programing some little ATtiny13 chips. I managed to get it working with USBasp with zadig drivers and USBasp protocol as wel as manually specifing the port. I decided to switch to the “Arduino as ISP” protocol to have the autodetection of the port and also to run on the default protocol. I flashed Arduino Nano as the ISP with the Arduino Example sketch at a baudrate of 19200. I then launched platformio and tried to upload a blank sketch as a test. I get a nice compilation and autodetection of the port as well as the protocol but right before the code gets uploaded I get this error:
DATA: [= ] 6.2% (used 4 bytes from 64 bytes)
PROGRAM: [== ] 17.8% (used 182 bytes from 1024 bytes)
Configuring upload protocol...
AVAILABLE: arduinoisp
CURRENT: upload_protocol = arduinoisp
Looking for upload port...
Auto-detected: COM20
Uploading .pioenvs\attiny13\firmware.hex
avrdude: Error: Invalid -P value: 'COM20'
Use -P usb:bus:device
I tried to look up the -P flag or argument but cant really figure it out, any ideas?
Im guessing its something with the port but changing usb ports did nothing, just got from COM20 to COM21.
Thanks in advance for any and all help!