This morning I received my first ESP32 development platform (ESP_WROVER_KIT). I followed the instructions per the espressif site and now I'm in trouble. I develop on Debian amd64 running in a VirtualBox under Windows10.
I was able to follow the guide up to
Code: Select all
$ make flash
$ make monitor
Code: Select all
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$ sudo bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrover.cfg
[sudo] password for paulvdbergh:
Open On-Chip Debugger 0.10.0-dev-ga859564 (2017-07-24-16:16)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
force hard breakpoints
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 20000 kHz
Info : JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1)
Info : esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Debug controller was reset (pwrstat=0x5F, after clear 0x0F).
Info : esp32: Core was reset (pwrstat=0x5F, after clear 0x0F).
^C
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$ bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp32-wrover.cfg
Open On-Chip Debugger 0.10.0-dev-ga859564 (2017-07-24-16:16)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
adapter speed: 20000 kHz
force hard breakpoints
Error: libusb_open() failed with LIBUSB_ERROR_ACCESS
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$ lsusb
Bus 001 Device 006: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$ ls /dev/ttyU* -all
crw-rw-rw- 1 root dialout 188, 0 Feb 23 20:55 /dev/ttyUSB0
crw-rw-rw- 1 root dialout 188, 1 Feb 23 20:55 /dev/ttyUSB1
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$ groups
paulvdbergh tty dialout cdrom floppy audio dip video plugdev netdev bluetooth lpadmin scanner
paulvdbergh@TBTIoT-AMD:~/esp/openocd-esp32$
Help is very welcome.
Thanks in advance,
Paul.