Hi Guys
I am trying to upload code to a standalone ATmega328 using Atmel ICE but keep getting this message:
[upload] could not open port ‘usb’
Here is my ini file
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:ATmega328P]
platform = atmelavr
board = ATmega328
framework = arduino
upload_protocol = atmelice_isp
upload_flags = -e
upload_port = usb
Here is a shot of Windows Device Manager.
I have tried using different drivers through Zadig with the same error.
Also I am pretty sure that I have purged my USB ports.
The hardware works OK with Microchip Studio but I obviously prefer to program through PlatformIO.
Thanks for any help.
Mike
