Strange error compiling for M5Stack-ATOM

I've just started getting an error when I use the Web Editor to compile a sketch for the M5Stack-ATOM ESP32 device. Specifically, the esptool reports a missing file error:

esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:/Users/jaybr/AppData/Local/Temp/arduino-create-agent475058175/Test_sep06a.bin'

When I look in AppData/Local/Temp, the Test_sep06a.bin file is indeed missing and in its place is Test_sep06a.par

The really strange part is that if I compile the same sketch using the IoT Cloud sketch compiler as part of a Thing, it compiles correctly and the Test_sep06a.bin is located where it is supposed to be, with no ".par" file.

Everything seemed to be working fine in compiling sketches for the M5Stack-ATOM using the Web Editor until this afternoon--now I get the missing ".bin" file for any sketch for that device, whether or not it involves a Thing in the IoT Cloud.

I glanced at the verbose console output when compiling the same sketch with both the Web Editor (failed) and IoT Cloud interface (worked). The order of compilation steps was a bit different between the two, but I didn't see any obvious errors.

I first encountered the problem when I clicked on the "Open full editor" button on a sketch for a Thing and attempted to change the network SSID[] and PASS[] in the thingProperties.h file. After getting the error, I tried compiling and uploading a sketch that just lit up pixels on the device (that had nothing to do with a Thing) and got the same missing ".bin" file error.

I tried uninstalling and reinstalling the ArduinoCreateAgent but no luck. Also tried clearing my Chrome cache and even resetting Chrom by still not luck.
I tried running the Web Editor from a different computer and still get the missing file error.
I even tried creating a new account with a different login ID and still get the error.

Not sure what I could have possibly broken on my end--it feels like something changed with the Web Editor this afternoon.

I tried this from a Mac and I am also getting the same error (with different file locations, of course)

esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: '/var/folders/cn/5rmhnfdj2l3_42lzlqwbjwgc0000gn/T/arduino-create-agent034466879/M5ATOM_LED.bin'

There definitely seems to be something going on with the compilation process behind the Web Editor and how files are delivered to the local computer via the Arduino Create Agent prior to flashing with esptool on the local machine.

Hi. Me too, same behaviour today
Every time a .par file is generated and not a .bin file
ESP32 board by Olimex (Esp32-POE-ISO)

Same error message here, upload process fails when trying to load to my ESP32 FireBeetle.

Just an update that I've heard back again from someone in Arduino tech support and I sent them a copy of the verbose transcript from the console and also pointed them to this Forum thread. Again, a strange thing is that if I compile a sketch from the Cloud IoT webpage it uploads properly, but it fails if I compile it from the Web Editor page. Any additional info that any of you have regarding your problems may be helpful to tech support. Hopefully they will find a fix soon!

Uploading from the Web Editor is now working for me. I haven't changed anything so I assume that someone from the Arduino tech support team fixed something. Is it now working for the rest of you?

Works again, yes. Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.