On Wed, May 25, 2016 at 2:32 PM, Paul Fertser <fercer...@gmail.com> wrote:
>
> On Wed, May 25, 2016 at 02:19:02PM +0200, Daniel Kowalski wrote:
> > Debugging works correctly when I remove last script line (program).
> > I don't know why debugger is stuck in half-working state after flashing
> > chip.
>
> I'm still confused about how "program ... reset" might make
> debugging problematic. But I've to admit I didn't have a chance to
> take a close look at your logs yet...
>
>
Hi!
I seem to recall that polling is switched off in the "program" script. That
would give exactly this behaviour.
After looking I see that it's done if you specify "reset". Workaround would
be to not do that but insert a separate "reset run" after. Of course, the
correct solution is not to use program but instead load from GDB, as Paul
said.
Perhaps that "poll off" should be removed, no idea why it would ever be
needed.
/Andreas
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel