mc-Things

mc-Products => mc-Demo205 => Topic started by: kbrooking on May 21, 2017, 05:54:40 pm

Title: Programming the mc-Demo205
Post by: kbrooking 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?
Title: Re: Programming the mc-Demo205
Post by: mc-T2 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?