LPC2368 PLL configuration failure.

I am attempting to write an init script to set the system clock/PLL, but I am loosing the JTAG connection as soon as I disconnect the PLL.

What I am using is the MCB2360+ARM-USB-OCD+OpenOCD (svn717).

Can someone explain why this is not working and/or what I am doing wrong?

Thanks!

-Jian

Hi guys, sorry for disturbing. Finally I found the problem.

That’s because when the PLL disconnected, the LPC runs at a lower frequency, so the jtag_speed should adjust as well.

After I adjust the jtag_speed from 9 to 12, everything seems fine.