News

moodlite - Coming soon


Error when uploading to ESP8266 module

MrLaFave · 53

MrLaFave

  • Newbie
  • *
    • Posts: 8
    • Likes: +0/-0
    • View Profile
on: March 14, 2019, 12:27:11 AM
I followed Vader's setup and got to step 7. When I try to upload I get errors:
Code: [Select]
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
See attached screenshot for my settings.
I didn't change anything in the settings as Static IP is already set to false.

Do I need to flash some other kind of firmware to the device first? I just took it out of the box, plugged it in and tried to upload the moodlite to it.
I've tried hitting the reset button and trying to upload again but nothing.
I bought the ones that were linked to in the original build log https://www.amazon.com/gp/product/B010N1SPRK



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 39
    • Likes: +4/-0
    • View Profile
Reply #1 on: March 14, 2019, 07:28:39 AM
Hi!

i had that error a lot of time, and i just try again and it worked fine, except one time that my board was broken and have to ask amazon for a replacement



MrLaFave

  • Newbie
  • *
    • Posts: 8
    • Likes: +0/-0
    • View Profile
Reply #2 on: March 14, 2019, 10:36:24 AM
Hi!

i had that error a lot of time, and i just try again and it worked fine, except one time that my board was broken and have to ask amazon for a replacement
Am I supposed to a firmware to the device before I can upload the moodlite to it, or download/install a driver?



MrLaFave

  • Newbie
  • *
    • Posts: 8
    • Likes: +0/-0
    • View Profile
Reply #3 on: March 14, 2019, 02:16:42 PM
I was able to solve this issue. I did use a different computer and followed the same process, except this time before I plugged the ESP8266, I downloaded and installed the USB to UART driver from here https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers

I uploaded the Moodlite sketch and SPIFFS to two ESP8266 modules without issue.

However, my experience deviated from the instructions provided https://github.com/spigotx/Moodlite/wiki/First-setup-of-Moodlite in  that after rebooting the devices, they did not show up with WiFi names of Moodlite but were something like 'ESP_C70670' which I assume is related to the device name.

I won't be able to test the ability to configure the devices wifi connection to my home network until later today, I'll update this after then.

Update: When I got home I downloaded the same driver I linked to, then I tried to upload Moodlite and it gave the same errors again.
I used the same settings as I did earlier from a computer at my work. I also tried 3 different USB cables. So I'm assuming it's something with my computer's settings in some manner?

« Last Edit: March 15, 2019, 10:14:48 PM by MrLaFave »



 


SMF spam blocked by CleanTalk