sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
early has quit [Quit: Leaving]
early has joined #m-labs
dlrobertson has quit [Quit: WeeChat 2.1]
dlrobertson has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq closed issue #1036: Sayma SAWG test suite https://github.com/m-labs/artiq/issues/1036
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1035: The analyzer does not support SAWG. https://github.com/m-labs/artiq/issues/1035#issuecomment-393735536
kaolpr has quit [Ping timeout: 248 seconds]
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #813: Funded by UMD. https://github.com/m-labs/artiq/issues/813#issuecomment-393736263
kaolpr has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #813: @gkasprow What are good test points to observe RTM FPGA bitstream loading signals as close as possible to the RTM FPGA?... https://github.com/m-labs/artiq/issues/813#issuecomment-393737309
<GitHub-m-labs> [misoc] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/misoc/commit/ba3c5b478488dcb3a086fec0f0dd8769d565d39a
<GitHub-m-labs> misoc/master ba3c5b4 Sebastien Bourdeauducq: flterm: clear RTS line...
<bb-m-labs> build #436 of misoc is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/misoc/builds/436
rohitksingh_work has joined #m-labs
kmehall has quit [*.net *.split]
rqou has quit [*.net *.split]
rqou has joined #m-labs
<GitHub-m-labs> [artiq] gkasprow commented on issue #813: It's easiest to look at the resistors close to the RTM connector..... https://github.com/m-labs/artiq/issues/813#issuecomment-393759261
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=suservo artiq-board
<bb-m-labs> build forced [ETA 34m32s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=ptb artiq-board
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<GitHub184> [smoltcp] pothos opened issue #224: Debug build panic local_rx_dup_acks overflow https://github.com/m-labs/smoltcp/issues/224
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: With the same RTIO sequence that corresponds to one SAWG reset (channels and timestamps shifted), Kasli behaves itself and correctly reports the underflow.... https://github.com/m-labs/artiq/issues/998#issuecomment-393768841
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: With the same RTIO sequence that corresponds to one SAWG reset (channels and timestamps shifted), Kasli behaves itself and correctly reports the sequence error.... https://github.com/m-labs/artiq/issues/998#issuecomment-393768841
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: Could be a simple bug in SED with the handling of coarse/fine timestamps. https://github.com/m-labs/artiq/issues/998#issuecomment-393770765
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: Could be a simple bug in SED with the handling of coarse/fine timestamps. https://github.com/m-labs/artiq/issues/998#issuecomment-393770765
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: Confirmed that Sayma does **not** report the sequence error, both with the same code and without the *8 timestamp. https://github.com/m-labs/artiq/issues/998#issuecomment-393774876
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: With the same RTIO sequence that corresponds to one SAWG reset (channels and timestamps shifted), Kasli behaves itself and correctly reports the sequence error.... https://github.com/m-labs/artiq/issues/998#issuecomment-393768841
<bb-m-labs> build #1594 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1594
<bb-m-labs> build forced [ETA 34m33s]
<bb-m-labs> I'll give a shout when the build finishes
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/22506e849f7ae764d01ba4292753fe93836f3b27
<GitHub-m-labs> artiq/master 22506e8 Robert Jordens: suservo: clarify timings...
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: This produces the expected sequence error:... https://github.com/m-labs/artiq/issues/998#issuecomment-393778071
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #998: This produces the expected sequence error on Sayma:... https://github.com/m-labs/artiq/issues/998#issuecomment-393778071
<GitHub-m-labs> [artiq] sbourdeauducq opened issue #1038: sawg.reset() writes more zeros at the same time than there are SED lanes on Sayma https://github.com/m-labs/artiq/issues/1038
<bb-m-labs> build #1595 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1595
<GitHub-m-labs> [artiq] jordens commented on issue #1038: That patch is fine. https://github.com/m-labs/artiq/issues/1038#issuecomment-393785025
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/f5d55c69023a37a54300874563946d781fed0918
<GitHub-m-labs> artiq/master f5d55c6 Sebastien Bourdeauducq: sawg: add 1 coarse RTIO cycle between spline resets...
<sb0> whitequark, is that the expected behavior? https://hastebin.com/cemuwiqizu.go
<GitHub-m-labs> [artiq] sbourdeauducq pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/e40824123342ea67a1b2b335369a2ccdd5b518c0
<GitHub-m-labs> artiq/master e408241 Sebastien Bourdeauducq: sawg: work around compiler not accepting delay_mu(int32)
<sb0> rjo, is SAWG supposed to work when frequency0=0 and frequency1>0?
<sb0> does it produce a sine wave at frequency1?
kmehall has joined #m-labs
<GitHub-m-labs> [artiq] sbourdeauducq opened issue #1039: Sayma SAWG produces distorted output at certain amplitudes https://github.com/m-labs/artiq/issues/1039
<rjo> sb0: yes it should (to both).
<GitHub-m-labs> [artiq] sbourdeauducq opened issue #1040: Sayma SAWG frequency1/frequency2 generators produce broken waveform https://github.com/m-labs/artiq/issues/1040
<GitHub186> [smoltcp] pothos commented on issue #224: Actually master stopped working for me, I try to find out if related to the fast retrainsmit code. https://github.com/m-labs/smoltcp/issues/224#issuecomment-393804631
<GitHub130> [smoltcp] pothos commented on issue #224: Yes, both endpoints are stuck in retransmitting… https://github.com/m-labs/smoltcp/issues/224#issuecomment-393806889
<GitHub-m-labs> [artiq] hartytp commented on commit 22506e8: Thanks! https://github.com/m-labs/artiq/commit/22506e849f7ae764d01ba4292753fe93836f3b27#commitcomment-29206944
<bb-m-labs> build #1596 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1596
<bb-m-labs> build #2407 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2407 blamelist: Robert Jordens <jordens@gmail.com>
<GitHub-m-labs> [artiq] gkasprow commented on issue #813: @sbourdeauducq look here... https://github.com/m-labs/artiq/issues/813#issuecomment-393816722
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #813: Thanks! https://github.com/m-labs/artiq/issues/813#issuecomment-393828361
<GitHub-m-labs> [artiq] hartytp commented on issue #788: As expected, just a silly code bug. With `t_rtt = 15 + 4` and a 1m SCSI + 2xVHDCI_carriers, this looks fine. e.g. rms noise hasn't changed. https://github.com/m-labs/artiq/issues/788#issuecomment-393829048
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/87d3ac9d250af838c7f8444185eeffcb9e8e6209
<GitHub-m-labs> artiq/master 87d3ac9 Robert Jordens: suservo: swap transfer function parametrization...
<GitHub-m-labs> [artiq] jordens commented on issue #788: Nice. I wonder whether the LVDS return current path (one pin plus shield) on the VHDCI cables will become problematic at some point. Especially given the usually separate power supplies. https://github.com/m-labs/artiq/issues/788#issuecomment-393830097
<bb-m-labs> build #1597 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1597
<bb-m-labs> build #2408 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2408 blamelist: Sebastien Bourdeauducq <sb@m-labs.hk>
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Some more data on this. I'm reading the ADC at 1 sample per 4us (nb plot x axis incorrectly uses 3.5us sample time) and plotting the ADC (not servo x) code with the mean subtracted. I'm running with 350mV at Sampler's input, G=1 no termination.... https://github.com/m-labs/artiq/issues/788#issuecomment-393842182
rohitksingh_wor1 has joined #m-labs
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Now, 10m SCSI cable, separate PSUs:... https://github.com/m-labs/artiq/issues/788#issuecomment-393842680
rohitksingh_work has quit [Ping timeout: 240 seconds]
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Now 10m SCSI cable and using the same PSU for sampler and Kasli/Urukul by tying the power connectors on the VHDCI carriers together.... https://github.com/m-labs/artiq/issues/788#issuecomment-393843188
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Now 10m SCSI cable and using the same PSU for sampler and Kasli/Urukul by tying the power connectors on the VHDCI carriers together.... https://github.com/m-labs/artiq/issues/788#issuecomment-393843188
<GitHub-m-labs> [artiq] jordens commented on issue #788: Hmm. What do you mean by "not servo x"? Is this in-loop or out-of-loop?... https://github.com/m-labs/artiq/issues/788#issuecomment-393844229
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Spectrum of that last data using `np.fft.fftfreq` and `np.fft.fft`:... https://github.com/m-labs/artiq/issues/788#issuecomment-393847580
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Spectrum of that last data using `np.fft.fftfreq` and `np.fft.fft`:... https://github.com/m-labs/artiq/issues/788#issuecomment-393847580
<GitHub-m-labs> [artiq] hartytp commented on issue #788: Finally, same as before (10m SCSI cable, same PSU for everything) but 50R terminate the input and increase the gain to 100. Set-point is not 35mV:... https://github.com/m-labs/artiq/issues/788#issuecomment-393848818
<GitHub-m-labs> [artiq] hartytp commented on issue #788: I would have expected any major SI issues to show up in this testing, so tentatively I'd conclude that -- modulo standard grounding issues -- remote EEMs work fine. cool.... https://github.com/m-labs/artiq/issues/788#issuecomment-393849058
<GitHub-m-labs> [artiq] hartytp commented on issue #788: > And is this with the 5V ADC supply at 5.25V?... https://github.com/m-labs/artiq/issues/788#issuecomment-393849718
<GitHub-m-labs> [artiq] jordens commented on issue #1040: Could you elaborate on the difference to #1039 and #1022? That same test code works fine in #1022 .... https://github.com/m-labs/artiq/issues/1040#issuecomment-393849831
<GitHub-m-labs> [artiq] hartytp commented on issue #788: > Is this in-loop or out-of-loop?... https://github.com/m-labs/artiq/issues/788#issuecomment-393849871
<GitHub-m-labs> [artiq] jordens commented on issue #1022: The steps are expected. This is a sampled system. The sawtooth generators run at lower sample rate and have correspondingly larger steps. The distortion on the sawtooths after the jump is unexpected.... https://github.com/m-labs/artiq/issues/1022#issuecomment-393850422
<GitHub-m-labs> [artiq] hartytp commented on issue #788: > And could you quickly check whether there is a difference between an odd and an even ADC channel in the long-cable case?... https://github.com/m-labs/artiq/issues/788#issuecomment-393850787
<GitHub-m-labs> [artiq] jordens commented on issue #788: ACK. Thanks.... https://github.com/m-labs/artiq/issues/788#issuecomment-393851034
<GitHub-m-labs> [artiq] jordens commented on issue #788: ACK. Thanks.... https://github.com/m-labs/artiq/issues/788#issuecomment-393851034
<GitHub-m-labs> [artiq] jordens commented on issue #788: ACK. Thanks.... https://github.com/m-labs/artiq/issues/788#issuecomment-393851034
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1039: Might be a duplicate of #1022 indeed - I am not sure. https://github.com/m-labs/artiq/issues/1039#issuecomment-393853599
<bb-m-labs> build #1598 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1598
<bb-m-labs> build #2409 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2409 blamelist: Robert Jordens <jordens@gmail.com>
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/b56d37eb633128ea4981bb9ed6ff1f9b50198f77
<GitHub-m-labs> artiq/master b56d37e Robert Jordens: manual: fix table
<GitHub-m-labs> [artiq] hartytp opened issue #1041: SUServo: boiler plate https://github.com/m-labs/artiq/issues/1041
hartytp has joined #m-labs
<hartytp> sb0, _florent_: my Sayma just arrived back.
<hartytp> how do you want me to prioritize things/what do you want me to look at first?
<sb0> hartytp, yes, please look at the JESD sawtooth and generally that the DAC is correctly reproducing the samples that the FPGA sends into the JESD core
<hartytp> okay, so start off building without sawg
<sb0> yep
<hartytp> will do. I'll post some screen shots in a bit
<sb0> thx
<sb0> I guess, we can also hook up microscope at the output of the SAWG
<sb0> it wouldn't really surprise me if this, by itself, makes sayma behave...
rohitksingh_wor1 has quit [Read error: Connection reset by peer]
bb-m-labs has quit [Ping timeout: 260 seconds]
bb-m-labs has joined #m-labs
cjbe_ has joined #m-labs
<bb-m-labs> build #1599 of artiq-board is complete: Exception [exception conda_build_output] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1599 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #2410 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2410 blamelist: Robert Jordens <rj@m-labs.hk>
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/2c344686d9b0f8c3f8cc65db692468e7ac443310
<GitHub-m-labs> artiq/master 2c34468 Robert Jordens: ad53xx/zotino: enable overtemp shutdown and readback control
<GitHub-m-labs> [artiq] jordens commented on issue #1041: At least `shift`, `profile`, `clk`, are parameters worth changing as well. But the rest could be refactored into `eem` and `add_std()` https://github.com/m-labs/artiq/issues/1041#issuecomment-393875841
cjbe__ has joined #m-labs
cjbe_ has quit [Ping timeout: 260 seconds]
<GitHub-m-labs> [artiq] hartytp commented on issue #1041: ack. https://github.com/m-labs/artiq/issues/1041#issuecomment-393876757
rohitksingh has joined #m-labs
<GitHub-m-labs> [artiq] jordens pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/5de2d065689bd1702a3f4934e8ce7e772b12aabb
<GitHub-m-labs> artiq/master 5de2d06 Robert Jordens: ad53xx/zotino: do not clear power down on overtemp
<whitequark> sb0: yes, that's expected
<whitequark> there is no coerce node when just passing an argument, that makes global inference break completely
<GitHub-m-labs> [artiq] jordens commented on issue #992: ping @cjbe https://github.com/m-labs/artiq/issues/992#issuecomment-393879056
<GitHub-m-labs> [artiq] cjbe commented on issue #992: @jordens sounds good to me. https://github.com/m-labs/artiq/issues/992#issuecomment-393880736
<GitHub-m-labs> [artiq] jordens closed issue #992: SU-Servo: ADC/IIR max/min values https://github.com/m-labs/artiq/issues/992
<hartytp> _florent_: built AMC wihtout SAWG + RTM from latest master
<hartytp> some boots are successful, althought I've seen things like JESD bad CODEGRPSYNCFLG https://hastebin.com/umebexumax.go
<hartytp> this time it just froze during the AMC to RTM link test https://hastebin.com/evokogeniz.go
<sb0> under some conditions you can also break the RTM FPGA and it'll take several reboots of the AMC until the link establishes
<hartytp> often it gets stuck in serwb init https://hastebin.com/ikevulufen.go
<sb0> yes, this is the symptom I observe too
<hartytp> sb0: that's news to me
<hartytp> you mean it needs power cycling?
<sb0> then you reboot the AMC multiple times, without touching the RTM, and sometimes it works again
<sb0> no, reload AMC bitstream
<_florent_> hartytp: i'm going to send you the last binaries i used to see what results you have
<hartytp> hmmm...I'm not seeing that
<sb0> well, it's not necessarily a problem on the RTM side. it can be that the US FPGA becomes broken.
<hartytp> about 1/3 of the time it gets stuck in a loop doing serwb init
<hartytp> I've seen a few bad CODEGRPSYNCFLGs
<_florent_> the serwb init seems related to the low speed phy, reloading the rtm should get the link ready
<sb0> comparing the design of the IO blocks of A7 and KU, the latter is a priori more suspicious
<hartytp> _florent_ what's in master atm? high or low speed serwb?
<_florent_> low speed
<hartytp> anyway, other than the serwb errors, and the JESD errors, it looks good atm
<hartytp> let me check it out on a scope
<hartytp> uurgh
<sb0> hartytp, since you have a build without SAWG up and running, can you run this? https://github.com/m-labs/artiq/issues/998#issuecomment-393778071
<sb0> then with 8+i
<hartytp> so the output on channel 7 looks like garbage
<hartytp> sec
<sb0> okay, well if you're busy then one thing at a time
hartytp has quit [Quit: Page closed]
hartytp has joined #m-labs
<hartytp> ch 7
<GitHub-m-labs> [artiq] jbqubit opened issue #1042: Sayma sawg.frequencyN.set() for N=1,2 broken https://github.com/m-labs/artiq/issues/1042
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1042: Duplicate of https://github.com/m-labs/artiq/issues/1040 https://github.com/m-labs/artiq/issues/1042#issuecomment-393892134
<GitHub-m-labs> [artiq] jbqubit commented on issue #1040: Sorry. I created similar bug report before seeing this one. #1040 https://github.com/m-labs/artiq/issues/1040#issuecomment-393892219
<rjo> nice. that's definitely jesd. i'd say some alignment issue.
<sb0> uh, I had never seen that one
<bb-m-labs> build #1600 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1600
<rjo> it's consistent with all those issues having a common cause in jesd alignment, bad cdc, bad sync, etc. and filing more issues about sawg is unlikely to help.
<sb0> does that explain why frequency0.set() works but frequency1.set() doesn't?
<sb0> is the sawg producing slightly different output?
<rjo> sure.
<hartytp> okay, anything else you want me to look at while I'm at it?
<hartytp> wow, those SMPs require quite some insertion force
<whitequark> those connectors are absolute trash
<hartytp> so, I see that glitch clearly on all DAC 1 outputs (ch 4-7) but not on DAC 1 (0-3)
<hartytp> I'm not a fan so far
<whitequark> trying to get them out without the special manufacturer tool has like a 50% chance of breaking them
<whitequark> I think all SMP-SMA cables at m-labs fell apart
<hartytp> let's see how putting microwaves down an FMC goes before we judge them too harshly
<bb-m-labs> build #2411 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2411 blamelist: Robert Jordens <jordens@gmail.com>
<sb0> whitequark, some of those cables were hacked together by florent, and i'd expect them to break
<hartytp> ch 3:https://pasteboard.co/HnT4RtI.jpg
<hartytp> the proper ($$$) SMP cables I bought are pretty sturdy, and removing them is fine but requires some care
<whitequark> sb0: ah ok that explains a few things
<whitequark> they seem to work if you fit them back together after they fall apart but not always, which i think is one reason i might have had so much trouble with allaki
<sb0> there are some cheap smp cables on taobao. might or might not be good. sometimes chinese rf cables and connectors are good despite the low price and origin.
<sb0> the bullets are nowhere to be found, on the other hand
<whitequark> sb0: someone linked me cheap bullets on twitter
<whitequark> well not cheap exactly but cheaper than the ones you used, sec
<whitequark> wow, the extractor tool costs 3000 HKD
<sb0> after interacting with machine shops, it's more understandable why low-volume tools like this are so expensive
<whitequark> I don't know what is wrong with chinese machine shops, I never had any cost or delay issues with low volume in russia as an individual
<hartytp> okay, so if that's all the no-sawg tests you want I'll look at florent's binaries with the HS ser-wb
<sb0> well US and German ones weren't much better IME
<whitequark> yes, US ones are absurdly overpriced
<whitequark> with machinist salaries of $100/hr upwards that's not surprising
<sb0> hartytp, there's the sequence error
<hartytp> ack, will do that with florent's binaries
<whitequark> did I show you the chamber I got made for the induction heater? that entire chamber was less than 2hr of machinist time in the US, including materials
<whitequark> anyway
<sb0> ah, and stocked by an efficient distributor, surprising
<whitequark> that's still around $10 but much cheaper than $40 on digikey
<whitequark> I think I've seen them for even less, sec
<hartytp> _florent_: sample size a few FPGA loads, 1GHz ser-wb seems to work
<whitequark> btw is there a reason allaki doesn't use this? https://www.molex.com/molex/products/datasheet.jsp?part=active/0734066360_RF_COAX_CONNECTORS.xml
<sb0> whitequark, is this going to work with the digital/power connector?
<sb0> putting two different types of connectors on a plug-in board is typically a PITA and drastically restricts options
<whitequark> you mean height wise?
jbqubit has joined #m-labs
<sb0> yes
<sb0> and with tolerances
<jbqubit> SMP to SMA adapter like CentricRF C574-086-12 works great. It's 90-deg at SMP side. I have 8. They've all survived >30 insertion removal cycles without damage. https://github.com/sinara-hw/sinara/wiki/Sayma#debug-tools
<sb0> ah okay. well SMP isn't that bad after all
<whitequark> if you buy SMP connectors you should also buy that tool, or maybe a cheaper one
<sb0> but we still should do something about the sayma front panel. inserting and removing allakis is very messy at the moment.
hartytp_ has joined #m-labs
<hartytp_> _florent_: actually, I take that back
<whitequark> quite frankly the entire sayma mechanical side is a disaster
<hartytp_> [ 3.636475s] INFO(board_artiq::serwb): RTM to AMC Link test
<hartytp_> [ 5.118517s] INFO(board_artiq::serwb): 18421760 errors
<hartytp_> and, on a different boot, it just froze after "[ 10.967755s] INFO(board_artiq::ad9154): phase: 58, sync error: 481" for DAC 0
<whitequark> https://micromode.com/product/mmtl-15363/ this was the cheaper tool
<hartytp_> _florent_ why does it keep booting if it gets errors in the link?
<sb0> hm, US shop, probably with expensive shipping
<whitequark> oh, they don't even ship outside of US, how obnoxious
<sb0> yeah typical. so remailer needed, delays, costs, time spent dealing with it, etc.
<whitequark> centricrf ships internationally for $100... you were right
<whitequark> cheaper to get bullets in bulk and throw them in the trash when they break
<sb0> that's why I was happy those connectors were at element14
<sb0> free/low-cost shipping in a few days and no mess
<hartytp_> so, _florent_ are you sure that the binaries you sent me just now worked when you had the board?
<GitHub176> [smoltcp] whitequark commented on issue #224: cc @barskern https://github.com/m-labs/smoltcp/issues/224#issuecomment-393902315
<hartytp_> have you looked at the pastes I posted
<hartytp_> I consistently get errors on the RTM to AMC link test
<hartytp_> that's before the HMC830/7043 are configured
<hartytp_> (and FWIW, errors seem unchanged when I remove the 100MHz clock)
<hartytp_> sb0: building with SAWG to do the test you wanted
<sb0> hartytp_, with SAWG I already know the result
<sb0> and it seems to be reproducible
<hartytp_> okay for me to do it with an idle kernel?
<sb0> I had seen the issue with a startup kernel
<GitHub-m-labs> [artiq] dhslichter commented on issue #1022: Those wiggles look like they could be coming from some incorrect interleaving from the CORDICs -- if there was an incorrect phase offset between the start of each interleaved CORDIC, you could get something that looked like this instead of a clean sine wave. https://github.com/m-labs/artiq/issues/1022#issuecomment-393905496
<GitHub-m-labs> [artiq] hartytp commented on issue #1022: I suspect it's a JESD issue, since I see glitches on the sawtooth generator (https://irclog.whitequark.org/m-labs/2018-06-01) https://pasteboard.co/HnT4Gf6.jpg https://github.com/m-labs/artiq/issues/1022#issuecomment-393905927
<GitHub-m-labs> [artiq] dhslichter commented on issue #1022: If the JESD is incorrectly serializing samples (out of order) this would also produce the effect I was describing, and looking at @hartytp's scope trace it does seem like this might be the case. The sawtooth is a lot more jagged-looking than one would expect on the smooth part (the jaggedness is substantially larger than the spec'ed DNL, to my eye). https://gith
<hartytp_> sb0: dumb question, but I shouldn't need to flash the FPGA, right? loading should be enough.
<sb0> hartytp_, yes, in theory it behaves the same when it's loaded from JTAG or the flash.
<hartytp_> okay, well when I tested florent's gateware before, I had my no-sawg, slow ser-wb flashed
<hartytp_> I then loaded his gw, and consistently got lots of RTM->AMC link errors
<hartytp_> having flashed his binaries, I can't reproduce that
<bb-m-labs> build #1601 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1601
<sb0> hartytp_, it's sayma, so all bets are off. maybe in reality there's a difference with flash/jtag...
<rjo> the firmware
<hartytp_> _florent_ from the last few boots with the binaries you sent me, no serwb errors, but now seems to hand reliably on ad915s-0 initializing
<sb0> hartytp_, of course you need to have compatible firmware in flash, and that firmware also has to be built for the rtm gateware you are using
<hartytp_> okay, so load doesn't load the firmware then?
<sb0> hartytp_, it prints the versions of everything for this reason
<sb0> hartytp_, no, the firmware (runtime) is in flash
<hartytp_> true, I didn't check that
<hartytp_> anyway, with _florent_'s binaries after flashing this has hung every time around AD9514-0 initializing
<bb-m-labs> build #2412 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2412 blamelist: Robert Jordens <jordens@gmail.com>
<hartytp_> +- a few lines on the uart
<GitHub-m-labs> [artiq] jordens pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/5de2d065689b...62deffa7d2d1
<GitHub-m-labs> artiq/master 62deffa Robert Jordens: opticlock: fix core device name
<GitHub-m-labs> artiq/master f50aef1 Robert Jordens: suservo: extract boilerplate...
<hartytp_> sb0: I've tried to do your test using the current master and no-sawg. atm it's either getting stuck initialzing the ser-wb link or with the SERDES PLL lock timeout
<hartytp_> either way, I'm not getting far enough to do the test
<hartytp_> sigh
<sb0> so it just started breaking like that? did you change anything from when you posted the scope screenshots?
<hartytp_> nope
<sb0> yeah, I also had vivado segfault on me at some point, when building without sawg ...
<hartytp_> the serwb issues were happening before some fraction of the time
<hartytp_> maybe they're worse now, but I don't have the statistics to be sure
<hartytp_> the SERDES PLL issue is new
<hartytp_> same gw/fw
<hartytp_> nothing else has changed afaict
<hartytp_> so odd. maybe something thermal?
<hartytp_> need to go now, but will try to get back to it on sunday. maybe being powered down for a while will make a difference
<hartytp_> _florent_ thoughts?
hartytp has quit [Quit: Page closed]
<_florent_> hartytp_: sorry i was away
<_florent_> hartytp_: 100% sure that the binaries i just sent you are the one i used to the reboot tests (>800 reboots during a full day)
hartytp_ has quit [Ping timeout: 260 seconds]
<_florent_> hartytp: i suggest checking the hmc830 and hmc7043 clocks with a scope
<_florent_> hartytp: also it could be interesting to test with a 1.2Ghz clock connected to DAC clk and bypass the hmc830
<bb-m-labs> build #1602 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1602
<bb-m-labs> build #2413 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2413 blamelist: Robert Jordens <jordens@gmail.com>
Omid has joined #m-labs
<Omid> I am running this code https://paste.ofcode.org/AfpTfSP3ynuKwU2LyGnr59 on Sayma board using bit file with HMC830 and with SAWG and updated JESD204B #38b51282226f9
<Omid> I get the RF output but I get an RTIOunderflow exception.
<Omid> What am I doing wrong?
<whitequark> the delays in sawg initialization are too small
<whitequark> it's #1007
<Omid> Ok now I increased the time but the kernel keeps crashing while running this code https://paste.ofcode.org/iyYLR4z2gihdycvVzzwfmj
<Omid> So I have to reload the bit file
<Omid> How do I prevent it?
<Omid> Also does the code look okay?
<Omid> This is the output that I get when running that code:
<whitequark> Omid: can you show the UART output? this is not normal behavior
<whitequark> it doesn't matter what's in the kernel, the core device should *never* crash
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=opticlock artiq-board
<bb-m-labs> build forced [ETA 41m37s]
<bb-m-labs> I'll give a shout when the build finishes
<rjo> bb-m-labs: force build --props=package=artiq-board,artiq_target=kasli,artiq_variant=ptb artiq-board
<bb-m-labs> The build has been queued, I'll give a shout when it starts
cjbe__ has quit [Ping timeout: 276 seconds]
cjbe__ has joined #m-labs
<bb-m-labs> build #1603 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1603
<bb-m-labs> build forced [ETA 41m37s]
<bb-m-labs> I'll give a shout when the build finishes
cjbe__ has quit [Ping timeout: 256 seconds]
<GitHub-m-labs> [artiq] whitequark commented on issue #1029: No, the signature is: `do_dh(self, *nn, xx)`. You have the wrong method, `f` is fine. https://github.com/m-labs/artiq/issues/1029#issuecomment-393979270
<Omid> @whitequark The UART output indicates kernel panic. Same as #1026.
<whitequark> Omid: can you give me the exact runtime.elf and exact UART output?
<bb-m-labs> build #1604 of artiq-board is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1604
sb0 has quit [Ping timeout: 256 seconds]
<Omid> Will create new Issue. Now seeing this repeat with different symptoms than #1026. Random characters printed on URART, kernel freeze but no kernel panic.
<GitHub-m-labs> [artiq] jbqubit opened issue #1043: Sayma kernel freeze without panic, random characters https://github.com/m-labs/artiq/issues/1043
<GitHub-m-labs> [artiq] jordens commented on issue #1029: Right! Sorry for the red herring. https://github.com/m-labs/artiq/issues/1029#issuecomment-393983259
<GitHub-m-labs> [artiq] whitequark pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/62deffa7d2d1...985fd7377b85
<GitHub-m-labs> artiq/master 985fd73 whitequark: artiq_rpctool: use inspect.formatargspec instead of a NIH formatter....
<GitHub-m-labs> artiq/master f1a80f1 whitequark: doc: note that coreanalyzer lacks SAWG support....
<GitHub-m-labs> [artiq] jbqubit commented on issue #1043: This time panic and garbage characters. Panic message looks different. ... https://github.com/m-labs/artiq/issues/1043#issuecomment-393984399
sb0 has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
<GitHub-m-labs> [artiq] jbqubit commented on issue #1022: Also sweeping amplitude over a narrow range results in glitches in output. ... https://github.com/m-labs/artiq/issues/1022#issuecomment-393993587
<GitHub-m-labs> [artiq] whitequark commented on issue #1043: Disassembly:... https://github.com/m-labs/artiq/issues/1043#issuecomment-393993881
<bb-m-labs> build #1605 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1605
<whitequark> sb0: rjo: is there any desire to get a gdb stub on the core device to debug panics?
<whitequark> I have the code in C misoc, could port it to Rust easily
<whitequark> reminded of this while adding memory dumps to panics
<GitHub-m-labs> [artiq] jbqubit opened issue #1044: Sayma SAWG frequency0.set(240*MHz) produces nonsense https://github.com/m-labs/artiq/issues/1044
<GitHub-m-labs> [artiq] jbqubit opened issue #1045: Sayma SAWG frequency0.set() no bounds checking https://github.com/m-labs/artiq/issues/1045
<GitHub-m-labs> [artiq] sbourdeauducq commented on issue #1043: What vivado version are you using? https://github.com/m-labs/artiq/issues/1043#issuecomment-394011235
<GitHub-m-labs> [artiq] whitequark pushed 1 new commit to master: https://github.com/m-labs/artiq/commit/d686d3309355ed43038a13b82920307467da6781
<GitHub-m-labs> artiq/master d686d33 whitequark: runtime: print hex dumps around PC/EA in case of exception....
<GitHub-m-labs> [artiq] whitequark commented on issue #1026: Done. On test crash:... https://github.com/m-labs/artiq/issues/1026#issuecomment-394011717
<bb-m-labs> build #2414 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2414 blamelist: whitequark <whitequark@whitequark.org>
<GitHub-m-labs> [artiq] jbqubit commented on issue #1043: I'm using 2017.4. What version of Vivado are you using?? https://github.com/m-labs/artiq/issues/910 ... https://github.com/m-labs/artiq/issues/1043#issuecomment-394016753
<GitHub-m-labs> [artiq] jbqubit commented on issue #1043: > ****** Vivado v2018.1 (64-bit)... https://github.com/m-labs/artiq/issues/1043#issuecomment-394017806
jbqubit has quit [Quit: Page closed]
Omid has quit [Quit: Page closed]
<bb-m-labs> build #1606 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/1606
<bb-m-labs> build #2415 of artiq is complete: Failure [failed python_unittest_2] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/2415 blamelist: whitequark <whitequark@whitequark.org>
dlrobertson has quit [Quit: WeeChat 2.1]
dlrobertson has joined #m-labs
<GitHub157> [smoltcp] barskern commented on issue #224: @pothos Do you think you would be able to write a test which mimics this behavior? Or explain me on how this managed to happen so that I could write a test?... https://github.com/m-labs/smoltcp/issues/224#issuecomment-394036403
<GitHub77> [smoltcp] barskern commented on issue #224: @pothos Do you think you would be able to write a test which mimics this behavior? Or explain me how it happened so that I could write a test?... https://github.com/m-labs/smoltcp/issues/224#issuecomment-394036403