1

Topic: Do you really use an uninterruptible power supply to flash your board?

I read about UPS in the wikis... and I doubt people use them unless they already have one for some other purpose.  Do you really use one or do you just risk it?

SD2 Sanguinololu 1.3a atmega1284p, wood platform, lawsy's carriages, braided fishing line, pallet wood overhead spool mount, carboard/magnet enclosure, glass bed, E3D v6, bed levelling knobs, extended z-stop, 25A DC-DC SSR for bed heater, everything fixed to the SD2 frame, marlin firmware with some adjustments and extra failsafes enabled.  I'll never give up on you, little printer that could(n't)!

2

Re: Do you really use an uninterruptible power supply to flash your board?

Most boards don't require external power other than the USB.  Using a laptop with a good charged battery offers the same level of protection.

Printit Industries Model 8.10 fully enclosed CoreXY, Chamber heat
3-SD3's & a Workbench all fully enclosed, RH-Slic3r Win7pro, E3D V6, Volcano & Cyclops Hot End
SSR/500W AC Heated Glass Bed, Linear bearings on SS rods. Direct Drive Y-axis, BulldogXL
Thanks to all for your contributions

3

Re: Do you really use an uninterruptible power supply to flash your board?

wardjr wrote:

Most boards don't require external power other than the USB.  Using a laptop with a good charged battery offers the same level of protection.

I see.  So to flash my sanguinololu, I can just leave it unplugged from the 12V DC?  (Should I leave it unplugged from the PS if there could be a surge/cut?)

I'm going to install my E3D in the next few days, so I'm doing all the research big_smile

SD2 Sanguinololu 1.3a atmega1284p, wood platform, lawsy's carriages, braided fishing line, pallet wood overhead spool mount, carboard/magnet enclosure, glass bed, E3D v6, bed levelling knobs, extended z-stop, 25A DC-DC SSR for bed heater, everything fixed to the SD2 frame, marlin firmware with some adjustments and extra failsafes enabled.  I'll never give up on you, little printer that could(n't)!

4

Re: Do you really use an uninterruptible power supply to flash your board?

wardjr wrote:

Most boards don't require external power other than the USB.  Using a laptop with a good charged battery offers the same level of protection.


+1 for this.

All my flashing is done from a laptop and all my controllers are set to get power from USB during that time. So as long as the lappy is charged there is no issue with power loss. Even if there was unless you are flashing the boot loader a power failure will not hurt it. Firmware is erased before each upload so even a glitched upload gets erased before the new firmware is uploaded.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

5 (edited by jagowilson 2016-01-28 21:04:18)

Re: Do you really use an uninterruptible power supply to flash your board?

Even if the board loses power during flashing, this will hardly damage or brick the board. On Arduino boards at least, you are not flashing the deepest firmware on the board over USB. So even if there is a power failure, the firmware for flashing the chip again and managing USB is still in tact. The board loads flashed firmware with a bootloader. I have a project Arduino board I don't use on printers and I've flashed it thousands of times, many flashes of which were not successful for one weird reason or another.  Working just as well as the day I bought it nearly 5 years ago.

This is quite different from say flashing the BIOS on older motherboards. In those cases it is quite possible to brick the board with a bad flash or interrupted flash.

6

Re: Do you really use an uninterruptible power supply to flash your board?

Even flashing with ISP, it's practically a hardware bootloader that does the work, which you'll never be able to write over. It's even safer IMO (as we rely on Atmel's chip design to be watertight, rather than an open-source flash-memory bootloader with arduino...).

You can cause trouble with ISP by flashing bad fuse settings (e.g. reset disable or clock settings), but this can also be worked around ( HV programming and clock feeding respectively).

SD3. Mk2b + glass, heated enclosure, GT2 belts, direct drive y shaft, linear bearings, bowden-feed E3D v5 w/ 0.9° stepper
Smoothieboard via Octoprint on RPi