NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Hawk777 has quit [Quit: Leaving.]
nerozero has joined #openocd
Hawk777 has joined #openocd
Hawk777 has quit [Quit: Leaving.]
wingsorc__ has quit [Remote host closed the connection]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
<phr3ak> is it possible to check that the CPU is not dead and that there is any communication without giving the specific CPU type to openocd?
<phr3ak> it will be a GD32F450
wingsorc has joined #openocd
akaWolf has joined #openocd
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #openocd
<PaulFertser> phr3ak: sure, if you know its core
<PaulFertser> phr3ak: cortex-m?
Hawk777 has joined #openocd
<phr3ak> i tried it with gd32 and stm32f4xx cfg
<phr3ak> gd32e23x cfg
<phr3ak> xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc Info : device id = 0x16080419 Warn : Cannot identify target as a STM32 family.
<phr3ak> what do you think about this device id? is it sign of any life?
nerozero has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #openocd
zkrx has quit [Ping timeout: 246 seconds]
zkrx has joined #openocd
zkrx has quit [Ping timeout: 268 seconds]
<PaulFertser> phr3ak: that means the core is detected all right. ID is about the flash driver etc.
<PaulFertser> phr3ak: if you get the message that lists hardware breakpoints number, it's alive all right.
zkrx has joined #openocd
Bugies has joined #openocd
<phr3ak> the external reset detected message kept repeating
<phr3ak> nrst is high
<PaulFertser> phr3ak: probably watchdog
<phr3ak> usually that is about 20sec
<phr3ak> it was so fast
<phr3ak> openocd did not accept connection from gdb
<PaulFertser> I suggest you try "halt" in openocd first.
<phr3ak> [gd32e23x.cpu] halted due to debug-request, current mode: Thread
<phr3ak> Error: [gd32e23x.cpu] clearing lockup after double fault
<phr3ak> Info : [gd32e23x.cpu] external reset detected
<phr3ak> xPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffc
<PaulFertser> And then? Looks like blank flash with hw watchdog enabled if it keeps resetting from that state.
<phr3ak> these messages were repeated very quickly
<PaulFertser> OK, so how are you checking that watchdog is not enabled?
<phr3ak> when you said halt in openocd, where should it be done in the init script?
<PaulFertser> phr3ak: I'd just do it over telnet connection.
<phr3ak> ah I forgot that interface
akaWolf has quit [Ping timeout: 252 seconds]
jancoow has quit [Remote host closed the connection]
akaWolf has joined #openocd
urjaman is now known as urja
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 264 seconds]