Comments (8)
There is no point mentioning that. This project is for my personal use. I don't care if it works for anyone else, but I'm happy if it does. So I will keep it in the state I like it to be.
I fix bugs like this as they come up for me or reported. Before you reported it, it was not a problem.
This is now fixed.
from edbg.
I'm not 100% clear on the scenario. Is the first trace not right after unplugging? Or is this intermittent.
In general it looks like the debugger does not respond. It is hard to tell why.
Also, does this board come with CMSIS-DAP debugger by default? Or you had to replace it with something? I might need to get one if this is the case?
from edbg.
I found that this board does come with CMSIS-DAP debugger. I've ordered one.
from edbg.
The traces are with running edbg in the debugger. An they are output of typing ^C after a long hang.
from edbg.
Yes, but I don't understated the difference between the successful and hanging runs.
How is pyocd important here? What happens if you just run edbg from a command line without GDB? Does it not work consistently when edbg is run by itself?
I've got a shipping notification for the board, it should be here next week.
from edbg.
I can fix by:
``diff --git a/edbg.c b/edbg.c
index c9e5113..2014652 100644
--- a/edbg.c
+++ b/edbg.c
@@ -346,8 +346,8 @@ void reconnect_debugger(void)
dap_transfer_configure(0, 128, 128);
dap_swd_configure(0);
dap_led(0, 1);
- dap_reset_link();
dap_swj_clock(g_clock);
- dap_reset_link();
}
Set frequency first, then reset the link.
from edbg.
Yes, this makes sense and a clear bug. Clock should be set before anything that actually toggles pins. I will fix that.
from edbg.
That is the profit that you have if you share code.
from edbg.
Related Issues (20)
- "Error: invalid response received" in ATSAMD11C14A HOT 16
- error_exit() function and target reset HOT 1
- Error: hid_error is not implemented yet HOT 20
- Ubuntu 20 edbg flash broken? HOT 3
- unable to unlock HOT 4
- Binary downloads HOT 7
- Programming ATsaml21e17b HOT 2
- Segmentation fault on OSX when debugger in use by openocd HOT 7
- CMSIS-DAP v2 support requirement HOT 5
- edbg compiled on Raspberry Pi 4B hangs while using free-DAP to program SAMD21 HOT 3
- RP2040 support? HOT 28
- board unusable after write fuse operation on SAML11-XPRO HOT 5
- Why is the RP2040 max flash 2MB? HOT 1
- libhidapi.0.dylib not loaded on Mac HOT 5
- Request to add entry for SAM V70N19 Rev B HOT 1
- "nanoDAP" adapter not supported in Linux HOT 2
- WAIT response after erasing flash HOT 7
- Can't list devices on Ubuntu 20.04 HOT 4
- Kinetis KL26 HOT 2
- Add support for PUYA PY32F0xx HOT 8
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 edbg.