Rolf Meeser pisze:
> I had problems with the "reset init" on LPC2478, too. I didn't analyze it 
> deeply, but I noticed this problem:
> 
> OpenOCD reported that it couldn't halt the target. With debug on, I got the 
> impression that the EmbeddedICE had been programmed for a break before the 
> final SRST/TRST happened. There was an attempt to reprogram it afterwards, 
> but that didn't seem to be complete.
> 
> I've added a call to jtag_add_tlr(), and that solved it for me.
> All relevant EmbeddedICE registers are now reprogrammed.
> 
> It looks like there's some internal state which didn't notice that the target 
> hardware got a reset. Seems reasonable to me to have the TAP reset call here, 
> but I'm not an expert...

Unfortunately your patch doesn't solve my general problem:

- with "soft_reset_halt" before "load" programming fails
- without "soft_reset_halt" when there is no "load" debugging works wrong

/;

That's why I prefer STM32 now <:

4\/3!!
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to