Comments (5)
Don't confuse the chip version with the development board's version. You can see the chip's version info if you run espflash board-info
(which is, indeed, a bit of a misleadingly named command).
The chip's USB hardware may indeed support JTAG, but if you look at the development board's schematics you can see that, by default, the USB port is not connected to the ESP32 chip.
from probe-rs.
probe-rs can not communicate over a USB serial port, you'll need to use espflash for that device I'm afraid. That being said, this is a common enough issue that we might provide some more useful feedback.
If you really want to use your C3 with probe-rs, you'll either need an external JTAG probe, or you'll need to modify the board itself according to this guide. This case, unfortunately, we won't be able to detect - we can't guess if the CP210x is indeed paired with a C3, and if that is indeed the same dev kit, etc.
from probe-rs.
Hi @bugadani
This is a bit confusing, and I'm hoping to clarify things for others in the process. Thanks for your help!
The page ESP32-C3 > JTAG Debugging (looks authoritative to me) mentions:
Debugging through the USB interface implemented in ESP32-C3 requires to have a chip with revision 0.3 or newer. Please use other debugging options (e.g., with ESP-Prog) for chip revisions 0.1 and 0.2. [...]
My board has "v.1.1" printed on the bottom side. If this is the "chip revision" I would.. expect the USB port to have JTAG functionality.
from probe-rs.
Thanks @bugadani
I was able to get "println" output yesterday, using espflash
, not probe-rs
. It will likely take me a while to get my head truly wrapped around these tools. That's fine. In case you are curious - the work is available at ESP32-Mac.
As to this ticket, let's keep it to the title, i.e. a request for an error message that provides some pointers instead of just saying "no connection".
from probe-rs.
Closing, since the suggestion on more descriptive error messages didn't get much support (perhaps it's a non-issue?). Also, I've moved on and no longer suffer from the newbie problems.
For future visitors:
- you want to have
lsusb
report something withJTAG
in its name. Thenprobe-rs
will find it, just fine.
from probe-rs.
Related Issues (20)
- Compatibility with CMSIS-DAP configured Jlink HOT 10
- Cannot connect to RISC-V chip via CMSIS-DAP JTAG Protocol HOT 4
- Adding support for TI Tiva-C targets HOT 1
- Connecting to the chip was unsuccessful.: Timeout while attaching to target under reset. HOT 1
- Reading returns the first written value over and over HOT 3
- WARN probe_rs::architecture::arm::core::armv7m: Core is running, but we expected it to be halted HOT 1
- Got error when install probe-rs-tools on MacOS Sonoma 14.6.1 HOT 1
- Memory flush not being called causes probe to never send pending writes to DAP
- Support for RP235XY HOT 3
- Arm FaultResponse HOT 26
- `--preverify` does not seem to work with RP2040
- Infineon Tricore architecture support HOT 1
- probe-rs attach freezes the running program
- `probe-rs` master branch doesn't build as a library HOT 7
- FR [doc]: Ability to exit back to host's command prompt on-cue from embedded program HOT 6
- Bash completions fail to install HOT 1
- Overflow panic can occur when calculating ram_for_data in flash algorithm with very little ram HOT 1
- `probe-rs --version` misreports as `crates.io` if installed from GitHub and no `git` CLI is installed HOT 9
- Support external flash loaders HOT 3
- ESP32-C3 bug recurs on latest `main` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from probe-rs.