Author Topic: Programming the mc-Demo205  (Read 32 times)

kbrooking

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Programming the mc-Demo205
« on: May 21, 2017, 05:54:40 pm »
Do you need to erase the current mc-script on the mc-Demo205 with OTA like you do for the mc-modules before you load a new mc-script or can you just connect the usb cable and overwrite the current script with your new one?

Social Buttons


mc-T2

  • Administrator
  • Full Member
  • *****
  • Posts: 234
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Programming the mc-Demo205
« Reply #1 on: May 23, 2017, 11:37:51 am »
Hello,

the 'Erase Script' function in mcOTA is provided in the rare instance that someone writes a script that 'bricks' a device. This can happen if you write a script that loops/bricks due to poor programming (yes, it happens!).

While working with mcThings devices/modules, you can overwrite existing programming by loading new scripts through mcStudio (either wireless via the gateway or USB serial connection with an mcDemo205). Loading new programming automatically overwrites the existing programming on the module/device.

There is no need to use mcOTA as a means to erase existing programming unless you have written a script that requires you to do so.
Does that make sense?
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