NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
buldi777 has joined #openocd
buldi777 has quit [Client Quit]
buldi777 has joined #openocd
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
buldi777 has quit [Quit: Client closed]
akaWolf has quit [Ping timeout: 248 seconds]
bobsy has joined #openocd
bobsy has quit [Read error: Connection reset by peer]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 246 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
Hawk777 has quit [Quit: Leaving.]
IoT-Maker has joined #openocd
<IoT-Maker> Hi, i got a problem getting openocd to work with an am335x CPU.   I use an Olimex Tiny H adapter. I start with openocd -d1 -f interface/ftdi/olimex-arm-usb-tiny-h.cfg -f target/am335x.cfg and get the error am335x.jrc: IR capture error; saw 0x3f not 0x01
<IoT-Maker> when connecting to the server, scan_chain finds "2 am335x.jrc             Y     0x00000000 0x*b94402f     6 0x01  0x3f"
<IoT-Maker> In windows i checked with Topprobe which finds 2B94402Fh as a Target.
akaWolf has joined #openocd
<IoT-Maker> i found two bsdl files, AM335x_ZCZ.bsd and  F781962A.bsdl which i can use with Topprobe/Topflash in Windows. The Olimex adapter seems not to be the problem because i can find the Chip with Topprobe/Topflash/openocd. Any idea what might be the culprit why i can't use the am335x.cfg with the chip? This is the -d3 output when starting openocd
akaWolf has quit [Ping timeout: 256 seconds]
<PaulFertser> IoT-Maker: hii
<PaulFertser> IoT-Maker: please use some pastebin to show full OpenOCD output.
<PaulFertser> Along with the invocation command line
<IoT-Maker> PaulFertser https://bpa.st/HYMGM
<IoT-Maker> TRST/SRST is not connected to the adapter. Jtagulator found some candidates but none of them seems to be working. So i left it unconnected
<PaulFertser> IoT-Maker: "JTAG scan chain interrogation failed: all ones" is where it's already wrong.
<PaulFertser> IoT-Maker: Is 6 MHz not too high for the setup? Is your Topprobe using same speed?
<IoT-Maker> yes, that was the default speed in Topprobe for Olimex
<PaulFertser> IoT-Maker: the JTAG scan chain interrogation is very basic thing, and MPSSE protocol of FTDI doesn't allow any possibility to swap TMS/TCK/TDO/TDI signals.
<PaulFertser> IoT-Maker: do I understand it right that without changing anything in hardware at all you start topprobe and it's able to read JTAG idcode?
<PaulFertser> IoT-Maker: it looks like you made some manual changes to interface/ftdi/olimex-arm-usb-tiny-h.cfg ?
<IoT-Maker> PaulFertser same error when starting with 100kHz https://bpa.st/KE4G6
<PaulFertser> Please do not modify upstream configs, that's confusing.
<IoT-Maker> PaulFertser i added adapter settings https://bpa.st/VX2GO
<PaulFertser> IoT-Maker: do you confirm the very same hardware without any changes works with topprobe?
<PaulFertser> IoT-Maker: settings like that should be added in command line or openocd.cfg , without changing the installed configs normally.
<PaulFertser> You do not need serial if you have just one adapter connected.
<IoT-Maker> yes and it works on another device. The device i'm working on is a Rigol DG2052. Last week the same openocd config worked on a Rigol DS1054Z.
<IoT-Maker> i tried serial because i read that in the Olimex manual. Was just a try.
<IoT-Maker> could the missing trst/srst line be the problem?
<PaulFertser> IoT-Maker: it shouldn't be in general. TRST should have pull ups on the board or internally.
<PaulFertser> IoT-Maker: but topprobe works without srst connected, so openocd should too
<PaulFertser> IoT-Maker: are you sure you connected just those 4 signals and GND and nothing else?
<IoT-Maker> The Rigol DG2052 has  a Spartan 6 and nearby exposed jtag pin holes, TMS, TDI, TDO, TCK, GND, VCC, no xRST Pin. The daughterboard with the Ti AM3352 i'm working on has a 20 pin connector with unknown connections. The Jtagulator found the jtag pins TMS, TDI, TDO and TCK and also 4 TRST pins. I tested all of them. And since none of them worked, they
<IoT-Maker> are now unconnected.
<PaulFertser> IoT-Maker: you can get a USB dump of communications from topprobe and compare to that of OpenOCD. But I so far suspect there's some difference in hardware when you're running topprobe and openocd.
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 268 seconds]
akaWolf has joined #openocd
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: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
wingsorc has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
<IoT-Maker> PaulFertser Don't know how i can grab a USB dump of my USB communication from OracleVM. But I tried different adapters now. CJMCU-323h https://bpa.st/HPTD4 TIAO-tumpa https://bpa.st/KP6PW Jlink https://pastebin.ubuntu.com/p/YhHPrXzCbj/ and the olimex tiny h from above. scan_chain and targets show me this https://bpa.st/CKNSA IdCode seems wrong.
<IoT-Maker> wow, i just started a uart session and stopped the system in uboot shell an you know what?  I just worked with the cjmcu-232h adapter https://bpa.st/OF4XA but after halt command it rebooted after some seconds
<Mis012[m]> PaulFertser: what does this mean? is it trying to access some non-existent AP?
IoT-Maker has quit [Quit: Client closed]
akaWolf has quit [Ping timeout: 256 seconds]
Guest14 has joined #openocd
<Guest14> I am still relatively new to openocd. Can anyone tell me if it is able to read/flash an SST29LE010 chip?
<PaulFertser> Guest14: hi
<PaulFertser> Guest14: connected to an MCU?
<PaulFertser> Guest14: it's not a CFI part but you can just use a series of suitable mdw/mww commands instead I guess.
<Guest14> The PLD is a ATF1508AS
<Guest14> Is there any documentation/tutorials that could point in the right direction to using mdw/mww commands? I'd need to write my own .cfg file right?
<Guest14> I noticed that the ATF1508AS has JTAG pins, could I use these to flash the SST29LE010 chips?
akaWolf has joined #openocd