We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cca0e4 commit 1602262Copy full SHA for 1602262
src/target/xtensa/xtensa.c
@@ -2324,6 +2324,9 @@ int xtensa_poll(struct target *target)
2324
"DSR has changed: was 0x%08" PRIx32 " now 0x%08" PRIx32,
2325
prev_dsr,
2326
xtensa->dbg_mod.core_status.dsr);
2327
+ if (xtensa_dm_is_powered(&xtensa->dbg_mod))
2328
+ /* Reset the powered-off counter */
2329
+ xtensa->come_online_probes_num = 3;
2330
if (xtensa->dbg_mod.power_status.stath & PWRSTAT_COREWASRESET(xtensa)) {
2331
/* if RESET state is persitent */
2332
target->state = TARGET_RESET;
0 commit comments