---

**[tickets:#436] SWD WAIT Issue**

**Status:** new
**Milestone:** 0.11.0
**Labels:** nrf5 swd orundetect 
**Created:** Wed Sep 25, 2024 08:11 AM UTC by JingJia Shi
**Last Updated:** Wed Sep 25, 2024 08:11 AM UTC
**Owner:** nobody
**Attachments:**

- [fig1.png](https://sourceforge.net/p/openocd/tickets/436/attachment/fig1.png) 
(126.0 kB; image/png)
- [fig2.png](https://sourceforge.net/p/openocd/tickets/436/attachment/fig2.png) 
(77.8 kB; image/png)


Hi, i'm using openocd to burn some nrf5 chips with Jlink.
Here is the issue i found:
1. set adapter speed to 1400 kHz, program progress seen good; 
2. set  adapter speed to 1500 kHz  , program process will fail;
    2.1 openocd aborted the program because the target returned ACK WAIT or ACK 
FAIL;
3. when i use nrfjprog + Jlink , the swd clk speed is 1800KHz and program 
process seen good;
    3.1 nrfjprog won't aborted the program although the target return ACK WAIT 
, it just retry current SWD Request many times.
    3.2 if target return ACK WAIT, nrfjprog will sent the following data bit 
(see attachment fig 1);
    3.3 openocd will check the ACK type after all data bits send over,then do 
some action (see attachment fig 2);

Is there a way to change the swd read/write behavior so that it resend after 
receiving an ACK WAIT?



---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to