-
Notifications
You must be signed in to change notification settings - Fork 73
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
Create a diagnostic sketch #35
Comments
I've spent a bit of time looking into this, and have some middling results to report. It doesn't look like there's a simple way of querying firmware, but I did find a sketch which will attempt to report this, along with some other hardware information. The software is at https://github.com/WestfW/fusebytes Here's the output as running on an Arduino Uno (+ Ethernet Shield):
Unfortunately it doesn't seem to be able to report the bootloader version, and I get similar results when running the sketch on one of the Ardunio Ethernet boards we have. However, I believe that AVRdude (the tool that the Arduino IDE uses to upload to the board) does report the firmware (bootloader) version. With a very simple sketch, and verbose upload output set on, we get this output from the Arduino Ethernet (trimmed for clarity):
The key part is the
According to this page:
I believe this does actually reflect the state of my Arduino Uno, as I upgraded the bootloader to work around the upload bug when I hit it. So, perhaps rather than a sketch, we can devise a script that can use the |
The |
... and here is a slightly more readable version of the original forum thread. |
If the ultimate resolution for people with problems is to upgrade their bootloader, and they can scrounge up a second Arduino, then this sketch might provide an easy way to perform the upgrade: https://github.com/WestfW/OptiLoader |
Some of the problems we've seen have been to do with the printer sketch size. @lazyatom mentioned that some of these are to do with older arduino bootloaders. I'm wondering whether it'd be possible to create a simple sketch to determine the bootloader version, and potentially other useful stats about a user's arduino, that would better help us diagnose problems.
The text was updated successfully, but these errors were encountered: