|
From: Andreas F. <and...@gm...> - 2016-05-25 15:10:16
|
On Wed, May 25, 2016 at 2:32 PM, Paul Fertser <fer...@gm...> 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 |