New update makes dash pro not recognized by windows 10


#1

So as the title says. The updated utility, updated my Dash Pro. Then windows 10 says it didnt recognize the dash anymore.

Installing the firmware on widows didnt help.

Using another PC / USB didnt help

I can not reverse the firmware upgrade because I cant see the Dash connected.

Any suggestions would help at this point.


#2

Hey, sorry to hear you’re having trouble. It’s probably looking for our new driver now. Try installing the driver linked in this thread: Windows 7 Serial Driver for Dash


#3

Hey Reuben,

I already installed that driver… still the same issue.

Here is the error:

Windows has stopped this device because it has reported problems. (Code 43)

A request for the USB device descriptor failed.


#4

Hmm, I’m on Win10 and things are working well. We’ll look into this right away.


#5

If you hit the program button does the LED start blinking?


#6

Yes… The program button makes the led blink… And you hear a sound on Windows as if a usb has been plugged in.


#7

Are you calling SerialUSB.begin() in your setup function?


#8

yes I am… I was uploading a sketch, and was asked if I wanted to update. once it finished updating… the dash com port went missing.

Here is the code I was trying to upload:

void setup() {

Serial.begin(9600);
pinMode(A01, INPUT);
}

void loop() {

//Read sensor value.
sensor = analogRead(A01);
//Scale new raw input.
new_pres = map(sensor, 100, 1023, 0, 2000);
Dash.snooze(1000);

if (new_pres > 200) {

if (first_scan == false) {

  //determines if valve is in use or not
  if (new_pres < (old_pres - plus_minus)) {
    inuse = true;
  }else{ 
    inuse = false;
  }

  //allowed pressure decrease
  if (new_pres > (old_pres - 20)) {
    old_pres = new_pres;
  }

  //Send pressure if 20psi less than last sent, check every 0.5 minute
  if ((old_pres < (sent_pres - 20) || (old_pres > sent_pres + 100)) && (timer % 30) == 0) {
    //trans sensor data
    send_value();
  }
}

//If this is first scan, then transmit sensor value.
if (first_scan == true && timer >= 5) {
  old_pres = new_pres;
  //trans sensor data
  send_value();
  first_scan = false;
}

if (timer < 900) {
  timer ++;

} else {
  timer = 0;
}

}

Serial.println (sensor);
Serial.println ("New = " + (String) new_pres);

Serial.println ("Old = " + (String)old_pres);

Serial.println ("Sent = " + (String)sent_pres);
}

void send_value() {
if (old_pres > 0) {
Serial.println (“Sending sensor data…”);
//Serial.println (old_pres);
//Serial.println (new_pres);
Serial.println (serial_num + ((String)"/") + ((String)old_pres));
SerialCloud.print ("?field1=" + old_pres);
sent_pres = old_pres;
}
}


#9

That should work.
So you don’t actually need a COM port to program, that’s just for serial. What happens if you hit the program button and then try to upload the program again from the IDE?


#10

you’re right, taking the Serial.begin out lets the program go through. If i leave it in, I get an error from the loader asking if I pressed the program button (even though the led is flashing).

Can you have USB serial and cloud serial in the same sketch??


#11

I actually wasn’t saying to take that line out. The Serial.begin should be in there for the COM port to show up.
That’s an interesting find though. Having the Serial.begin in there shouldn’t cause any problems with programming and you should have no issue using USB and cloud serial at the same time.
It looks like you’re missing a Dash.begin() call in your setup function. What happens if you put that in there?


#12

Also, the code for the initial serial gateway program that comes with the board is here: https://github.com/hologram-io/hologram-dash-arduino-examples/blob/master/konekt_user_module_serial_gateway/konekt_user_module_serial_gateway.ino

What happens if you try to load that on?


#13

Oh, and one more thing: you’re also missing a SerialCloud.begin in the setup


#14

You sir are a GENIUS!!!

Adding those missing lines brought the com port back. So far so good now.

Ill keep messing with it (trying to integrate with thingspeak.com).

thanks again for all your help.


#15

Haha, glad that’s working for you.
There’s some good info in another thread here on thingspeak. We have a bunch of users hooking up to it.