It maybe will raise other problems. Leave this probem as it is, or future improvement will solve it. And it will not affact AVR programming support.
2009-04-27 Best Regards, Simon Qian SimonQian([email protected]) ---- www.SimonQian.com 发件人: �yvind_Harboe 发送时间: 2009-04-27 13:44:53 收件人: SimonQian 抄送: Openocd-Dev 主题: Re: [Openocd-development] AVR support -- new tap problem How's this patch? Index: C:/workspace/openocd/src/jtag/jtag.c =================================================================== --- C:/workspace/openocd/src/jtag/jtag.c (revision 1531) +++ C:/workspace/openocd/src/jtag/jtag.c (working copy) @@ -1531,7 +1531,9 @@ u32 part; u32 version; - if (idcode == 0x000000FF) + /* some devices, such as AVR will output all 1's instead of TDI input value at + * end of chain. */ + if ((idcode == 0x000000FF)||(idcode == 0xFFFFFFFF)) { int unexpected=0; /* End of chain (invalid manufacturer ID) -- �yvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
