debugprobe
cortex-debug
debugprobe | cortex-debug | |
---|---|---|
9 | 8 | |
663 | 932 | |
3.8% | - | |
7.3 | 7.0 | |
23 days ago | about 1 month ago | |
C | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
debugprobe
-
A Framework Laptop Hacking Story
use the JECDB header to connect a SWD probe like a Picoprobe and debug the firmware
-
J-Link replacement with Raspberry Pi Pico?
Can Raspberry Pi Pico replace J-Link? I saw PicoProbe project, installed and wired for it, but pyocd stucks with "Waiting for a debug probe to be connected..." and nRF Connect Programmer fails with error "Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device."
-
Help debugging RP2040 using J-Link and OpenOCD
Even once you've got that handled, though, I'm not sure the JLink will be able to connect. The RP2040 uses a somewhat uncommon variant on SWD to communicate with its two cores; not all debug probes support this. If you can't get the JLink to work and you have a spare Pi Pico around, you can use the Picoprobe firmware to turn the extra Pi into a DAPlink-compatible debug probe.
-
New Product from Raspberry Pi: Raspberry Pi Debug Probe: a plug-and-play debug kit for $12
That's cool, but does it do anything you can't already do with just another Pico running picoprobe? (like this)
-
rp2040, boot from ram(no flash), swd
I need to boot rp2040 from ram (no flash), which I have tested with the picotool (with USB) and picoprobe (with swd+gdb load) and I can boot from ram and flashing a LED.
- building opened for apple Mac m1
-
Anyway to use a RP pico as an stlink clone?
Yes -- the Picoprobe firmware is what you're after.
-
What're my debugging options without a raspberry pi?
And here's the repo for the picoprobe software: https://github.com/raspberrypi/picoprobe
cortex-debug
- Help OpenOCD not recognizing SWD parameter for J-Link probe config
-
Help debugging RP2040 using J-Link and OpenOCD
Cortex-Debug: VSCode debugger extension version 1.10.0 git(cf1c296). Usage info: https://github.com/Marus/cortex-debug#usage Reading symbols from arm-none-eabi-objdump --syms -C -h -w /home/smith/Documents/gpio_int_test/build/zephyr/zephyr.elf Reading symbols from arm-none-eabi-nm --defined-only -S -l -C -p /home/smith/Documents/gpio_int_test/build/zephyr/zephyr.elf Launching GDB: arm-none-eabi-gdb -q --interpreter=mi2 IMPORTANT: Set "showDevDebugOutput": "raw" in "launch.json" to see verbose GDB transactions here. Very helpful to debug issues or report problems Error: arm-none-eabi-nm failed! statics/global/functions may not be properly classified: Error: spawn arm-none-eabi-nm ENOENT Expecting `nm` next to `objdump`. If that is not the problem please report this. Error: objdump failed! statics/globals/functions may not be properly classified: Error: spawn arm-none-eabi-objdump ENOENT ENOENT means program not found. If that is not the issue, please report this problem.Launching gdb-server: /home/smith/openocd/src/openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /home/smith/openocd/tcl -f /home/smith/.vscode/extensions/marus25.cortex-debug-1.10.0/support/openocd-helpers.tcl -f /interface/jlink.cfg -f /target/rp2040.cfg Please check TERMINAL tab (gdb-server) for output from /home/smith/openocd/src/openocd Finished reading symbols from objdump: Time: 11 ms Finished reading symbols from nm: Time: 9 ms Failed to launch OpenOCD GDB Server: Error: spawn /home/smith/openocd/src/openocd ENOENT
- Seer – a GUI front end to GDB for Linux
-
Why so many of you hate Eclipse IDE?
This guy: https://github.com/Marus/cortex-debug. Can grab it from the VSCode extensions window.
- Configuring VS Code with remote OpenOCD running on Raspberry Pi zero. How?
-
Configuring VS Code with remote openocd.
https://github.com/Marus/cortex-debug/issues/603 More info here.
-
Tutorial to set up VSCode for assembly
There's also https://marketplace.visualstudio.com/items?itemName=maziac.asm-code-lens and https://github.com/Marus/cortex-debug
-
Rust for web development: 2 years later
Thank you!
OK. I was thinking to assemble a "Press F5 to debug" solution to speed up my learning process. I'm used to command line tools and hacking stuff together too, so I should be fine if that is the state of the art for debugging (but it would be difficult to convince my coworkers in the future). I wonder if a combination of Eclipse for Rust and OpenOCD plugin is doable. Or perhaps cortex-debug[1] for VS:Code. I have some research to do, to explore the different solutions.
And I'm stuck on Windows too, since many of the tools I use require Windows.
Thanks again.
[1]: https://github.com/marus/cortex-debug
What are some alternatives?
pico-debug - virtual debug pod for RP2040 "Raspberry Pi Pico" with no added hardware
debug-adapter-protocol - Defines a common protocol for debug adapters.
UsbAsp-flash - Program allow you to program flash memory on the protocols spi, I2C, MicroWire. Supports CH341a, UsbAsp, AVRISP(LUFA), Arduino, FT232H.
vscode-neovim - Vim mode for VSCode, powered by Neovim
picotool
vscode-assembly - Assembling and debugging assembly in Visual Studio Code
FrameworkHacksPkg
seer - Seer - a gui frontend to gdb
Framework-Laptop-13 - Documentation for the Mainboard and other modules in the Framework Laptop 13
yew - Rust / Wasm framework for creating reliable and efficient web applications
ExpansionCards - Reference designs and documentation to create Expansion Cards for the Framework Laptop
gf - A GDB frontend for Linux.