zjason` is now known as zjason
zjason has quit [Remote host closed the connection]
zjason has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
tsal has quit [Read error: Connection reset by peer]
tsal has joined #openocd
Hawk777 has joined #openocd
urja has quit [Read error: Connection reset by peer]
urja has joined #openocd
nerozero has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
thinkfat has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
thinkfat has quit [Ping timeout: 258 seconds]
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
thinkfat has joined #openocd
crabbedhaloablut has quit [Ping timeout: 244 seconds]
thinkfat has quit [Ping timeout: 258 seconds]
crabbedhaloablut has joined #openocd
thinkfat has joined #openocd
thinkfat has quit [Ping timeout: 240 seconds]
tarekb has joined #openocd
PaulFertser has quit [Ping timeout: 240 seconds]
PaulFertser has joined #openocd
<
PaulFertser>
borneoa_: hey. Now freenode disabled anonymous connections altogether it seems. Time to officialy move?
<
Ulli[m]>
to matrix?
tarekb has quit [Read error: Connection reset by peer]
tarekb has joined #openocd
<
borneoa_>
PaulFertser: I'm already only on libera.chat
<
PaulFertser>
Ulli[m]: to Libera
<
borneoa_>
PaulFertser: should I merge the patch with IRC link during the weekend?
<
PaulFertser>
borneoa_: I'll merge it right now if you do not mind
<
borneoa_>
PaulFertser: less work for me! Good!
<
PaulFertser>
I'll also change openocd.org wiki
<
PaulFertser>
s/wiki/blog/
<
borneoa_>
PaulFertser: yes. that's even more important than changing the git code.
h4x0riz3d has joined #openocd
kitzman has joined #openocd
clever_ has joined #openocd
clever has quit [*.net *.split]
antto has quit [*.net *.split]
clever_ is now known as clever
tarekb has quit [Read error: Connection reset by peer]
Hawk777 has joined #openocd
Guest29 has joined #openocd
<
Guest29>
hello Team OpenOCD
<
Guest29>
I'm working on creating a tcl script to connect to two different ARM cores on two different boards
<
Guest29>
I couldn't find any examples on this kind of implementation
<
Guest29>
I would like to know if OpenOCD supports this
<
PaulFertser>
Guest29: two boards in a single jtag chain?
<
PaulFertser>
Guest29: just source two targets config
<
Guest29>
Would a system reset on one board cause a reset on the other board in the chain?
<
PaulFertser>
Guest29: you're supposed to connect all reset lines in parallel.
<
Guest29>
would it help if I post my output log here?
<
Guest29>
as well as my board and target files
Guest987 has joined #openocd
<
PaulFertser>
Guest29: use some pastebin please, do not paste to the channel.
<
Guest29>
what's a pastebin?
<
Guest29>
oh got it
<
Guest29>
I'll shortly paste the target files and the log output
akaWolf has quit [Ping timeout: 265 seconds]
PaulFertser has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
Guest987 has quit [Quit: Client closed]
<
Guest29>
posting my outpul log now
Haohmaru has quit [Remote host closed the connection]
boban has joined #openocd
<
boban>
hello team openocd
boban has quit [Client Quit]
Guest29 has quit [Quit: Client closed]
boban has joined #openocd
<
boban>
hello team OpenOCD
<
boban>
I'm trying to connect to two ARM cores on two different boards
<
boban>
I couldn't find any examples of this implementation
<
boban>
I would like to know if OpenOCD supports this
<
boban>
I can upload my board file and target files if it helps
PaulFertser has joined #openocd
<
boban>
hey paul I opened a new chat window. I got disconnected
<
PaulFertser>
boban: I got disconnected too. Please resend the log.
<
PaulFertser>
boban: looks like you're able to halt 584
<
boban>
yes but system reset fails for some reason
<
PaulFertser>
boban: does everything work glitchless (including "reset halt") if you connect and use just a single target?
<
boban>
yes everything works perfectly with a single target
<
boban>
would it help to post the log of a single target?
<
PaulFertser>
boban: not really. I can help you understanding parts of the OpenOCD code involved. But not debug it on my own.
<
PaulFertser>
boban: you can run with -d3 to see all the essential details about how OpenOCD manipulates the signals.
bohdan-tymkiv has joined #openocd
<
boban>
I have tried that but it doesn't provide a description of the error
<
PaulFertser>
boban: why do you have that reset-assert event handler at all?
<
PaulFertser>
boban: doesn't hardware reset line work properly for this target?
<
boban>
yes it does
bohdan-tymkiv has quit [Client Quit]
<
boban>
so reset-assert event is like a test?
<
PaulFertser>
boban: that whole function is fishy. I have no idea why it's needed.
<
PaulFertser>
boban: if reset line works then just enable it with "reset_config trst_and_srst" and do not use any reset-assert event handlers.
<
boban>
ok I'll try removing it
<
boban>
srst is system reset right?
bohdan-tymkiv has joined #openocd
<
PaulFertser>
boban: system reset hardware line, yes.
<
boban>
i'll post the updated log
<
boban>
do you want it with -d3 as well?
ericonr has quit [Ping timeout: 240 seconds]
ericonr has joined #openocd
<
PaulFertser>
boban: I suggest you first verify normal functionality with single board and reset line connected and check that "reset halt" works.
<
boban>
yes I have verified that
<
PaulFertser>
boban: if it says how to reset then I guess you didn't enable srst.
<
boban>
is it possible to only have trst enabled?
<
boban>
it works for a single target
<
PaulFertser>
boban: it is, but we're discussing reset, right? How will you reset if you do not connect the reset line?
<
boban>
sorry I got confused with my hardware terminology and yours
<
boban>
I'm not using srst to toggle a hardware reset
<
boban>
I only need to use trst to reset the peripherals
<
boban>
sorry trst is used to rest the jtag tap id's
<
PaulFertser>
boban: trst is only resetting the jtag state machine, yes.
<
PaulFertser>
boban: why do not you use hardware srst?
<
boban>
I don't believe my hardware is configured correctly to use srst. I'll have to verify.
<
boban>
my hardware configuration is a little non-standard
<
boban>
can you tell me what pin is connected to srst on a standard JTAG header?
<
PaulFertser>
boban: well if you can't use hardware reset line then you probably need to work hard on understanding that software reset handler...
<
PaulFertser>
boban: pin 15
<
boban>
my jtag header is a non-standard 10-pin one
<
boban>
aside from the software reset handler, are my configuration files set up properly to connect to two processors in a scan chain?
<
PaulFertser>
boban: I think so
<
boban>
ok thank you so much for your time
Hawk777 has quit [Quit: Leaving.]
Hawk777 has joined #openocd
h4x0riz3d is now known as antto
boban has quit [Quit: Client closed]
thinkfat has joined #openocd
emeb has joined #openocd
thinkfat has quit [Ping timeout: 252 seconds]
thinkfat has joined #openocd
nerozero has quit [Ping timeout: 245 seconds]
thinkfat has quit [Ping timeout: 256 seconds]
bohdan-tymkiv has quit [Remote host closed the connection]
akaWolf has quit [Ping timeout: 250 seconds]
emeb has quit [Ping timeout: 265 seconds]