Hi Duane,I broke the fixes into two patches. I'm also attaching the config for this part.
Patch #1: JLinkI really tried to get this stuff to work without changing the state table, but the fact is that the state table is part of the problem (and the fix). When I walk all 36 routes of the current state table using the ARM reference manual it surprises me that it works. Tho' I am new to this, so I could be missing something.
Patch #2: target (Thumb problems)I removed the experimental clock_in_out routine, but I did leave the two debug statements where I see crashing out of thumb mode. I figure if folks are going to help us here then this bit of unobtrusive code is a good places for others to hook into the problem.
NB: If I remove any of the key changes (all but the debug routines I added) then I cannot get JLink to work with the MC1322x. I think these patches represent the minimal changes needed to make this work. This is not ideal, but keep in mind that we're sending about 20% fewer state changes with this table, and with tms_path_len() we send 60% fewer total clock-outs. Efficiency is way up on the JLink i/f.
Thanks Jeff
OOCD-jlink-patch.v1
Description: Binary data
OOCD-target-patch.v1
Description: Binary data
MC13224.cfg
Description: Binary data
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development