Thank you for responding. I have managed to solve my issue since it did not make sense for the debug and flash system to be blocked. As it turned out I think a combination of hardware degradation and some poor code caused a timing fault. The 3rd line of code (2nd function call) below occurred to quickly EntrySequences_RstHigh_SBW() function: SetSBWTDIO(); //2 SetSBWTCK(); //3 It seems the TDIO line could not rise quickly enough to be read correctly when the TCK line rose. I simply added a 1 microsecond delay in-between the lines and that solved the issue.
↧