erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
zear_ has joined #openocd
zear has quit [Ping timeout: 255 seconds]
zear_ is now known as zear
nathanhi| has quit [Ping timeout: 255 seconds]
nathanhi has joined #openocd
Haohmaru has joined #openocd
HelloShittyAlt has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
HelloShittyAlt has quit [Ping timeout: 255 seconds]
HelloShittyAlt has joined #openocd
HelloShittyAlt has quit [Ping timeout: 255 seconds]
HelloShittyAlt has joined #openocd
HelloShittyAlt has quit [Ping timeout: 245 seconds]
HelloShittyAlt 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
HelloShittyAlt has quit [Ping timeout: 258 seconds]
HelloShittyAlt has joined #openocd
wingsorc has quit [Quit: Leaving]
Bertl has quit [Ping timeout: 255 seconds]
Bertl has joined #openocd
HelloShittyAlt has quit [Ping timeout: 258 seconds]
HelloShittyAlt has joined #openocd
HelloShittyAlt has quit [Ping timeout: 258 seconds]
HelloShittyAlt has joined #openocd
merethan has joined #openocd
merethan_ has joined #openocd
zjason` is now known as zjason
slobodan has joined #openocd
erhankur has quit [Remote host closed the connection]
diddly has quit [Ping timeout: 252 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 258 seconds]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
diddly 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
Hawk777 has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
urja has quit [Read error: Connection reset by peer]
urja has joined #openocd
Haohmaru has quit [Ping timeout: 255 seconds]
nerozero has quit [Ping timeout: 272 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
merethan_ has quit [Ping timeout: 255 seconds]
merethan has quit [Ping timeout: 264 seconds]
<dormito>
any chance anyone is familiar with code warriors (NXP/freescale) TCL scripting? I mentioned previously, but I'm trying to use some of their public docs with openocd. However it looks like they are scanning a 8 bit value into a chips 4-bit IR, and I see nothing in the script that looks (to me)like it would be controlling a jtag router or the likes.
<PaulFertser>
dormito: feel free to pastebin an example
<dormito>
sure, just a moment
gzlb has quit [Ping timeout: 272 seconds]
<PaulFertser>
Also, results from starting OpenOCD wiith this target for comparison.
gzlb has joined #openocd
<dormito>
it's an lx2160a. which AFAIK dones't quite have opencd upstream support, but I have found an merge request for it (I could probably re-find the link). Anyhow I have what I believe is wa working custome script
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #openocd
slobodan has quit [Remote host closed the connection]
<PaulFertser>
If I am to guess "jtag::scan_io 0 8 0x92" means push 0 into IR, then assume DR is 8 bits, push 0x92 there.
<dormito>
I will note that on the webpage, it looks to me like for the ls1028A they first scan out a 4 bit value to IR, then 2 lines later, scan out an 8 bit vlaue
<PaulFertser>
OK, looks like 0 means ir and 1 dr indeed.
<PaulFertser>
And they're really scanning 8-bit value in ir.
<dormito>
I doun't suppose openocd has the ability to "overscan" IR from the TCL/telnet interfaces? it should be fairly simple to to test, I think the "jtag::scan_io 1 64 0x0" line just reads out a value (and since they regocomment is, I'm guessing it's either RO, or safe to load 0x0)
crabbedhaloablut has quit []
<PaulFertser>
dormito: you can define two taps, one enabled one disabled, then load it and runtime enable the second tap, disable the first, and scan big IR.
<PaulFertser>
dormito: but it's easier to just not define any target for testing
<dormito>
can you do that? I only see the ir/dr cmds associated with a given tap?
<PaulFertser>
dormito: yes, but you can have many taps defined.
<PaulFertser>
dormito: see bcm47xx.cfg for example
<dormito>
by "then load it" do you mean "start openocd the scripts"?
<dormito>
and then via the tcl port, swap the TAPS's enables, and do the scan?
<PaulFertser>
I prefer experimenting via Telnet.
<PaulFertser>
The TCL RPC is for scripting.
<PaulFertser>
Yes, I meant start openocd and then experiment via Telnet.
bvernoux has quit [Read error: Connection reset by peer]
<dormito>
hmmm. could questions: is there a way to listen on telnet without a working script? I created a 2nd jtag tap (disable) in a tmp script, but I can't seem to toggle the enabled/disabled status from the telenet interface.
<dormito>
s/could questions/couple questions/
<dormito>
hmmm, just started poking around the code (defintely don't fully grok it), but do the taps need enable/disable events defined before the correspondig op will succeed
<PaulFertser>
dormito: no, you should be able to disable and enable taps interactively from telnet.
<PaulFertser>
Using "jtag tapenable ..." command.
zjason` has joined #openocd
zjason has quit [Ping timeout: 260 seconds]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
irl25519 has joined #openocd
<dormito>
PaulFertser: yeah, it was saying enable/disable failed. I was probably overlooking something, however my time to play with it is up for today
irl25519 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<PaulFertser>
dormito: hm, hard to tell without seeing the logs.
<dormito>
I'll post what I found tomorrow. IIRC I endable "--debug=3", and it said rum_command() was returning -4 (but that's from memory)
slobodan has quit [Ping timeout: 245 seconds]
<PaulFertser>
dormito: feel free to ping me
<dormito>
ok. will do. And thanks for your help so far
<dormito>
just having someone look at the codewarrior cmds and come to the same conclusion is super helpful
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]