Brand new to esp-prog and pretty new to Platformio. Got the debug working after a couple of attempts, ZADIG installed the correct driver for Dual RS232-HS(0) and Dual RS232-HS(1) remains as a Com port.
Using the example Blink file for starters and my platformio.ini is:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
upload_protocol = esp-prog
debug_tool = esp-prog
debug_init_break = tbreak setup
When I compile all goes as expected until the following appears:
*WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release*.
I realise it is just a warning, does anything need to be done to alleviate it?
The second issue is:
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
But the programme continues to compile albeit with 4 iterations of:
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
RAM: [ ] 4.7% (used 15356 bytes from 327680 bytes)
Flash: [== ] 16.1% (used 210941 bytes from 1310720 bytes)
esptool.py v3.0
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esp-prog
Uploading .pio\build\esp32dev\firmware.bin
Open On-Chip Debugger v0.10.0-esp32-20201202 (2020-12-02-17:38)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
adapter speed: 20000 kHz
*WARNING: boards/esp-wroom-32.cfg is deprecated, and may be removed in a future release*.
adapter speed: 20000 kHz
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
** Programming Started **
** Programming Finished **
** Verify Started **
** Verified OK **
shutdown command invoked
================================= [SUCCESS] Took 17.49 seconds =================================
As I said it all appears to work, the chip gets programmed, the programme runs as expected as does debugging. The messages have me confused (not difficult).
Any thoughts?