probe-run on an Arduino Nano 33 BLE? #144
Comments
Hello! To use This particular board (the Arduino Nano 33 BLE) does not come with an on-board probe. When that's the case you'll need to connect a "stand alone" probe (additional piece of hardware) to the microcontroller and then connect the probe to your PC via USB. Some examples of stand alone probes are: the ST-Link and the J-Link. (There are also CMSIS-DAP based probes but I'm not aware of any stand alone probe that adheres to the CMSIS DAP standard) Looking at the schematic of this board: https://content.arduino.cc/assets/NANO33BLE_V2.0_sch.pdf Now, I don't see "J3" printed on the board when looking at the pictures of the board. J3 may or may not be the 4 square solder pads on the back of the board that sit between "D6" and "D9". I would ask on the Arduino forums how one can connect a stand alone debugger to this board. Or if they have some accessory for this. Hope that helps! |
@japaric Yes, that is actually very helpful, and helps me understand the difference between "I'm doing this wrong" and "My board doesn't support this". I really appreciate you taking the time to look into this and help me understand what's going on. I don't think my hobbying quite merits buying an ST-Link or J-Link and soldering something onto my boards, so I'll look into different ways to start experimenting (probably Thanks again for your time! I really appreciate it. |
145: README.md: add troubleshooting section r=jonas-schievink a=Lotterleben prompted by #144 : add a troubleshooting section that explains what to look for on your board in order to be able to use `probe-run`. while we're at it, also adds a section about udev rules as a band-aid for probe-rs/probe-rs#357 . Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com> Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
Describe the bug
I'm not quite sure where to ask this, because I think it's more of a "new to embedded development" question more than anything.
I'm trying to get started programming an Arduino Nano 33 BLE in Rust. It looks like the Nano 33 is a
nRF52840_xxAA
, which seems to be a supported chipset.I have it hooked up via USB to my Mac and I can flash to it via the Arduino IDE (first new-to-this question as I was digging around trying to understand what's going on: is that because this chip comes pre-flashed with some Arduino bootloader?)
When I do a
cargo run
, I getprobe-run --list-probes
tells me that no devices were found. I can't tell if that's expected or if I need to do something else or if I'm completely out in left field.I remember a previous co-worker at a previous job explaining things like J-Link to me; does probe-run only work with one of those things? Or should I expect probe-run to work directly connected to the Nano's USB port? Do I need to somehow flash a different bootloader onto the device first (I've seen
avrdude
mentioned...)?main.rs
Cargo.toml
config.toml
The contents of your project's
.cargo/config.toml
fileProbe details
Operating System:
macOS 11.2 (Big Sur)
The text was updated successfully, but these errors were encountered: