Closed vishnumaiea closed 2 years ago
@valeros the following programmer options appear to be lacking in avrdude.conf:
programmer
id = "curiosity_updi";
desc = "Curiosity in UPDI mode";
type = "jtagice3_updi";
connection_type = usb;
usbpid = 0x2175;
;
programmer
id = "pkobn_updi";
desc = "PKOB nano (nEDBG) in UPDI mode";
type = "jtagice3_updi";
connection_type = usb;
usbpid = 0x2175;
;
@valeros can you add these missing programmers to avrdude.conf?
As of tool-avrdude-megaavr 2.60300.210128 (6.3.0)
, pkobn_updi is present in both windows and linux versions.
In windows, I'm able to upload a sketch to my Curiosity Nano AVR128DA48 board with the package "as-is", but in linux, avrdude seems to be missing the dependency "libhidapi", and must be recompiled.
When I compile avrdude from source on ubuntu with the package libhidapi-dev installed, the upload works fine.
PlatformIO Core Version: 5.1.1 Home Version: 3.3.4 IDE: VS Code Version: 1.60.0 (user setup) Commit: e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff Date: 2021-09-01T10:41:52.311Z Electron: 13.1.8 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043
I was trying to build a sample project for AVR-IoT WG development board. PlatformIO supports the board, and builds the project using Arduino framework. My code (to blink an LED) compiles fine, but I am seeing issues while uploading. Following is the verbose output from Build command.
As you can see, avrdude complains about not being able to find the default programmer for the target. The configuration file used by avrdude is the default one shipped with PlatformIO. I have my device connected and detected by PlatformIO as seen below.
Thinking this could be an issue with outdated packages, I tried updating/upgrading everything.
Is it not possible to upload binary to the board via USB port? My fallback option was to drag and drop the HEX file to the mass storage device appearing as CURIOSITY.
Please look into the issue and consider updating the support or suggesting a solution.