slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
slobodan has quit [Ping timeout: 246 seconds]
Hawk777 has joined #openocd
crabbedhaloablut has joined #openocd
tsal has quit [Ping timeout: 258 seconds]
tsal has joined #openocd
nerozero has joined #openocd
nerozero has quit [Remote host closed the connection]
nerozero has joined #openocd
antto has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
antto has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
slobodan has joined #openocd
dliviu has quit [Server closed connection]
dliviu has joined #openocd
bvernoux has joined #openocd
jybz has quit [Server closed connection]
jybz has joined #openocd
bvernoux_ has joined #openocd
bvernoux is now known as Guest1517
bvernoux_ is now known as bvernoux
Guest1517 has quit [Ping timeout: 258 seconds]
bvernoux_ has joined #openocd
bvernoux has quit [Ping timeout: 258 seconds]
bvernoux_ is now known as bvernoux
Hawk777 has joined #openocd
<polprog>
my yesterday's s5pv210 (arm cortex a8) seems to be partly working, but I cannot issue any jtag reset command with 'reset halt' or 'reset run'
<polprog>
the message im getting is s5pv210.cpu: how to reset?
<polprog>
i have jtag reset config set (i believe) correctly
<polprog>
What do i need to configure to reset that board?
_whitelogger has joined #openocd
Haohmaru has quit [Ping timeout: 248 seconds]
<PaulFertser>
polprog: do you have physical reset line connected to the target? Then you need "reset_config srst_only" (or trst_and_srst if you also have TRST connected)
<polprog>
my board exposes nTRST and nRESET, they are tied together with a 330R and nTRST is pulled up to vdd
<PaulFertser>
polprog: they shouldn't be tied together, why?
<polprog>
im using a jlink with nTRST connected
<PaulFertser>
polprog: to fully reset the target you need nRESET connected to SRST.
<PaulFertser>
polprog: TRST isn't related to resetting the target at all.
<PaulFertser>
polprog: it's just to bring JTAG state machine to "reset" state.
<polprog>
thats how they are connected on the schematic, ill take a look at the board in a sec
<PaulFertser>
polprog: probably it has some ROM code that disables JTAG while it's executing
<polprog>
probably the ROM that loads the first stage bootloader from SD card, since it can do secure boot
<polprog>
it did hit the breakpoint..
<polprog>
still broken, it does not hit the hardware breakpoints that I set and step is not working, i can halt it, and it halts (debug-request), but a subsequent step returns "tiemout waiting for target halt". It halts in a regular memory location, that is valid and i can read it
<PaulFertser>
polprog: probably hw watchdog is running and resetting it?
<polprog>
thats possible
<polprog>
ill try to disable it
<PaulFertser>
polprog: do you have serial output or other way to see it's booting?
<polprog>
No, thats why im trying to use jtag debugging to see where uboot hangs
<PaulFertser>
polprog: they routed out JTAG but not UART?
<polprog>
They routed UART but i'm trying to build a version of uboot that puts something on any of the uarts
<polprog>
I have a uboot tree that is said to work on the CPU, but not for this board
<polprog>
I have the full schematic for the board and the rest of the documentation
<polprog>
but the vendor uses their own bootloader and I really want to have uboot on it
<PaulFertser>
polprog: if you set hw breakpoint at the u-boot entry then I would expect the watchdog to be not active. Unless there's some external that you can't disable.
<PaulFertser>
polprog: also probably you want to try with telnet alone for starters, as interaction with GDB can get confusing. E.g. it removes all breakpoints after the target stops and reinstalls them when you ask to "continue" by default.
<polprog>
The internal ROM loader disables watchdog. Then there is some vendor specific FSBL and then it loads uboot. Im not sure if the FSBL enables watchdog