You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using avarice 2.13 (linux) with dragon (version 7.34) in debug wire mode I recognized, that the device doesn't actually "reset" (sfrs not initialized). Investigating that shows a comment and workaround in "jtag2run.cc". I disabled the workaround and until now I can't see the mentioned problems and the sfrs are initialized as intended. Maybe be disabling the workaround could be implemented as commandline option.
void jtag2::resetProgram(bool possible_nSRST_ignored)
{
#if 0
if (proto == PROTO_DW) {
/* The JTAG ICE mkII and Dragon do not respond correctly to
* the CMND_RESET command while in debugWire mode. */
interruptProgram();
setProgramCounter(0);
} else {
#endif
uchar cmd[2] = { CMND_RESET, 0x01 };
uchar *resp;
int respSize;
doJtagCommand(cmd, 2, resp, respSize);
delete [] resp;
/* Await the BREAK event that is posted by the ICE. */
bool bp, gdb;
expectEvent(bp, gdb);
#if 0
}
#endif
}
achimkraus
2014-01-05 09:31:11.953000
Using avarice 2.13 (linux) with dragon (version 7.34) in debug wire mode I recognized, that the device doesn't actually "reset" (sfrs not initialized). Investigating that shows a comment and workaround in "jtag2run.cc". I disabled the workaround and until now I can't see the mentioned problems and the sfrs are initialized as intended. Maybe be disabling the workaround could be implemented as commandline option.
This issue was migrated from https://sourceforge.net/p/avarice/feature-requests/8/
The text was updated successfully, but these errors were encountered: