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
<GitHub192> [artiq] jordens pushed 1 new commit to master: https://git.io/vzFRf
<GitHub192> artiq/master 4a29f07 Robert Jordens: test.ctlmgr: drop a redundant lambda
<bb-m-labs> build #188 of artiq is complete: Failure [failed conda_build] Build details are at http://m-labs-buildserver.lan/buildbot/builders/artiq/builds/188 blamelist: Robert Jordens <jordens@gmail.com>
<rjo> sb0: is there anything obviously wrong with the Analyzer on pipistrello? It works fine for the slack but i get grabled data in many cases, especially if i toggle dds's. and the unittest fails with http://paste.debian.net/376498/
<mithro> rjo: morning
<GitHub48> [artiq] jordens created increase-runtime-size (+1 new commit): https://git.io/vzFr7
<GitHub48> artiq/increase-runtime-size e92d523 Robert Jordens: flash storage: move to flash + 0x70000...
<rjo> mithro: hey
<rjo> mithro: re openocd. which proxy bitstream? and show me the full log.
<mithro> rjo: Just looking at it now.
<mithro> rjo: just double checking that I have the correct bit stream
fengling has quit [Read error: Connection reset by peer]
<mithro> rjo: the board has a "numonyx n25q128"
<mithro> rjo: I'm trying a different board
<rjo> i have the same chip and the same flash on pipisttello where it works fine. both the old bitstream without the pullups on all residual pins and the new one.
<rjo> mithro: show me that script. and then try slower jtag
<rjo> mithro: that reset after loading the proxy looks suspicious. i don't know where you have the script that does that from.
<mithro> rjo: The script? You mean the board/digilent_atlys.cfg ?
<mithro> rjo: oh - the command I ran was
<mithro> openocd -d -d -d -f board/digilent_atlys.cfg -c 'init; jtagspi_init 0 /home/tansell/foss/timvideos/hdmi2usb/HDMI2USB-mode-switch/flash_proxy/atlys/bscan_spi_xc6slx45.bit' > openocd.log 2>&1
<mithro> hrm... Info : This adapter doesn't support configurable speed
fengling has joined #m-labs
<mithro> rjo: this same adapter (the ixo-usb-jtag) works fine with flashing the Opsis boards
<mithro> the fact it says (ID 0x00ffffff) does make me think there is some issue talking to the proxy
<mithro> but its weird that I can flash/use other jtag commands fine
<rjo> do you know that the flash is there, powered, and working?
<rjo> mithro: this pipistrello: http://paste.debian.net/376838/
<mithro> rjo: well, I know that I can program the flash with the horrible digilent windows only tools and that the spartan-6 boots up from whatever I program into it
<mithro> rjo: yeah, that looks closer to what I get on the Opsis board
<mithro> I'm just comparing the pipistrello and atlys wiring
<rjo> i checked that. same.
<rjo> but maybe the different jtag-to-usb interfaces lead to different results for that reset after loading the proxy. SRST, TRST...
<rjo> i don't see anything else currently.
<mithro> rjo: the HSWAPEN is pulled up on the pipistrello and pulled down on the Atlys?
<mithro> otherwise they looked to be wired identically in the FLASH<->FPGA
<mithro> rjo: the clock on the board isn't use in any way, right?
<rjo> mithro: i don't know about HSWAPEN
<rjo> no clock is the jtag clock from the usb-to-jtag converter.
<mithro> When Low during configuration, enables pull-up resistors in all I/O pins to respective I/O bank VCCO input. -- 0: Pull-ups during configuration -- 1: No pull-ups
<rjo> mithro: that should not matter for the flash.
<mithro> I notice that the pipistrello has pullups on a bunch of the flash lines - the WP/HOLD lines
<rjo> the proxy also puts pullups on them.
<mithro> oh wait, so does the Atlys
<mithro> the schematic is hard to read :/
<mithro> I'm pretty sure it is in the FX2<->JTAG bridge bit
<mithro> I don't understand why that works on the Opsis though....
fengling has quit [Ping timeout: 272 seconds]
fengling has joined #m-labs
<mithro> rjo: you should embed the git hash prefix in the bit stream user id
<mithro> rjo: want me to send you a patch to do that?
<mithro> I just diffed the atlys and opsis openocd runs and they are identical except for were the jtag fails
<rjo> mithro: you should make that a well integrated feature of migen.
<mithro> rjo: I'm still stuck on the legacy branch at the moment
<mithro> rjo: so, it seems to be always reading 1
<mithro> I really wish they had used a standard header size on the jtag header on this board
<mithro> I'd just connect up a logic analyzer to the jtag bus
<rjo> mithro: are you saying that the old proxy bitstream works?
<mithro> rjo: actually, I haven't checked that...
<mithro> rjo: both my custom proxy and your newest proxy work on the Opsis board, both the old and latest proxy have the same output on the Atlys board
<rjo> what do you mean by "stuck on the legacy branch" then?
<rjo> mithro: what was the reason you requested the pullups in december?
<mithro> rjo: oh sorry, I'm stuck on the legacy branch of migen and misoc for the HDMI2USB at the moment
<mithro> rjo: on the Opsis board, the JTAG programmer is reset if you pull one of the FPGA pins low
<rjo> ack.
<mithro> We kind of have a "loop" in our system, the FPGA can reset the JTAG programmer and the JTAG programmer can reset the FPGA
<GitHub95> [artiq] jordens pushed 1 new commit to increase-runtime-size: https://git.io/vzFAs
<GitHub95> artiq/increase-runtime-size 3df6752 Robert Jordens: RELEASE_NOTES: update
evilspirit has joined #m-labs
<whitequark> sb0: so I'm offered a vacuum chamber. two CF300 and one CF200 port, height 300mm not counting flanges
<whitequark> apparently the welds are crappy, which is why it's being replaced. but it holds enough vacuum to test AFMs (I think; it's removed from a testing setup), and it should be "very cheap"
rohitksingh has joined #m-labs
jaeckel has quit [Ping timeout: 256 seconds]
FabM has joined #m-labs
jaeckel has joined #m-labs
fengling has quit [Quit: WeeChat 1.2]
sb0 has joined #m-labs
<sb0> rjo, i don't know why it does that. maybe the fifo overflows and then the messages get corrupted?
<sb0> have you tried a larger fifo?
evilspirit has quit [Ping timeout: 250 seconds]
<sb0> whitequark, we already have my chamber for 'dirty' vacuum... what do you want to do with this one?
<sb0> if we make a new vacuum system, we should rather focus on ion trap grade UHV imo
<sb0> (as in: make a vacuum system for the sake of making a vacuum system. I'm not sure what you have in mind...)
<sb0> or do you want to use this one as a training device for CF seals?
<sb0> if it's very cheap...
acathla has quit [Quit: Coyote finally caught me]
acathla has joined #m-labs
acathla has joined #m-labs
sb0 has quit [Ping timeout: 256 seconds]
sb0 has joined #m-labs
evilspirit has joined #m-labs
FabM has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.4/20160105164030]]
sb0 has quit [Ping timeout: 245 seconds]
evilspirit has quit [Ping timeout: 240 seconds]
<rjo> sb0: re pipistrello analyzer. isn't the fifo message-atomic?
rohitksingh has quit [Quit: Leaving.]
ylamarre has joined #m-labs
sj_mackenzie has joined #m-labs
sb0___ has joined #m-labs
<sb0___> rjo: the fifo contains sdram words, so it can corrupt messages when it overflows if the sdram word is smaller than the message
<whitequark> sb0___: I'm not sure--I don't have anything specific in mind. I wondered if you do.
sj_mackenzie has quit [Remote host closed the connection]
<rjo> sb0___: ah. right.
sb0___ has quit [Ping timeout: 252 seconds]
bentley` has quit [Remote host closed the connection]
<GitHub193> [artiq] sbourdeauducq pushed 1 new commit to applets: https://git.io/vzxZP
<GitHub193> artiq/applets 1d92c08 Sebastien Bourdeauducq: gui/log: use QFontDatabase for fixed font
bentley` has joined #m-labs
sb0__ has joined #m-labs
<sb0__> rjo: you broke multiline logging in ctlmgr
<rjo> did i?
<rjo> will fix it.
acathla` has joined #m-labs
acathla has quit [Ping timeout: 240 seconds]