NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 265 seconds]
tsal has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
thinkfat has quit [Ping timeout: 260 seconds]
thinkfat_ has joined #openocd
GyrosGeier has joined #openocd
<GyrosGeier> hi
<GyrosGeier> can I send an SVF file over a network socket?
<GyrosGeier> basically, I have a gitlab pipeline that generates an SVF for my FPGA
<GyrosGeier> now I'd like to add a pipeline stage where the FPGA is programmed
<GyrosGeier> I can define a "service" in gitlab, i.e. a demand-started docker container that has a specific hardware config (allowing programmer access) and exposed ports
<GyrosGeier> my two blockers right now are that the server does not accept commands (immediately closes the connection after accepting), and that sending "svf test.svf" accesses the local file system
c4017_ has joined #openocd
c4017 has quit [Ping timeout: 260 seconds]
Hawk777 has joined #openocd
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
bencoh has quit [Ping timeout: 245 seconds]
bencoh has joined #openocd
thinkfat has joined #openocd
thinkfat_ has quit [Read error: Connection reset by peer]
nerozero has joined #openocd
[itchyjunk] has quit [Read error: Connection reset by peer]
<PaulFertser> GyrosGeier: hi. Interesting task.
<PaulFertser> GyrosGeier: server closing connection should be investigated separately. You should check -d3 log for starters.
<PaulFertser> GyrosGeier: I think you can use Tcl commands to save SVF file locally.
Hawk777 has quit [Quit: Leaving.]
cp- has quit [Read error: Connection reset by peer]
bencoh has quit [Changing host]
bencoh has joined #openocd
[itchyjunk] has joined #openocd
emeb has joined #openocd
hanetzer has joined #openocd
<hanetzer> heyo. doing a bit of research. I currently own a flyswatter2 (ftdi based jtag/serial) and a knock off jlink (forget exact model). Was wondering if anyone had experience programming avr chips with these and openocd (specfically the atmega32u4 family)
<antto> i think there was some support for flashing atmegas, no idea at what state, but i wonder why you wouldn't use avrdude
<PaulFertser> hanetzer: yes, I used JTAG to flash atmega128 once. But why not avrdude and ISP (SPI) interface?
<hanetzer> PaulFertser: because I already have the other equipment :P
<hanetzer> I do not have any of the atmega ecosystem hardware
<PaulFertser> hanetzer: this flyswatter2 can work with avrdude , probably with some minimal tweaking to enable the output buffer.
<PaulFertser> hanetzer: yes, I see how it can be done without any code changes, just appropriate avrdude config.
<PaulFertser> hanetzer: found for you http://savannah.nongnu.org/bugs/?47043
<hanetzer> PaulFertser: <3
<hanetzer> now I just need to see what pins map to what
<PaulFertser> hanetzer: man avrdude tells
<hanetzer> ah
<PaulFertser> hanetzer: but really you should just open ARM jtag pinout
<PaulFertser> hanetzer: clock is clock, tdo/tdi is miso/mosi, tms is /cs
<hanetzer> oh, that makes it easier, then. I was confused because pins don't number from 0. What is buff, then?
<PaulFertser> hanetzer: pin controlling output buffer power
<hanetzer> honestly don't know what to make of that, I'm still a relative amature at this stuff
<PaulFertser> hanetzer: you do not need to, as I provided you to a config someone else has already prepared and tested.
<hanetzer> well I need to know what to hook up physically
<PaulFertser> hanetzer: told you, it's 4 wires.
<PaulFertser> hanetzer: TMS to /RESET, TCK to SCK, TDI to MOSI, TDO to MISO.
<PaulFertser> And GND
<hanetzer> huh. aight.
<hanetzer> well in that case, I just need to run those out to pin headers or the tag connect header :)
Hawk777 has joined #openocd
<hanetzer> I assume avrdude, using these isp lines, can burn bootloaders to 'empty' chips?
[itchyjunk] has quit [Read error: Connection reset by peer]
nerozero has quit [Ping timeout: 265 seconds]
<urja> yup
<hanetzer> excellent. many thanks. tbh I'd rather use some kinetis chips but you can't fucking find them anywhere right now :/
crabbedhaloablut has joined #openocd
<PaulFertser> hanetzer: how about gd32 or other stm32 clones? :)
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #openocd
hanetzer has quit [Changing host]
hanetzer has joined #openocd
<hanetzer> PaulFertser: heh, yeah there's a lot of mcu options.
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
[itchyjunk] has joined #openocd
emeb has quit [Quit: Leaving.]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
Hawk777 has quit [Quit: Leaving.]