Hello,
I've got a DS18B20 temperature sensor I'm trying to get working on my ESP8266 board. I try to `make test` on the ds18b20_onewire example that comes with esp-open-rtos, and it doesn't work -- I don't even think it's executing the example's code at all:
$ make -j4 test -C examples/ds18b20_onewire/ ESPPORT=/dev/cu.SLAB_USBtoUART
esptool.py -p /dev/cu.SLAB_USBtoUART --baud 115200 write_flash -fs 16m -fm qio -ff 40m \
0x0 ../../bootloader/firmware_prebuilt/rboot.bin 0x1000 ../../bootloader/firmware_prebuilt/blank_config.bin 0x2000 ./firmware/ds18b20_onewire.bin
esptool.py v1.2
Connecting...
Running Cesanta flasher stub...
Flash params set to 0x0030
Writing 4096 @ 0x0... 4096 (100 %)
Wrote 4096 bytes at 0x0 in 0.4 seconds (90.1 kbit/s)...
Writing 4096 @ 0x1000... 4096 (100 %)
Wrote 4096 bytes at 0x1000 in 0.4 seconds (90.0 kbit/s)...
Writing 311296 @ 0x2000... 311296 (100 %)
Wrote 311296 bytes at 0x2000 in 27.1 seconds (92.0 kbit/s)...
Leaving...
../..//utils/filteroutput.py --port /dev/cu.SLAB_USBtoUART --baud 115200 --elf ./build/ds18b20_onewire.out
Opening /dev/cu.SLAB_USBtoUART at 115200bps...
pp_task_hdl : 3fff2220, prio:14, stack:512
pm_task_hdl : 3fff26b0, prio:1, stack:176
ets Jan 8 2013,rst cause:2, boot mode:(1,7)
ets Jan 8 2013,rst cause:4, boot mode:(1,7)
wdt reset
Nothing happens after this statement.
I'm pretty new to this board and to esp-open-rtos, and I'm not sure what's happening, nor how to troubleshoot it further. I've been able to successfully build and run the aws_iot example. I've tried this on two different boards (NodeMCU) and both exhibit the same problem. Any suggestions what's going wrong here, or where to look for troubleshooting info?
Thanks much!
Ross