Commit 7f8eec1
committed
target/cortex_m, hla_target: implement memory_ready() test
Allow memory access as soon as debug_ap is initiated.
This resolves chicken - egg problem in cortex_m_examine():
examined flag had to be set at the start of examination
to allow memory access during examination.
hla_target has memory ready to access as soon as the adapter
is initialized so we can simply return true.
Change-Id: I30b8bcb8c43775ebbd8e677da09189781bebb4ab
Signed-off-by: Tomas Vanek <[email protected]>
Reviewed-on: https://review.openocd.org/c/openocd/+/9179
Reviewed-by: Antonio Borneo <[email protected]>
Tested-by: jenkins1 parent ba12fb9 commit 7f8eec1
2 files changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2297 | 2297 | | |
2298 | 2298 | | |
2299 | 2299 | | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
2300 | 2307 | | |
2301 | 2308 | | |
2302 | 2309 | | |
| |||
2799 | 2806 | | |
2800 | 2807 | | |
2801 | 2808 | | |
2802 | | - | |
2803 | | - | |
2804 | 2809 | | |
2805 | 2810 | | |
2806 | 2811 | | |
| |||
3461 | 3466 | | |
3462 | 3467 | | |
3463 | 3468 | | |
| 3469 | + | |
3464 | 3470 | | |
3465 | 3471 | | |
3466 | 3472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
622 | 627 | | |
623 | 628 | | |
624 | 629 | | |
| |||
661 | 666 | | |
662 | 667 | | |
663 | 668 | | |
| 669 | + | |
664 | 670 | | |
665 | 671 | | |
666 | 672 | | |
| |||
0 commit comments