NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Bugies has quit [Ping timeout: 256 seconds]
slobodan has quit [Ping timeout: 268 seconds]
erhankur_ has quit [Remote host closed the connection]
erhankur has joined #openocd
tsal_ has joined #openocd
tsal has quit [Ping timeout: 252 seconds]
Kerr has joined #openocd
Kerr has quit [Ping timeout: 255 seconds]
Kerr has joined #openocd
Kerr has quit [Ping timeout: 255 seconds]
Kerr has joined #openocd
nerozero has joined #openocd
Kerr has quit [Ping timeout: 255 seconds]
Kerr has joined #openocd
gzlb has quit [Ping timeout: 256 seconds]
gzlb has joined #openocd
Bugies has joined #openocd
Hawk777 has quit [Quit: Leaving.]
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
Deneb has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Deneb has quit [Quit: Leaving]
<markand> I have this issue trying to use openocd with my lpc1768: https://bpa.st/PGCA
<markand> using interface/cmsis-dap.cfg + target/lpc17xx.cfg (segger link base configured as cmsis-dap)
<PaulFertser> markand: hi
<PaulFertser> markand: probably the target is running some firmware that enters sleep or something?
<markand> hmmm, that will be hard to solve if I can't flash it anymore
<PaulFertser> markand: usually targets provide means to regain debug control no matter what. E.g. stm32 (and other proper cortex-m targets) allow SWD communication with reset asserted.
<PaulFertser> But different targets have different quirks.
<markand> let me check
<PaulFertser> markand: btw, I remember some LPC devices only supported JTAG for boundary scan and needed SWD for debug.
<markand> if I use transport swd I get openocd that exits with no error
<markand> ah no I get a Error: [lpc17xx.cpu] Could not find MEM-AP to control the core
<markand> Warn : target lpc17xx.cpu examination failed
<markand> instead
erhankur_ has joined #openocd
<PaulFertser> markand: what's currently running on that target?
<markand> ah now it immediately exits: https://bpa.st/7LUQ
<markand> a broken code I think :)
<markand> I've tried flashing a hello world with custom linker scripts for GCC rather than using ARM's cc and I'm stuck here
erhankur has quit [Ping timeout: 264 seconds]
<PaulFertser> markand: this last output looks rather good though, it doesn't exit there?
<PaulFertser> Ah it does, failing to examine later just not in the paste?
<PaulFertser> markand: do you have physical reset line connected to the target?
<markand> yes it exits after the last line
<markand> with exit code 1 but no error :P
<markand> I don't know about the reset, it's a custom board and I don't have the schematics right now
<PaulFertser> markand: a custom board with on-board cmsis-dap?
<markand> it's my jlink adapter that is configured with cmsis-dap (I can configure with jlink protocol instead)
<PaulFertser> So if it's an adapter then you know what signals you connected to the target, right?
<markand> no because it's my teammate who made the connector and I really don't have any schematics here
<markand> I'm more a dev than a electronic guy
<markand> so when I have a trouble I used to ask my colleagues to fix the wires :P
<PaulFertser> markand: oh heh, you can try running with "reset_config srst_only connect_assert_srst" to see if it gives different result.
<markand> okay I get openocd still running but with a MEM-AP examination failed, erasing the whole chip now would be the best
erhankur has joined #openocd
erhankur_ has quit [Ping timeout: 264 seconds]
jn has quit [Ping timeout: 246 seconds]
jn has joined #openocd
jn has joined #openocd
jn has quit [Changing host]
<PaulFertser> markand: if it didn't exit then you can do various things yes.
<markand> right now it refuses to halt (so can't use flash erase_sector)
<markand> I read about CRP register, I hope I didn't brick the board
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
dormito has quit [Ping timeout: 255 seconds]
dormito has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
crabbedhaloablut has quit []
crabbedhaloablut has joined #openocd
jn has joined #openocd
jn has joined #openocd
MGF_Fabio has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
nerozero has quit [Ping timeout: 268 seconds]
slobodan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
MGF_Fabio has quit [Ping timeout: 264 seconds]
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
stefanct has quit [Excess Flood]
stefanct has joined #openocd
rolf has quit [Remote host closed the connection]
rolf has joined #openocd
flatmush has joined #openocd
Bugies has quit [Ping timeout: 264 seconds]
slobodan has quit [Ping timeout: 264 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd