Hi

Now when we have almost got the new state table infrastructure in plaec 
and working it is time to think ahead.

Shall we retire the 7 step transitions ? No ! expand the founctionallity 
to allow user (target) defined state transition tables, the current code 
allows that. Maybe not the default and not recommended for casual users 
but - Why limit the possibilities ??

Make all jtag interfaces behave as similar as possible !  Perhaps the 
most problematic is reset handling.

Interface jtag reset command handlers should ONLY do one thing:

- set hw rst and trst lines to desired state, if necessary execute jtag 
communications

Upper Jtag layer (jtag.c) handles ALL logic about 
- flushing command queues
- setting TAP_RESET state  when trst is asserted, adding extra 
state_move(RAT_RESET)  , handling srts_pulls_trst logic etc. This is 
logic is already confusing and doing it in several places even more so.


Just some ideas.

Have a nice evening
Magnus

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to