mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-14 02:58:23 +08:00
Compare commits
2 Commits
537d907555
...
09a54c3a89
Author | SHA1 | Date | |
---|---|---|---|
![]() |
09a54c3a89 | ||
![]() |
f71b0bbd7b |
@@ -270,6 +270,7 @@ struct swd_driver {
|
||||
* @param Where to store value to read from register
|
||||
* @param ap_delay_hint Number of idle cycles that may be
|
||||
* needed after an AP access to avoid WAITs
|
||||
* or zero in case of DP read.
|
||||
*/
|
||||
void (*read_reg)(uint8_t cmd, uint32_t *value, uint32_t ap_delay_hint);
|
||||
|
||||
@@ -280,6 +281,7 @@ struct swd_driver {
|
||||
* @param Value to be written to the register
|
||||
* @param ap_delay_hint Number of idle cycles that may be
|
||||
* needed after an AP access to avoid WAITs
|
||||
* or zero in case of DP write.
|
||||
*/
|
||||
void (*write_reg)(uint8_t cmd, uint32_t value, uint32_t ap_delay_hint);
|
||||
|
||||
|
@@ -50,8 +50,16 @@
|
||||
/*
|
||||
* Relevant specifications from ARM include:
|
||||
*
|
||||
* ARM(tm) Debug Interface v5 Architecture Specification ARM IHI 0031F
|
||||
* ARM(tm) Debug Interface v5 Architecture Specification ARM IHI 0031G
|
||||
* https://developer.arm.com/documentation/ihi0031/latest/
|
||||
*
|
||||
* ARM(tm) Debug Interface v6 Architecture Specification ARM IHI 0074C
|
||||
* https://developer.arm.com/documentation/ihi0074/latest/
|
||||
*
|
||||
* Note that diagrams B4-1 to B4-7 in both ADI specifications show
|
||||
* SWCLK signal mostly in wrong polarity. See detailed SWD timing
|
||||
* https://developer.arm.com/documentation/dui0499/b/arm-dstream-target-interface-connections/swd-timing-requirements
|
||||
*
|
||||
* CoreSight(tm) v1.0 Architecture Specification ARM IHI 0029B
|
||||
*
|
||||
* CoreSight(tm) DAP-Lite TRM, ARM DDI 0316D
|
||||
|
Reference in New Issue
Block a user