Freematics One+ Unable to Upload (Error code: -4)
Posted: Wed Oct 04, 2017 11:04 am
I just got a Freematics One+ unit earlier this week. Everything is a fresh install with latest files downloaded from https://github.com/stanleyhuangyc/Freematics
I am trying to follow the quick start guide and upload the datalogger sketch but am getting the same error every time:
Build Target: ESP32 (MCU: esp32)
Library path: C:\Users\Bob\Documents\Freematics\Software\Freematics-master\Freematics-master/libraries/FreematicsONE
Library path: hardware/arduino/esp32/libraries/Wire/src
Library path: hardware/arduino/esp32/libraries/SPI/src
Library path: hardware/arduino/esp32/libraries/WiFi/src
Referenced libraries: [FreematicsONE] [Wire] [SPI] [WiFi]
[Sketch]
Compiling datalogger.ino.cpp...
Error compiling source code.
The status bar reads:
"Uploading not successful (Error code: -4)
This happens with any sketch downloaded from the repository.
I have already tried using the libraries from the V4 folder
I believe I am connected, since I am able to upload a simple blinking light sketch using the Arduino Builder.
What is causing this to happen, and how do I fix it?
I am trying to follow the quick start guide and upload the datalogger sketch but am getting the same error every time:
Build Target: ESP32 (MCU: esp32)
Library path: C:\Users\Bob\Documents\Freematics\Software\Freematics-master\Freematics-master/libraries/FreematicsONE
Library path: hardware/arduino/esp32/libraries/Wire/src
Library path: hardware/arduino/esp32/libraries/SPI/src
Library path: hardware/arduino/esp32/libraries/WiFi/src
Referenced libraries: [FreematicsONE] [Wire] [SPI] [WiFi]
[Sketch]
Compiling datalogger.ino.cpp...
Error compiling source code.
The status bar reads:
"Uploading not successful (Error code: -4)
This happens with any sketch downloaded from the repository.
I have already tried using the libraries from the V4 folder
I believe I am connected, since I am able to upload a simple blinking light sketch using the Arduino Builder.
What is causing this to happen, and how do I fix it?