-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino IDE V2.0, NanoEvery, Windows 10 Environment #160
Comments
@per1234 is this recognized as a known IDE 2.0 issue? |
This is not really an IDE issue. It is true that the Arduino IDE 1.x installation comes with a copy of the DLL dependency, but as @cattledogGH reported at #156, that only helps when the IDE was started from the installation folder. The issue is either with the AVRDUDE or with the AVRDUDE package produced by Arduino. That is tracked here: arduino/avrdude-packing#15 There are two possible solutions:
Keep in mind that these are pre-releases that were created to allow beta testing. It wasn't really expected that they would be distributed in production platform releases yet. But it certainly gets us more beta testers even if they aren't aware of that status! |
I encountered the issue today and indeed the issue is with the packaging of Arduino avrdude Windows packaging (arduino/avrdude-packing#15). Simple workaround of copying libusb0.dll (x86 version) works fine. |
It is kind of slow for Arduino to adopt avrdude 7.0 release... |
For those who want to try out for latest build of avrdude using arduino-pack project, you can try the ming32 binary by @umbynos. It works quite well for me. If you are more adventurous, you can even try my build for Linux and macOS.
Or even better, you can use the Arduino-crossbuild Docker Container to build your own version of avrdude. with your own branding or patches if you prefer. Reference: |
You can also try the binaries here. I need to use the 64bit Linux binary under 64bit Linux (no 32bit compatibility layer installed). More discussions here. |
Just one example using Nano 4808 and the blinky sketch. I do not know how to properly replace the tools. So I just overwrite the default
|
Fixed in the MegaCoreX v1.1.1 boards manager release! |
When using MegaCoreX with Arduino IDE 2.0 there is an issue with uploading fails showing 0xc0000135 errors. This is due to a missing libusb0.dll file. In the Windows environment avrdude has a dependency on this file and it is not included with the avrdude version bundled with MegaCoreX.
This was not an issue with previous 1.8.x versions of the Arduino IDE because the libusb0.dll was included in the root installation file of the IDE, and avrdude could find it for the upload.
This root installation of the dll file is not included with V2.0.
The simple solution is to add libusb0.dll to the bin file folder of the avrdude file in tools.
Pending a release of MegaCoreX which implements this addition you can add the file to your current MegaCoreX installation at C:\Users\your name\AppData\Local\Arduino15\packages\MegaCoreX\tools\avrdude\7.0.0-arduino2\bin
I think this has to be a 32bit version of the .dll file. I copied the file used in the Arduino 1.8.x ide and pasted it in the bin folder.
Alternatively, you can download libusb-win32 from SourceForge.net and rename it to libusb0.dll.
https://sourceforge.net/projects/libusb-win32/
The text was updated successfully, but these errors were encountered: