<shorne>
I am doing litescope tracing, and have a paper tracing the hole sdcard wiring to understand which wires best to probe, its taken me some time.
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
<keesj>
wow... nice... I used the greatfet in my last security project with great effect but with the hardwork of putting this in migem some funky stuff will be possible
<_florent_>
zyp: nice!
<_florent_>
shorne: If you have a minimal repro on arty, I can also try to investigate on this.
<_florent_>
zyp: How are you connecting it to the BIOS? Just with a UART module and connecting the sink/source streams to the ACM streams?
<zyp>
--uart-name stream, and then hooking up self.uart.sink and self.uart.source
<tmbinc>
zyp: very nice!
<tmbinc>
_florent_: on SDS1104X-E, is the ULPI accessible from PL, do you know?
<tmbinc>
or is that on MIO?
<_florent_>
zyp: ok thanks, that's similar then. The behaviour could be a bit similar with self.user.source.ready not connected (and always 1), but I assume it is :) so that's probably something else...
<_florent_>
self.user.source/self.uart.source
<_florent_>
tmbinc: Sorry i don't know it but that would indeed be nice if accessible from the PL
<tmbinc>
It would also solve the situation on the SLA1016, which doesn't have ethernet (by default)
<tmbinc>
but to be fair, one could just add a UART on some pins somewhere...
<tmbinc>
it would also be interesting to have a wishbone-over-USB link :)
<tmbinc>
Can LUNA do that already?
<_florent_>
tmbinc: BTW, sorry, I've been a bit busy with other things, I haven't yet been able to play with the ADC capture on the SDS1104X-E
<tmbinc>
yeah no worry, I'm busy as hell as well :)
<tmbinc>
This project sat idle for 3y+ before
<tmbinc>
It will survive a few more years
<tmbinc>
The SLA1016 though I'm really interested in getting alive because it would solve a real issue for me (namely that all my logic analyzers suck)
<tmbinc>
Whereas scope-wise I'm equipped relatively well (and to be fair, the Siglent firmware isn't _that_ bad)
<_florent_>
For the SLA1016, while seeing you picture I was also wondering about ethernet
<_florent_>
is it possible to add it easily?
<tmbinc>
I think so - I think it's "just" missing the PHY and passives
<tmbinc>
and the jack of course
<tmbinc>
I think it's 100MBit/s only again though
<tmbinc>
so maybe just making a USB breakout board/cable may not be a bad idea
<tmbinc>
Maybe even to USB host, and then ethernet
<_florent_>
ok, with LiteICLink (https://github.com/enjoy-digital/liteiclink) it's possible to bridge wishbone in separate SoCs/Boards and it should probably be possible to run it over the SBUS connector
<_florent_>
So connected to the SDS1104X it should probably be possible to just bridge the SDS1104X's wishbone bus to SLA1016's wishbone bus and just control the SLA1016 as we are controlling the SDS1104X
Bertl_zZ is now known as Bertl
<tmbinc>
Ah, not using USB then, but the differential IOs?
<tmbinc>
TL;DR it's ~6.8V power, USB, 3 diff pairs for which one is used for refclk (25MHz), trig in, and one unknown (likely trig out), as well as a few single ended IOs
<tmbinc>
The SBUS cable is 1:1 except for pin 4 and 7 swapped, so a regular HDMI cable won't work
<tmbinc>
(Plus a regular HDMI cable would not have the right pairs)
<_florent_>
Thanks interesting, USB would probably be more interesting in standalone and LiteICLink when coupled with another board
pftbest has quit [Remote host closed the connection]
pftbest has joined #litex
FFY00_ has quit [Remote host closed the connection]
<somlo>
shorne: it makes sense that *timing* differences will trigger (or mask) the symptoms; it's just that when I tried to force the symptoms in the bios (by sprinkling extra delay loops into liblitesdcard/sdcard.c) I was unsuccessful; with Litex/Rocket I can only see it under Linux...
Bertl is now known as Bertl_oO
rozpruwacz1 has joined #litex
rozpruwacz has quit [Ping timeout: 265 seconds]
rozpruwacz1 has quit [Ping timeout: 260 seconds]
rozpruwacz has joined #litex
mikeK_de1soc has joined #litex
rozpruwacz has quit [Ping timeout: 245 seconds]
rozpruwacz has joined #litex
rozpruwacz has quit [Quit: Leaving.]
mikeK_de1soc has quit [Ping timeout: 240 seconds]
rozpruwacz has joined #litex
shorne has quit [Ping timeout: 276 seconds]
pftbest_ has quit [Read error: Connection reset by peer]
pftbest has joined #litex
cr1901_modern has quit [Quit: Leaving.]
rj has quit [Ping timeout: 268 seconds]
<zyp>
I didn't realize the entirety of luna ran in the usb phy domain, adding cdc to the streams solved the problem: https://bin.jvnv.net/file/gw6KE.png :)
pftbest has quit [Remote host closed the connection]