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
<FelixVi> maybe it's worthwhile to add that as a note in the repository
<FelixVi> I suspect the page size for other flashes is also not right - but I haven't checked on it
fengling has joined #m-labs
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 240 seconds]
<sb0> _florent_, how did you get the values of rxcdr_cfg in litesata?
<sb0> the "8BFF" in the middle looks particularly obscure, it's "23FF" in all (somehow) documented examples
rohitksingh_work has joined #m-labs
sb0 has quit [Quit: Leaving]
ylamarre1 has quit [Ping timeout: 244 seconds]
sb0 has joined #m-labs
<_florent_> sb0: it comes from this AR# yes
FabM has joined #m-labs
fengling has quit [Ping timeout: 240 seconds]
fengling_ has joined #m-labs
rohitksingh has joined #m-labs
bhamilton has joined #m-labs
bhamilton has quit [Remote host closed the connection]
bhamilton has joined #m-labs
bhamilton1 has joined #m-labs
bhamilton has quit [Ping timeout: 272 seconds]
bhamilton1 has quit [Remote host closed the connection]
rohitksingh has quit [Quit: Leaving.]
fengling_ has quit [Quit: WeeChat 1.4]
<rjo> FelixVi: pretty sure you are wrong. the page size is 256 in the datasheet. and that also seems completely unrelated to any of the symptoms you are seeing.
<rjo> FelixVi: did you bother checking what i asked you?
rohitksingh_work has quit [Ping timeout: 252 seconds]
ylamarre has joined #m-labs
sb0 has quit [Quit: Leaving]
rohitksingh has joined #m-labs
mindrunner has quit [Ping timeout: 264 seconds]
mindrunner has joined #m-labs
<FelixVi> rjo, the bin file is fine and it works fine
<FelixVi> rjo, when you look at the logs I send you, you will see that it's trying to write 2048
<FelixVi> Debug: 15565 39971 jtagspi.c:92 jtagspi_cmd(): cmd=0x02 len=2048
<FelixVi> rjo, so there could be another bug you have in the code, but with 0x100 set in spi.c it's not writing 256 at a time
<FelixVi> in line 362 (jtagspi.c), it's writing count*8
<FelixVi> jtagspi_cmd(bank, SPIFLASH_PAGE_PROGRAM, &offset, (uint8_t *) buffer, count*8);
<FelixVi> that could also be the problem, but I didn't want to change things there as I could have messed up other things
ylamarre has quit [Ping timeout: 272 seconds]
shuffle2 has quit [Ping timeout: 244 seconds]
<FelixVi> In either case, 0x100 fails and 0x20 works, so we have some information about what the problem is
<FelixVi> I am fine with things working for now, but I'm happy to chase this down if you're interested
FelixVi has quit [Remote host closed the connection]
<rjo> FelixVi: nonsense. look at the code: 2048 = 8*256 is the number of bits in a page and that is what it is writing.
<rjo> FelixVi: let me be really blunt: given that nobody else seems (in the thousands of different images that we have so far flashed onto the same chip model) to hit your issue, and given that you don't seem to be willing to narrow it down or provide a reproducible test, you won't have anybody else looking into it other than you ;)
<rjo> i am saying that there is no bug. there might well be one. but from what you do and give there is no way to approach it.
<GitHub13> [artiq] jordens pushed 4 new commits to master: https://git.io/vKayc
<GitHub13> artiq/master 340d65f Robert Jordens: add appdirs...
<GitHub13> artiq/master bb706c1 Robert Jordens: browser/dashboard: use appdirs, closes #438
<GitHub13> artiq/master 6a73772 Robert Jordens: tools: style
sb0 has joined #m-labs
<GitHub115> [artiq] jordens pushed 1 new commit to master: https://git.io/vKaSU
<GitHub115> artiq/master 26b5981 Robert Jordens: RELEASE_NOTES: add gui state file locations
shuffle2 has joined #m-labs
<rjo> * that should have been "i am _not_ saying that there is no bug..."
<bb-m-labs> build #551 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/551
MiW has quit [Ping timeout: 244 seconds]
<bb-m-labs> build #266 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/266
<bb-m-labs> build #825 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/825
<bb-m-labs> build #552 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/552
<bb-m-labs> build #267 of artiq-win64-test is complete: Failure [failed python_unittest] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/267 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #826 of artiq is complete: Failure [failed] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/826 blamelist: Robert Jordens <rj@m-labs.hk>
<bb-m-labs> build #553 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/553
<GitHub91> [artiq] sbourdeauducq pushed 1 new commit to master: https://git.io/vKaAV
<GitHub91> artiq/master 0963b07 Sebastien Bourdeauducq: dashboard: remove vestige of status bar. Closes #517
<bb-m-labs> build #268 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/268
<bb-m-labs> build #827 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/827
MiW has joined #m-labs
rohitksingh1 has joined #m-labs
rohitksingh has quit [Ping timeout: 276 seconds]
<bb-m-labs> build #554 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/554
sb0 has quit [Quit: Leaving]
<GitHub117> [artiq] jordens pushed 2 new commits to master: https://git.io/vKaju
<GitHub117> artiq/master b9000fa Robert Jordens: tools: __all__ update
<GitHub117> artiq/master 9785b39 Robert Jordens: tools: support wildcard bind: --bind '*'
<bb-m-labs> build #269 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/269
<bb-m-labs> build #828 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/828
rohitksingh1 has quit [Ping timeout: 240 seconds]
<_florent_> rjo, cr1901_modern: IIRC one of you wanted to create a wrapper for the SPI core of ARTIQ so that it can be used in MiSoC, have you made some progress on that? (I just wanted to use it to control a AD9154 DAC)
bhamilton has joined #m-labs
<bb-m-labs> build #555 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/555
<rjo> _florent_: "a" AD9154? or the one for that JESD demonstrator https://github.com/m-labs/jesd204
<_florent_> rjo: thanks
<_florent_> rjo: yes this one
<rjo> _florent_: ok. i am designing the dsp path and data pump for it.
<rjo> what do you prefer that to look like and where should it happen?
<rjo> my scratch space for that part of the code is here: https://github.com/m-labs/phaser
<_florent_> ok thanks I'll look at that
<_florent_> for now I think we can work in separate repos
<_florent_> but that will be interesting to connect the two for the demo
<bb-m-labs> build #270 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/270
<rjo> _florent_: that's the demo ;)
<bb-m-labs> build #829 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/829
<_florent_> ah sorry ... :)
<_florent_> then once I have something working we could create a test design in your repository that use the jesd204 core
kuldeep_ is now known as kuldeep
<rjo> _florent_: any roadblocks you can see right now? is 4x16b samples per channel at 150 MHz ok?
<rjo> _florent_: all that will move the the main artiq repo sooner or later anyway. but that should be smooth.
<rjo> _florent_: currently we are targetting 4x interpolation and 600 MHz data rate, 2.4 GHz dac clock, all four channels independently (none of the IQ data path elements: nco, coarse mod, sinc shaper, phase shifter)
<_florent_> rjo: I can't say for now for the 4x16b samples per channel, but if that's supposed to be supported by the AD9154, then you can prepare that yes
<rjo> afaict that's supported
rohitksingh has joined #m-labs
<rjo> i just don't know how many gearbox stages and N-times-M-bits-to-K-times-L-bits conversions there are until it dribbles out of the transcievers.
<_florent_> ok, I'll look at that
mindrunner has quit [Ping timeout: 272 seconds]
<rjo> it's ok if you work your way from the transciever side up. just asking if you already had any preference. from my side 4 channels of 4x16 bit at 150 MHz is "natural".
<rjo> the spi core is copied over from the artiq one (and has been tested there). cr1901_modern is slapping the CSR layer on top of it instead of the wishbone interface for artiq.
_florent_ has quit [Ping timeout: 250 seconds]
mindrunner has joined #m-labs
_florent_ has joined #m-labs
bhamilton has quit [Remote host closed the connection]
rohitksingh1 has joined #m-labs
rohitksingh has quit [Ping timeout: 258 seconds]
<GitHub104> [artiq] jordens pushed 1 new commit to master: https://git.io/vKVmW
<GitHub104> artiq/master 6084eff Robert Jordens: tools: help string wording
<bb-m-labs> build #556 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/556
<bb-m-labs> build #271 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/271
<bb-m-labs> build #830 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/830
ylamarre has joined #m-labs
rohitksingh1 has quit [Ping timeout: 260 seconds]
rohitksingh has joined #m-labs
<GitHub174> [artiq] jordens pushed 1 new commit to master: https://git.io/vKVaf
<GitHub174> artiq/master 0744620 Robert Jordens: examples/device_db: explain where comments are shown (#518)
jboulder_ has joined #m-labs
<jboulder_> bb-m-labs, force build artiq-pipistrello-nist_qc1
<bb-m-labs> The build has been queued, I'll give a shout when it starts
<bb-m-labs> build #557 of artiq-kc705-nist_clock is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_clock/builds/557
<bb-m-labs> build #240 forced
<bb-m-labs> I'll give a shout when the build finishes
rohitksingh has quit [Quit: Leaving.]
jboulder_ has quit [Ping timeout: 250 seconds]
jboulder has quit [Ping timeout: 250 seconds]
mumptai has joined #m-labs
ylamarre has quit [Ping timeout: 272 seconds]
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
<bb-m-labs> build #240 of artiq-pipistrello-nist_qc1 is complete: Failure [failed conda_build] Build details are at http://buildbot.m-labs.hk/builders/artiq-pipistrello-nist_qc1/builds/240
<bb-m-labs> build #177 of artiq-kc705-nist_qc2 is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-kc705-nist_qc2/builds/177
<bb-m-labs> build #272 of artiq-win64-test is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/272
<bb-m-labs> build #831 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/831