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
<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.
<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.
<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
<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?