_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
CarlFK has quit [Quit: Leaving.]
lf has quit [Ping timeout: 260 seconds]
lf has joined #litex
Degi has quit [Ping timeout: 260 seconds]
Degi has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 240 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
CarlFK has joined #litex
a314 has quit [Ping timeout: 264 seconds]
a314 has joined #litex
lkcl has quit [Ping timeout: 260 seconds]
lkcl has joined #litex
<acathla> xobs, I need your help with wishbone-tool and the protocol over uart. I try to write something in C and I try to understand the protocol.
<acathla> When I do wishbone-tool 0x12345678, It sends over the serial port : 0x02 01 04 8D 15 9E
<xobs> acathla: it's late here, so I don't know that I'll be up much later. But probably what you want is `wishbone-tool -s wishbone --uart /dev/ttyUSB0`, which will start up a wishbone server on port 1234.
<acathla> 02 is the command, 01 is the size
<xobs> Then you can use https://github.com/litex-hub/wishbone-utils/tree/master/libeb-c to write something in C.
<acathla> I'm sure you have the simple anszer
<xobs> Or... let's see, what protocol is it using...
<acathla> Why would the address be so... strange, and not the data.
<xobs> It's shifted left by two bits, because Wishbone is a 32-bit bus.
<xobs> Er, shifted right.
<acathla> Hum, there should be something else, endian conversion or something. Thanks
<xobs> Yes, addresses are big endian.
Bk6 has joined #litex
Bk6 has quit [Remote host closed the connection]
Krickit has joined #litex
<acathla> Oh, ok, I was just reading the bits in the logic analyzer and it's LSB first
<Krickit> hi everybody, can you tell me what are mem.init, mem_2.init and mem_1.init generated ?
Krickit has quit [Remote host closed the connection]
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 258 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
FFY00 has quit [Ping timeout: 268 seconds]
FFY00 has joined #litex
<somlo> Krickit: they are binary blobs representing the bios (mem.init) and a few other memory regions that should be built into the fpga bitstream for when the SoC "wakes up" after being programmed into the fpga
<somlo> oh well, he's disconnected :)
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #litex
midnight has quit [Ping timeout: 244 seconds]