I am having difficulty programming the SparkFun LoRa Gateway - 1-Channel (ESP32).
I have two of these, and experience the same problem with each.
I have been trying to follow the “Tutorial for LoRa Gateway - 1-Channel (ESP32)”.
I have not been able to get even the Blink code to load.
Using Arduino 1.8.8 on Ubuntu Linux 18.04.
I have installed the ESP32 Arduino core.
I have added the variant definition to the boards.txt file in the appropriate location under .arduino15/*.
The device /dev/ttyUSB0 appears when the boards are plugged in, and I have that set in the Arduino Interface.
No terminal windows or other connections to the serial device is running.
The code compiles as expected.
No combination of use/non-use of the rst or ‘button 0’ seems to allow me to upload the code as described under “User Buttons, LEDs, and USB” in the tutorial. Though I find that (and other) parts of the tutorial unclear. I am familiar with the oddities of the SamD21 upload process, but double clicking rst doesn’t seem to help.
The output in from the compile/upload process is inevitably:
Arduino: 1.8.8 (Linux), Board: “SparkFun LoRa Gateway 1-Channel, Default, QIO, 80MHz, 4MB (32Mb), 921600”
Sketch uses 192024 bytes (14%) of program storage space. Maximum is 1310720 bytes.
Global variables use 12800 bytes (4%) of dynamic memory, leaving 282112 bytes for local variables. Maximum is 294912 bytes.
python /home/dave/.arduino15/packages/esp32/tools/esptool_py/2.6.0/esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 /home/dave/.arduino15/packages/esp32/hardware/esp32/1.0.1/tools/partitions/boot_app0.bin 0x1000 /home/dave/.arduino15/packages/esp32/hardware/esp32/1.0.1/tools/sdk/bin/bootloader_qio_80m.bin 0x10000 /tmp/arduino_build_455131/Blink.ino.bin 0x8000 /tmp/arduino_build_455131/Blink.ino.partitions.bin
esptool.py v2.6-beta1
Serial port /dev/ttyUSB0
Connecting…
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 84:0d:8e:0c:58:38
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
A fatal error occurred: Timed out waiting for packet content
A fatal error occurred: Timed out waiting for packet content
Can anyone point out the error of my ways?
Dave