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