Kerplunk007
New Member
I have inadvertently bricked (I suspect) a couple of boards containing an NXP LPC2138 CPU. I access them by connecting a Segger JTAG directly to the JTAG pins on the chip, the PINSEL2 register controls whether the JTAG pins are configured for debug (JTAG) or for GPIO. Inadvertently, my code set this register to zero, which sets them to GPIO. Working through RAM this wasn’t a problem, because if I powered down the chip the loaded coded disappeared, and when the chip came back up the JTAG connection was there because default startup setting is JTAG. However, I made the mistake of burning my program to NVR, and it appears that as soon as the chip powers up the code takes over and disables JTAG connectivity. I’ve tried 2 means of connecting through JTAG, neither of them works.
The chip manual states that it is possible to force the mode to JTAG by pulling a particular chip I/O line low (P1.26). However, on this board that pin is not brought out in an accessible way.
I suspect the bricking is permanent, does anyone have any suggestions?
The chip manual states that it is possible to force the mode to JTAG by pulling a particular chip I/O line low (P1.26). However, on this board that pin is not brought out in an accessible way.
I suspect the bricking is permanent, does anyone have any suggestions?