NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
zmatt has quit [Ping timeout: 252 seconds]
zmatt has joined #openocd
gzlb has joined #openocd
Ivan0v has joined #openocd
Ivan0v has quit [Remote host closed the connection]
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #openocd
zmatt has quit [Ping timeout: 246 seconds]
zmatt has joined #openocd
crabbedhaloablut has quit []
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 252 seconds]
zjason` is now known as zjason
Hawk777 has joined #openocd
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 255 seconds]
nerozero has joined #openocd
gzlb has quit [Quit: WeeChat 4.1.1]
key2 has quit [Server closed connection]
key2 has joined #openocd
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
Haohmaru has joined #openocd
crabbedhaloablut has joined #openocd
Ivan0v has joined #openocd
Ivan0v has quit [Ping timeout: 246 seconds]
Hawk777 has quit [Quit: Leaving.]
a3f has quit [Server closed connection]
a3f has joined #openocd
Ivan0v has joined #openocd
uartist0 has joined #openocd
uartist has quit [Ping timeout: 240 seconds]
uartist0 is now known as uartist
uartist has quit [Quit: Ping timeout (120 seconds)]
uartist has joined #openocd
gzlb has joined #openocd
gzlb has quit [Quit: WeeChat 4.1.1]
aladyshev has joined #openocd
gzlb has joined #openocd
<aladyshev> Hello!
<aladyshev> I'm trying to use OpenOCD with some Xilinx Platfrom Cable clone https://www.waveshare.com/wiki/Platform_Cable_USB to flash SVF, but can't figure out how it can be performed.
<aladyshev> Initially I've tried to use this configuration https://github.com/arduino/OpenOCD/blob/master/tcl/interface/usb-jtag.cfg
<aladyshev> But if I understand it correctly to actually use it I first need to fxload some firmware generated from the http://github.com/mithro/ixo-usb-jtag is this correct?
<aladyshev> I've tried to load both versions of the https://github.com/mithro/ixo-usb-jtag#xilinx-jtag-cable
<aladyshev> If I use `hw_xpcu_x`, openocd stucks in the execution, if I use `hw_xpcu_i`, I get tdo check errors
<aladyshev> Here is an output when `hw_xpcu_i` was loaded before executing openocd https://gist.github.com/Kostr/96fa45ce86384f2711d7af62e4a747f3
gzlb has quit [Quit: WeeChat 4.1.1]
<PaulFertser> aladyshev: hi
gzlb has joined #openocd
<PaulFertser> aladyshev: do you really need to use that cable though? If it's supported by some fx2 firmware then it should work but probably this one differs from those that were supported?
<PaulFertser> aladyshev: don't bother playing back SVF if "Error: JTAG scan chain interrogation failed: all zeroes"
<PaulFertser> aladyshev: are you sure the cable is connected properly, and that the target power goes to its Vtref pin for reference etc?
<PaulFertser> aladyshev: can you check with an oscilloscope if you get pulses on TCK line when starting OpenOCD?
<aladyshev> This is the device that I have now. I just want to be able to use it with OpenOCD instead of Xilinx software
<PaulFertser> aladyshev: probably trying other debug cables is good for testing though
<PaulFertser> I mean something that's obviously good and supported like ftdi-based or jlink.
aladyshev has quit [Quit: Client closed]
aladyshev has joined #openocd
<aladyshev> I guess someone just decided to buy cheap clones of the official programmers in the old days, since they work well with Xilinx software. But now I want to move to OpenOCD
<PaulFertser> Yeah, ok, understandable.
<aladyshev> I have a couple of different adapters, but they all have Cypress FX2 and an FPGA of some sort inside
<PaulFertser> aladyshev: so can you check the voltage on pin 1 and signal on TCK when starting OpenOCD with the adapter connected to the target?
<aladyshev> Honestly I don't really understand the purpose of the FPGA onboard, since from the `ixo-usb-jtag` repo description https://github.com/mithro/ixo-usb-jtag#general-information it looks like Cypress FX2 is enough for the JTAG by itself
<aladyshev> PaulFertser: yes, I definitely can, but I guess I'll have to wait until Monday for that
<PaulFertser> jlink clones are about $10 from aliexpress. Worth having one handy for comparison and SWD and flashrom etc.
<PaulFertser> aladyshev: you can also try using some SBC (like raspberrypi) if your target is 3.3 V directly, OpenOCD knows how to bitbang.
<aladyshev> I guess I'm looking for the solution that would work both with Xilinx and OpenOCD
<aladyshev> On the new revision of our board we've just put FT2232, and it works perfectly
<PaulFertser> aladyshev: well, looks like you're on the right track but I'm afraid some more hardware reverse engineering is needed to make mithro/ixo-usb-jtag work on your clone cables.
<aladyshev> Yeah, that is what I was afraid. I just wanted to make sure that everything I do is correct. Thanks for the help!
<PaulFertser> aladyshev: I can't say with 100 % certainty that's why I'm talking about probing the lines. Sometimes weird things happen and odd mistakes are made.
<karlp> aladyshev: just one question, you'r enot using openocd from that arduino repository too are you?
<aladyshev> karip: nope. I've just downloaded it from the apt-get in ubuntu
<karlp> ok. goodo.
<karlp> I have this memory of blasterII working, but eveyrone having problems with blasterI stuff.
<karlp> but no experience myself
Ivan0v has quit [Remote host closed the connection]
Hawk777 has joined #openocd
aladyshev has quit [Quit: Client closed]
Haohmaru has quit [Ping timeout: 255 seconds]
Ivan0v has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Ivan0v has quit [Ping timeout: 264 seconds]
Hawk777 has joined #openocd
Ivan0v has joined #openocd
Hawk777 has quit [Client Quit]
Hawk777 has joined #openocd
nerozero has quit [Remote host closed the connection]
HelloShitty has joined #openocd
shibboleth has joined #openocd
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #openocd
gzlb has quit [Remote host closed the connection]
Ivan0v has quit [Remote host closed the connection]
shibboleth has quit [Quit: shibboleth]
Pokey has quit [Server closed connection]
Pokey has joined #openocd
Ivan0v has joined #openocd
crabbedhaloablut has quit []
vampirefrog has quit [Quit: Leaving]
Ivan0v has quit [Remote host closed the connection]
olerem has quit [Server closed connection]
olerem has joined #openocd