boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
<rue_shop2>
hey
<rue_shop2>
I had a it-was-not-an-oops-it-should-have-been-fine and now need to use a ft232H cable to reset the fuses on an atmega3290P
<rue_shop2>
can anyone guide me a bit?
<rue_shop2>
oh, via jtag
<rue_shop2>
oh no, no power adatapter
joconor has joined #openocd
tsal_ has joined #openocd
tsal has quit [Ping timeout: 252 seconds]
tomtastic has quit [Ping timeout: 252 seconds]
tomtastic has joined #openocd
<PaulFertser>
rue_shop2: last time I checked OpenOCD could only program flash and probably eeprom on atmegas.
<PaulFertser>
rue_shop2: don't you have an SPI device for them?
<PaulFertser>
rue_shop2: hm, I think you can use the ft232h JTAG adapter to connect it to the SPI ISP and avrdude should support it with -c 2232HIO.
<PaulFertser>
rue_shop2: TMS pin should be connected to target's reset.
<PaulFertser>
rue_shop2: some avr parts have ISP SPI on PDI/PDO pins, some on regular SPI, you should check the datasheet.
loki_val is now known as crabbedhaloablut
<rue_shop2>
PaulFertser, I lost the system clock, I cant use spi
<rue_shop2>
something strange went wrong, I cant even inject a clock
<rue_shop2>
so spi is't an option
<rue_shop2>
when I use xc3sprog, I can ID the chip
<rue_shop2>
but I cant get a jtagice via avrdude to
nerozero has joined #openocd
<PaulFertser>
rue_shop2: idk about atmega3290p specifically but with all the other atmegas I had with default fuses SPI was always available, and the worst you could get it was that it required external clock (and it can be rather low).
<PaulFertser>
And SPI wasn't possible to disable via SPI.
<rue_shop2>
I know
<rue_shop2>
but for whatever reason the spi will not respond and I need to reset the fuses
<PaulFertser>
How were the fuses modified in the first place? Using what interface and tool?
<antto>
isn't that atmega one of the pseudo-xmegas?
<antto>
aka UPDI
<antto>
hm, maybe not
<urja>
it's an older LCD-driving atmega
<urja>
havent looked at it before, just remember the number as a "weird one" :P
jeeebz has joined #openocd
ericonr has quit [Ping timeout: 240 seconds]
jybz has quit [Ping timeout: 252 seconds]
ericonr has joined #openocd
<antto>
now there's even dumber chip names thanks to microsh*t >:/
<antto>
they started applying their pic-like naming scheme
gnom has joined #openocd
gnom has quit [Remote host closed the connection]
c4017 has joined #openocd
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has quit [Read error: Connection reset by peer]
gnom_ has joined #openocd
gnom_ has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Remote host closed the connection]
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
nerozero has quit [Ping timeout: 250 seconds]
<diddly>
hello, a colleague is looking to replace a xilinx dlc10 programmer which is being a pain to support with something more open. I'm not sure the target chip, or if they are using spi/jtag/other, but does anyone use xilinx with openocd and can suggest something to look into?
<PaulFertser>
diddly: hi
<PaulFertser>
diddly: I'm afraid the question is a bit too vague
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
<cyrozap>
diddly: Yes, I've used it to load bitstreams into Spartan-6 and 7-series FPGAs, and to program the flash on some Spartan-6 devices (using the SPI proxy bistream), all over JTAG.
<cyrozap>
Not sure what you mean by "something to look into", though--do you mean instructions on how to get that set up?
<cyrozap>
Also, knowing what the target chip is and what interface they're programming it over would be good to know before asking questions about it--OpenOCD only interacts with the FPGAs over JTAG, and loads a pre-built bitstream in order to talk to the SPI flash connected to the FPGA.
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
extor has joined #openocd
<extor>
* You have been kicked from #openfpga by ChanServ (Invite only channel)
<extor>
Not very open on libera is it
<PaulFertser>
Guess that's the channel policy rather than anything to do with the network itself.
<extor>
I'm not even sure there is an open source fpga yet, or even cpld. Lattice processors are proprietery.
<PaulFertser>
extor: you mean some ASIC with all the design documents freely available?
<clever>
extor: its ##openfpga
gnom has joined #openocd
<extor>
THanks clever
<extor>
Yes PaulFertser afaik we don't have something like an arduino for fpgas or perhaps we do with I think the arduino something 4000 fpga dev board but it is not popular.
gnom has quit [Read error: Connection reset by peer]
<PaulFertser>
extor: what do you mean, I can't see your point at all?
<extor>
Sad because it seems these days almost all EE 101 classes are using fpgas rather than breadboards and 555 chips for their introductory labs
<PaulFertser>
extor: there're some FPGAs supported by fully free software toolchains.
<PaulFertser>
extor: so you get ice40 and use free software toolchain with it, what's the problem?
<extor>
PaulFertser, yes like the lattice 40 but the CPU itself is not open source and the price actually doubled in the last few years. You used to be able to get a lattice 40 for $20 if I recall
<PaulFertser>
extor: arduino is using closed-source atmega too.
<extor>
It's not really that much of a problem except the ice40 is minimum $50 to aquire today while 3 years ago it was $20
<extor>
Whilst ironically you can buy $25 ZYNQ boards(repurposed from bitcoin miners) on ebay labeled as development boards.
<extor>
Search ebaz4205 on aliexpress or ebay
<PaulFertser>
Yep
<extor>
I just find it a bit annoying that an fpga with 4 times the power as an ice 40 is sold for half the price
<PaulFertser>
Is it supported by free software tools btw?
<extor>
Sad that there is no free programming software for xilinx or intel/altera fpgas yet
<extor>
No I dont think Xilinx is supported by open source
<PaulFertser>
extor: ahem?
<extor>
I mean, you can use command line sorcery to set it up and even utilize the embedded ARM in their SoC and reqrite the bootloader since its U-boot but you cannot send code to the reprogrammable grid using open source afaik
<extor>
You need to download Vivado/Vitis to even set up a 55 equivalent circuit on the spartan part of the SoC
<extor>
I could be wrong though since I've only reached the setup part on my antminer control boards
<mschwingen>
Hi - how do I contact openocd gerrit admins? It seems I have problems with mixed accounts/email addresses, and can't find contact infos ...
<PaulFertser>
mschwingen: I'm the one, hello.
<PaulFertser>
mschwingen: I was sending mails about it to the mailing list
<mschwingen>
I was not sure - i only archive vera few mails, and could not find it in the archives at a quick glance.
<PaulFertser>
It was recent, we had a massive upgrade.
<PaulFertser>
Feel free to /pm me here
<PaulFertser>
Let's do some quick interactive session.
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Read error: Connection reset by peer]
gnom has joined #openocd
gnom has quit [Ping timeout: 252 seconds]
gnom has joined #openocd
mschwingen has quit [Quit: Client closed]
gnom has quit [Read error: Connection reset by peer]