simon qian wrote:
> But as I remember, reset_config was really defined as
> "trst_and_srst srst_pulls_trst".

Yes, but I think that was not correct for LPC2148.


> Why it becames "trst_and_srst" in the latest git head?

While developing with the LPC-H2148 board I created a firmware which
would cause an exception very soon after coming out of reset. The
LPC2148 chip does not have tsrt and srst hardwired together, this is
just a design property of some particular boards.

With srst_pulls_trst OpenOCD was unable to halt the CPU before the
exception. With only trst_and_srst OpenOCD could successfully halt
the CPU immediately after reset.


//Peter
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to