Gabriel Volpicelli wants to merge 1 commit from /u/gvolpicelli/openocd/ to master, 2024-05-17
(resubmitted from clean branch)
Some Arm926ej-s CPUs do not present a correct end of chain marker. After the jtag code sets up the user defined TAPs it will autoprobe for the end of chain marker and this can result in 20 invalid TAPs. The creation of the invalid TAPs prevents the valid user-defined TAPs from functioning. This patch adds a new option called jtag_autoprobe which can be set to true or false. This option defaults to true. If set to false, then the jtag code will get max_taps from the jtag_tap_count like usual, but it will not create room for auto taps or the end of chain marker. This means it will not perform the check for the end of chain marker and it will not generate extra TAPs that are not already defined. This allows misbehaving CPUs to work correctly as long as the user has correctly defined the valid TAPs that are present.
Commit | Date | |
---|---|---|
[7a93e8]
(disable_autoprobe)
by
![]() jtag: Add an option to disable autoprobing |
2024-04-10 22:27:58 | Tree |