Code Monkey home page Code Monkey logo

Comments (8)

Jason2866 avatar Jason2866 commented on June 12, 2024

Have you tried? Since it is a esp32-s3 it should work in general.

from platform-espressif32.

phant0mias avatar phant0mias commented on June 12, 2024

Yes I tried it. I have two differnet S3 (m5stack-cores3, esp32-s3-devkitc-1) and they work.
I configured it as

platform = espressif32
board = arduino_nano_esp32
upload_protocol = esp-builtin
debug_tool = esp-builtin

But nothing happens. The output in the degub terminal is:
DEBUG: Current (esp-builtin) External (cmsis-dap, dfu, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
AVAILABLE: cmsis-dap, dfu, esp-bridge, esp-builtin, 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-builtin

I also tried to get it into boot mode using
https://docs.arduino.cc/tutorials/nano-esp32/debugging/
but no effort

Do you have any idea?

from platform-espressif32.

valeros avatar valeros commented on June 12, 2024

@phant0mias what happens if you run pio debug --interface-gdb -- -x .pioinit directly in the IDE terminal window.

from platform-espressif32.

phant0mias avatar phant0mias commented on June 12, 2024

dvanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [= ] 13.7% (used 44916 bytes from 327680 bytes)
Flash: [== ] 20.4% (used 642593 bytes from 3145728 bytes)
Building .pio\build\omote_esp32\firmware.bin
esptool.py v4.5.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Configuring upload protocol...
AVAILABLE: cmsis-dap, dfu, esp-bridge, esp-builtin, 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-builtin
Uploading .pio\build\omote_esp32\firmware.bin
Open On-Chip Debugger v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1

adapter speed: 40000 kHz

Warn : Transport "jtag" was already selected
adapter speed: 5000 kHz

Error: esp_usb_jtag: could not find or open device!
** OpenOCD init failed **
shutdown command invoked

*** [upload] Error 1

from platform-espressif32.

valeros avatar valeros commented on June 12, 2024

could not find or open device!

The error message is quite descriptive, you sure all necessary drivers are installed for this board?

from platform-espressif32.

phant0mias avatar phant0mias commented on June 12, 2024

Hi,
thanks for your answer.

I have arduino 2.x IDE installed. Following the instructions in
https://docs.arduino.cc/tutorials/nano-esp32/debugging/
I got the same error.
Info : only one transport option; autoselect 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Warn : Transport "jtag" was already selected
Info : Listening on port 50005 for tcl connections
Info : Listening on port 50006 for telnet connections
Error: esp_usb_jtag: could not find or open device!

First I try to get it working in the arduino IDE (as it is an arduino product) and then I switch to platformio.....

from platform-espressif32.

phant0mias avatar phant0mias commented on June 12, 2024

I am in contact with arduino and will write when my problem is found

from platform-espressif32.

valeros avatar valeros commented on June 12, 2024

Closing as the issue is not related to PlatformIO.

from platform-espressif32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.