BLYNK BOARD ARDUINO IDE ERROR

I was trying to upload my sketches to my Blynk Board as usually, but now for a strange reason is not working, this is the message that appears:

Uploading 322496 bytes from to flash at 0x00000000

…warning: espcomm_send_command: didn’t receive command response

warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed

warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04

error: espcomm_upload_mem failed

error: espcomm_upload_mem failed

any Idea about this?. I reinstalled the arduino IDE, and the libraries in my mac but without success. the arduino IDE recognize the board on port.

Hmmmm. It sounds like the Blynk board was accepting sketched before. I want to say that there must be a hardware issue somewhere at this point. Perhaps try the following:

Restart the Arduino IDE

Unplug the USB cable and plug it in again. This is a prevalent issue with Mac OS and FTDI.

Try a different USB socket (will give a different USB port in the IDE)

Try a different USB cable

Reboot your PC

Re-install the USB driver for your NodeMCU board.

If you could provide information on your current hardware connections that would help.

The problem is in a deeper level. and definitely is not a problem of hardware on the board, because I can upload sketches from windows without problem. I tried connecting another sparkfunboard( in this case the ESP 8266) without similar error.

I think something is broken with the communication between the boards and the arduino IDE in mac.

Im sure that the FTDi drivers are working because mac recognize the ID of the boards as (cu.usbserial-DN040HTY)

i tried this septs without success:

reinstalled the arduino IDE.

reinstalled the FTDI drivers following this page:

https://learn.sparkfun.com/tutorials/ho … di-drivers

The messages that I received from the arduino IDE after trying to upload sketches are these:

Arduino: 1.8.9 (Mac OS X), Board: “SparkFun Blynk Board, 80 MHz, Serial, 115200, 4M (1M SPIFFS)”

Sketch uses 318339 bytes (30%) of program storage space. Maximum is 1044464 bytes.

Global variables use 45708 bytes (55%) of dynamic memory, leaving 36212 bytes for local variables. Maximum is 81920 bytes.

Sketch uses 318339 bytes (30%) of program storage space. Maximum is 1044464 bytes.

Global variables use 45708 bytes (55%) of dynamic memory, leaving 36212 bytes for local variables. Maximum is 81920 bytes.

Uploading 322496 bytes from to flash at 0x00000000

…warning: espcomm_send_command: didn’t receive command response

warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed

warning: espcomm_send_command: wrong direction/command: 0x01 0x03, expected 0x01 0x04

error: espcomm_upload_mem failed

An error occurred while uploading the sketch

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

and:

Arduino: 1.8.9 (Mac OS X), Board: “SparkFun ESP8266 Thing, 80 MHz, Flash, Disabled, 512K (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200”

Sketch uses 258596 bytes (51%) of program storage space. Maximum is 499696 bytes.

Global variables use 26696 bytes (32%) of dynamic memory, leaving 55224 bytes for local variables. Maximum is 81920 bytes.

warning: espcomm_sync failed

An error occurred while uploading the sketch

error: espcomm_open failed

error: espcomm_upload_mem failed

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

thanks for the help

Finally I founded the solution.

Arduino IDE works fine uploading sketches to the BLYNK BOARD and the ESP8266 Thing Dev if the UPLOAD SPEED is configured to 921600.

this option is in arduino IDE tools UPLOAD SPEED

varlanoff:
Finally I founded the solution.

Arduino IDE works fine uploading sketches to the BLYNK BOARD and the ESP8266 Thing Dev if the UPLOAD SPEED is configured to 921600.

this option is in arduino IDE tools UPLOAD SPEED

https://arduino.stackexchange.com/quest … ketch?rq=1

Ah, I see. I am very happy to see that you have found a solution to the issue and that you have shared this information on our forums.

I wish you luck with your project!