0 votes
by (130 points)
Hi,

I just bought my first Squix Weather Station and am trying to go through the manual to learn how to do it all. I have managed to get the drivers installed, the correct port chosen, and the right board environment set up on my mac, but I am still having problems communicating with the board.

When I press the RST button, i get this:

-----

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x07
csum 0x07
csum err
ets_main.c

------

it's very similar to what's in the manual, but it appears to have an error on mine that is not in the book. does the "csum err" mean anything that I should be concerned about?

Also, when I do try to run the WiFiScan sketch, the upload to the board fails. Can anyone look at this output from the console and tell me what it means? or better, how to get it working?

thanks in advance for any help...

------

esptool v0.4.9 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
    setting board to nodemcu
    setting baudrate from 115200 to 9600
    setting port from /dev/tty.usbserial to /dev/cu.SLAB_USBtoUART
    setting address from 0x00000000 to 0x00000000
    espcomm_upload_file
    espcomm_upload_mem
opening port /dev/cu.SLAB_USBtoUART at 9600
    tcgetattr
    tcsetattr
    serial open
opening bootloader
resetting board
trying to connect
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
trying to connect
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
    espcomm_send_command: receiving 2 bytes of data
Uploading 230784 bytes from /var/folders/dl/bmc2p_754n9_8y8zvr9t6mgh0000gn/T/arduino_build_983697/WiFiScan.ino.bin to flash at 0x00000000
    erasing flash
    size: 038580 address: 000000
    first_sector_index: 0
    total_sector_count: 57
    head_sector_count: 16
    adjusted_sector_count: 41
    erase_size: 029000
    espcomm_send_command: sending command header
    espcomm_send_command: sending command payload
    setting timeout 15000
    setting timeout 100
    espcomm_send_command: receiving 2 bytes of data
    writing flash
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: didn't receive command response
closing bootloader
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

1 Answer

+1 vote
by (10.0k points)
Please excuse the longer response time. I think you can ignore the startup error, that just shows the last error that occured and should not be important. It looks to me as if you are using just 9600 for uploading the firmware?

Please try it with the following settings:

Board: "NodeMCU 1.0 (ESP-12E Module)"
CPU Frequency: "80 MHz"
Flash Size: "4M (3M SPIFFS)"
Upload Speed "115200"
Port "/dev/cu.SLAB_USBtoUART"

And try it again. Another thing you can try: press the flash button, keep it down and press and release the reset button. This might put the ESP8266 into programming mode.

If that doesn't work please feel free to come back here...
by (130 points)
Thank you! My upload speed was not set to 115200, and changing that made everything work as advertised! thanks for your help!

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...