Does the reset problem of LPC2138 solved?
I captured picture about reset singal when operating LPC2138 and STM32, hope it will be helpful.
STM32(It’s OK):
http://www.SimonQian.com/image/temp/jtag_stm32.jpg
LPC2138(It’s OK before Reset):
http://www.SimonQian.com/image/temp/jtag_2148.jpg
The reset singals are different becasue of the settings.
For STM32: reset_config trst_and_srst
For LPC2138: reset_config trst_and_srst srst_pulls_trst
Another question:
Is it OK if I modify tap_move to (every element is 8bits):
8 OLINK_tap_move[6][6] =
{
/* TLR RTI SD PD SI PI */
{0xff, 0x00, 0x2f, 0x0a, 0x37, 0x16}, /* TLR */
{0xff, 0x00, 0x4a, 0x05, 0x56, 0x0b}, /* RTI */
{0xff, 0x31, 0x00, 0x01, 0x0f, 0x2f}, /* SD */
{0xff, 0x30, 0x40, 0x17, 0x3c, 0x2f}, /* PD */
{0xff, 0x31, 0x07, 0x17, 0x00, 0x01}, /* SI */
{0xff, 0x30, 0x38, 0x17, 0x40, 0x2f} /* PI */
};
My JTAG tool use 2 spi interface to emulate a JTAG interface, so the operation can only be in 8 bits.