Author Topic: Error : An error occurred while flashing the device:  (Read 2442 times)

atkulp

  • Newbie
  • *
  • Posts: 22
Error : An error occurred while flashing the device:
« on: May 17, 2016, 03:07:33 pm »
I'm getting an error on publish.  My verify gives:

Code: [Select]
Sketch uses 260,874 bytes (25%) of program storage space. Maximum is 1,040,368 bytes.
Global variables use 51,240 bytes (62%) of dynamic memory, leaving 30,680 bytes for local variables. Maximum is 81,920 bytes.

When I build, I get:

Code: [Select]
Sketch uses 260,874 bytes (25%) of program storage space. Maximum is 1,040,368 bytes.
Global variables use 51,240 bytes (62%) of dynamic memory, leaving 30,680 bytes for local variables. Maximum is 81,920 bytes.
OakCLI tool version 1.0.1
Using config file at: C:\Users\arian\AppData\Roaming\oak\config.json
Sending file to cloud, to flash Oak (Device ID: d957####################) (Device ID: Oak)

Error : An error occurred while flashing the device:

Notice no actual message after the trailing colon.  The same sketch had been working for many publishes, then suddently stopped working.  The Particle dashboard doesn't show any events anymore.

I did the PIN 1 HIGH to enter config mode and did that again.  Presumably that means it updated itself (if it needed it).  No difference in publish though.  What should I be doing?

atkulp

  • Newbie
  • *
  • Posts: 22
Re: Error : An error occurred while flashing the device:
« Reply #1 on: May 17, 2016, 08:09:58 pm »
Not that I had any responses... but it's working now.  Somehow after reconfiguring it, a flash or two later it work.  Not sure what the problem was, but it's ok for now.

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: Error : An error occurred while flashing the device:
« Reply #2 on: May 17, 2016, 09:52:49 pm »
Sounds like a transient error - maybe low voltage or bad program trasnfer for some reason.