levi has quit [Ping timeout: 246 seconds]
kc8apf has quit [Read error: Connection reset by peer]
levi has joined ##openfpga
jeandet has quit [Ping timeout: 246 seconds]
kc8apf has joined ##openfpga
jeandet has joined ##openfpga
rohitksingh has joined ##openfpga
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined ##openfpga
fseidel has quit [Ping timeout: 240 seconds]
rohitksingh has quit [Ping timeout: 240 seconds]
Bike has quit [Quit: Lost terminal]
fseidel has joined ##openfpga
mumptai_ has joined ##openfpga
mumptai has quit [Ping timeout: 272 seconds]
Bike has joined ##openfpga
rohitksingh has joined ##openfpga
rohitksingh has quit [Remote host closed the connection]
Degi has quit [Ping timeout: 268 seconds]
Degi has joined ##openfpga
rohitksingh has joined ##openfpga
Bike has quit [Quit: Lost terminal]
m_w has joined ##openfpga
<tnt> TD-Linux: Now I'm jealous :)
Lord_Nightmare has quit [Ping timeout: 265 seconds]
Lord_Nightmare has joined ##openfpga
____ has joined ##openfpga
____ has quit [Read error: Connection reset by peer]
____ has joined ##openfpga
ewen has joined ##openfpga
OmniMancer has joined ##openfpga
m_w has quit [Quit: leaving]
X-Scale` has joined ##openfpga
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
ZombieChicken has quit [Quit: WeeChat 2.7]
rohitksingh has quit [Ping timeout: 240 seconds]
rohitksingh has joined ##openfpga
rohitksingh has quit [Ping timeout: 245 seconds]
mumptai_ has quit [Remote host closed the connection]
Asu has joined ##openfpga
____ has quit [Read error: Connection reset by peer]
____ has joined ##openfpga
ewen has quit [Quit: leaving]
____2 has joined ##openfpga
____ has quit [Read error: Connection reset by peer]
<florolf> azonenberg: what is the reasoning for using 5x 200R instead of 1x 1k for the 21:1 attenuator in https://github.com/azonenberg/starshipraider/tree/master/boards/hdmi-inline-probe? i would expect the parasitics to be worse when using multiple packages instead of one
<azonenberg> florolf: No
<azonenberg> actually, that was done just before i bought Sonnet so i've improved even further
<azonenberg> The big parasitic to be concerned about with high value RF resistors is capacitive coupling across the terminals
<azonenberg> there's about 26 fF between the terminals and with a 1K resistor you'd have significantly more signal going through the shunt cap than the resistance itself
<azonenberg> 5x 200R was my early attempt at balancing that
<azonenberg> i later did some more complete s-parameter modeling and found that 2x 200R + 1x 50R, for a 10:1 probe instead of 21:1, is much flatter out to 10 GHz
<azonenberg> But 5x 200 is still way better than 1x 1K
<azonenberg> this is using vishay FC series specifically
<florolf> ah, i see.
s_frit_ has joined ##openfpga
s_frit has quit [Ping timeout: 268 seconds]
freemint has joined ##openfpga
Mimoja has quit [Quit: Ping timeout (120 seconds)]
Mimoja has joined ##openfpga
freemint has quit [Ping timeout: 246 seconds]
freemint has joined ##openfpga
freemint has quit [Ping timeout: 248 seconds]
OmniMancer has quit [Quit: Leaving.]
____2 has quit [Ping timeout: 240 seconds]
____ has joined ##openfpga
freemint has joined ##openfpga
freemint has quit [Ping timeout: 260 seconds]
____ has quit [Quit: Nettalk6 - www.ntalk.de]
emeb has joined ##openfpga
OmniMancer has joined ##openfpga
freemint has joined ##openfpga
<ZirconiumX> Ugh, I hate it when synthesis is unnecessarily picky
<ZirconiumX> So, I was building attosoc, and got a firmware.hex which was 150 words (at least Quartus said as much)
<ZirconiumX> s/words/bytes/
<ZirconiumX> But attosoc specifies 256 bytes in ROM_BYTES
<ZirconiumX> So Quartus rejected firmware.hex and replaced the ROM file with all-zeroes
<ZirconiumX> And then proceeded to turn an all-zero ROM into a constant driver
<ZirconiumX> And then optimised the entire design away
<ZirconiumX> s/ROM file/ROM init data/
mumptai has joined ##openfpga
freemint has quit [Ping timeout: 240 seconds]
freemint has joined ##openfpga
<tnt> So ... who bought off all the UP5k from digikey ?
Laksen has joined ##openfpga
Laksen has quit [Quit: Leaving]
<emeb> Wasn't me. :)
<emeb> plenty for UWG30 pkg available though.
emeb has quit [Quit: Leaving.]
emeb has joined ##openfpga
freemint has quit [Ping timeout: 265 seconds]
<emeb> I've finally got some time to play with the ULX3S. I've got pjtrellis built & installed, as well as updated yosys and nextpnr-ecp5.
<emeb> What's the best tool for downloading to the ULX3S? I see the ujprog tool is used in some examples, but it seems kind of dodgy.
<daveshah> I think ujprog is recommended
<daveshah> There is also some openocd support (not sure if upstream) and various ways of WiFi programming
<emeb> OK, thanks.
<emeb> The build process for ujprog is very broken - assumes paths for libraries, etc.
<TD-Linux> I use ujprog with mine but yes it is not great
<TD-Linux> I get the impression that wifi is supposed to be the primary way, but I haven't soldered the esp32 on mine yet
freemint has joined ##openfpga
freemint has quit [Remote host closed the connection]
<emeb> OK, seem to have ujprog built (compiled w/o errors at least)
OmniMancer has quit [Quit: Leaving.]
<emeb> but now when running it I get "ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 13 2020 12:47:15)
<emeb> Cannot find JTAG cable."
<emeb> I can see a /dev/ttyUSB0 and running a terminal on it shows a bunch of status which I assume is from the factory image.
<emeb> is there some special incantation needed to convince ujprog that there's actually something there?
Jybz has joined ##openfpga
<emeb> ah - FT231X is "factory default" & needs to be programmed with ULX3S mfg strings in order for ujprog to see it.
rohitksingh has joined ##openfpga
<emeb> and of course the ftx_prog binary is linked against lib versions I don't have
<TD-Linux> emeb, are you using the right usb port?
<TD-Linux> oh yeah you need to flash it
<emeb> hacking away, trying to get ftx_prog to work...
Jybz has quit [Quit: Konversation terminated!]
<emeb> great - ftx_prog complaining about bad crc
<tnt> Oh yeah, I remember that step failed for me.
<emeb> any clues on a solution?
<emeb> haha "--ignore-crc-error" option, but using it gives "ftdi_write_eeprom_location() failed: Invalid access to checksum protected area below 0x80"
<TD-Linux> I don't remember what I did to fix it
rohitksingh has quit [Ping timeout: 240 seconds]
<TD-Linux> oh
<TD-Linux> I'm starting to remember. I think I used either a different version of the ftdi libraries, or a different binary
<emeb> Seems it's not an issue for me - just did a --dump and the right strings are in there.
<emeb> so for some reason my ujprog still doesn't work right
<TD-Linux> my binary is linked against .1 so I must have not changed that
<emeb> I rebuilt my from source
<TD-Linux> I can mess with mine a bit when I get home. it's been a while since I've used it because I got distracted by other fpgas :^)
<emeb> still failed
<emeb> Is it just me or is the host-side programming support for ULX3S kinda... rickety?
<emeb> all this reliance on borken FTDI stuff and shipping binaries around...
<TD-Linux> yeah, I would have been happy with it just being ecp5 evn compatible
<TD-Linux> technically it's still preproduction hardware though
<emeb> sure acts like it. :)
<tnt> It has a jtag port :p
<emeb> so yeah - my FT231 has Product = ULX3S FPGA 12K v3.0.3
<emeb> already in it
<emeb> but the FPGA is an 85K - do you suppose that will make any difference?
<tnt> No I meant ... you can use any _other_ jtag adapter :p
<tnt> I used a glasgow until I managed to get the ft231 to behave (and sorry, can't remember what I did ... tried a bunch, something worked in the end, I just wiped it all from my memory after that)
<TD-Linux> emeb, I think I edited mine to say 85K but I don't think it actually matters
<emeb> cool - thx
<emeb> tnt: haha - understood.
Bike has joined ##openfpga
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##openfpga
Asu has quit [Remote host closed the connection]
Asu has joined ##openfpga
edbordin has joined ##openfpga
<edbordin> has anyone found or RE'd a schematic for the tang primer board yet? curious what the pinout is on the ribbon connectors, don't have the appropriate ribbon yet to map it out myself
<edbordin> well... ffc. Idk if that is really what people call ribbon
<edbordin> clearly I just needed to google harder http://dl.sipeed.com/TANG/Premier/HDK/LicheeTang_RV(Schematic).pdf
mumptai has quit [Remote host closed the connection]
Asu has quit [Ping timeout: 240 seconds]
Asu has joined ##openfpga
<emeb> OK - digging deeper into the ujprog issue - seems that sometimes when the ULX3S is plugged into USB it doesn't enumerate w/ the custom MFG & Prod strings but uses the default FTDI ones.
<emeb> So I added a cable path to ujprog that includes the default Prod string - this works.
<TD-Linux> strange
<TD-Linux> power sequencing issue?
<emeb> no idea
<emeb> Now it's time to figure out how to build the blinky example for 85k instead of 45k
<emeb> not used to the way ecp5 stuff works - config files, etc.
rohitksingh has joined ##openfpga
<emeb> w00t - blinky works
<emeb> damn but it takes a while to program.
<edbordin> I hear compressed bitstreams are worth setting up to save time there
<emeb> cool - something else to figure out!
<daveshah> --compress argument to ecppack
<emeb> thanks - that worked.
<emeb> seems like it's about 3x faster or so
<daveshah> If its a blinky I'd expect more like 7x
Asu has quit [Remote host closed the connection]
<daveshah> Possible there is something else slowing things down
<emeb> Could just be my subjective time sense too. :P