Skip to content
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

Hardware Connection Status #6

Open
crisment opened this issue Jun 6, 2017 · 12 comments
Open

Hardware Connection Status #6

crisment opened this issue Jun 6, 2017 · 12 comments

Comments

@crisment
Copy link

crisment commented Jun 6, 2017

Hi
I could not run the SilverSprint Software with the Hardware. On the Settings tap under hardware connection status there is a failure. It blink and says "Version Unknow".

I did Update the firmware to basic_mrg and also use ss_basic sketch file to run the software.
I still have the same failure.

My board is a Arduino Duemilanove ATmega328

Is there anything i need to do ?

@mahroch
Copy link

mahroch commented Jun 7, 2017

Hi exactly the same with me here - same problem, same board. no solution for now :(

@crisment
Copy link
Author

crisment commented Jun 7, 2017

I found a solution. I bought a new Arduino Uno ATmega328 board and replaced it. After the first try it worked. Maybe there was an old chip that was not supported.
Anyway here it work now.

Best Regards
chris

@cwhitney
Copy link
Owner

cwhitney commented Jun 7, 2017

If you are getting the version unknown, it means that it is finding the arduino, but it's not getting a response about the version. The version was added in the latest release, so if you haven't manually put the latest firmware on the arduino, this is the expected behavior. Working on getting auto-updating and better messaging working for the next release.

@jonfen
Copy link
Contributor

jonfen commented Jun 7, 2017

@cwhitney opensprints shipped with either the official Arduino Duemilanove or a clone until December 2014, at which point we switched to the Arduino Uno rev3. @crisment and @mahroch's issue might indeed have to do with the board type. I still have an official Arduino Duemilanove and a clone so I can test those outputs. It would be great if when an official Arduino Duemilanove or a clone is detected an upgrade to the Arduino Uno rev3 is recommended.

@mahroch
Copy link

mahroch commented Jun 7, 2017

I upgraded to Arduino Uno rev 3 and everything works like charm. The only "issue" was that new arduino uno doesn't fit to the screws in the green mainboard of opensprints hardware - I had to remove one of them.

But connecting and all other work is completely painless, not like the older duemillenueve. I will upgrade soon all the rest of my hardware (i have 3 sets).

@crisment
Copy link
Author

crisment commented Jun 7, 2017 via email

@jonfen
Copy link
Contributor

jonfen commented Jun 7, 2017

@mahroch and @crisment, that is correct you don't need the 3rd screw/standoff when using the Arduino Uno rev3, we now ship with 2.

@mattboulanger
Copy link

I'm playing with a cheap Uno clone. (HiLetgo UNO R3 Board ATmega328P CH340) I have been successful uploading the sketch with no errors but still get the "version unknown" flashing checkmark/x error in Silver Sprint.

If it helps, when I ask for "board info," this is what I get:

BN: Unknown board
VID: 1A86
PID: 7523
SN: Upload any sketch to obtain it

Any insight?

@jonfen
Copy link
Contributor

jonfen commented Jul 3, 2017 via email

@cwhitney
Copy link
Owner

cwhitney commented Jul 5, 2017

I'll try to order a clone and see if I can't get them working. I think it should be possible.

@mattboulanger
Copy link

Much appreciated. I'm not opposed to buying the real thing and trying that out, but I figured for a few bucks I'd give it a whirl on a clone. My limited googling of the issue with cheap clones reveals answers related to the CH40 chip and the need for alternative drivers, but most people are having trouble getting the computer to see the board at all until they change out drivers. I'm able to upload the sketch without errors, so I wonder if there's something about the board that it doesn't respond with a version or doesn't respond correctly. Forgive me if I'm revealing a lot of ignorance- I'm more of a bicycle guy than a programming guy!

@cwhitney
Copy link
Owner

cwhitney commented Jul 6, 2017

Currently the best cross-platform way I've found to identify an arduino is to use it's port description. See here: https://github.com/cwhitney/SilverSprint/blob/master/src/data/SerialReader.cpp#L80

For official arduino's they identify with "arduino" in the name, but I'm guessing unofficial ones don't. We should put in some more defaults to support common clones, and also allow you to manually pick an arbitrary device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants