Author Topic: Unable to Connect to the mc-Demo205  (Read 488 times)

kbrooking

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Unable to Connect to the mc-Demo205
« on: June 05, 2017, 08:58:58 am »
Beginning yesterday, I get the attached error every time I try and connect to the mc-Demo205. Any suggestions on how to resolve?

Share on Facebook Share on Twitter


mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #1 on: June 05, 2017, 09:15:56 am »
Hello,
Have you updated the firmware on the mcDemo205 to the latest version? Also, are you using the latest version of mcStudio?

We just did a full release last week with all new versions for everything. Please update and let us know if you are stills seeing the same issues

Thanks
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB

kbrooking

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #2 on: June 05, 2017, 12:51:44 pm »
Yes. I updated both the 205 firmware and mc_studio this past weekend. I can't be sure if it started right after the upgrades or not. Is it possible to download the old versions and revert back to see it it persists?

kbrooking

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #3 on: June 05, 2017, 09:53:01 pm »
Just FYI, I reverted back to mcStudio version 0.7-906 and now it is connecting again.

I still have the new firmware version on the 205.

kbrooking

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #4 on: June 05, 2017, 10:16:14 pm »
Now version 0.7-906 is giving me the same error message when trying to connect. This started happening right after I did a "Save to Device". I tried uninstalling and re-installing but same error message. Could it be the 205 firmware? I'm still using the newest one. should I try and revert back the firmware?

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #5 on: June 07, 2017, 09:22:16 am »
Hey Keith,
This is odd as I have been working with an mcDemo205 with the latest version of everything and have not had the same issues.

Are you connecting via USB to program or doing this wirelessly through the gateway?
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB

kbrooking

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #6 on: June 09, 2017, 10:42:50 am »
I’m connecting via USB.

The problem seem to be intermittent as I have been able to successfully connect since yesterday. However, it appears that once I get the connection error it will remain for a day or so. Not sure what, if anything I am doing to cause it and then what I may be doing to clear it.

Maybe it’s in the code? Can you have multiple “RaiseEvent” in one script? Could this cause a situation that may cause the MCU to hang?

mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: Unable to Connect to the mc-Demo205
« Reply #7 on: June 09, 2017, 04:54:01 pm »
I work every day with the USB connection and had some problems with it when the PC goes to sleep. You have to reset the device and re-run mcStudio.
If you find that it does not work for a day or so try if rebooting your PC would help. It could be that the USB driver in the PC fails.
You can have multiple raise events in one script. The CPU can hangs for a few minutes but will reset if that occurs.
You can not use a serial peripheral in combination with USB connectivity.