Current Server Time: 12:59 (Central Europe)

#apertus IRC Channel Logs

2016/01/23

Timezone: UTC


01:19
davidak
left the channel
01:59
Bertl_zZ
changed nick to: Bertl
02:01
Bertl
John_K: that is an excellent idea, I'll see if I can hook up the ACBUS to the I2C in the next revision
02:02
Bertl
for the enumeration issue, I don't see why it wouldn't work, can you take a close up picture (or even better scan) from your board? maybe I can spot something odd there?
02:22
intracube
I think I understand the first half of the imagemagick script - take 3 copies of the raw bayered image, shift each one by one pixel either horizontally/vertically
02:23
intracube
nearest neighbour downscale to choose every other row/column
02:23
intracube
not sure what the last half does though; -clone 2,3 -average \) -delete 2,3 -swap 0,1 +swap
02:29
Bertl
well, we have two greens
02:29
Bertl
they get avaraged and the originals are deleted
02:29
Bertl
then we swap the order to match the RGB sequence
02:29
Bertl
and finally we recombine
02:29
John_K
Bertl: yeah I'll take a pic in a minute
02:31
intracube
Bertl: aah, I forgot 2 X green sensels
02:34
intracube
neat :)
02:57
Bertl
John_K: okay, I hooked up ACBUS0 to PMOD_SCL and ACBUS1 to PMOD_SDA
02:57
Bertl
and moved TP0-TP3 to ACBUS4-ACBUS7 for v0.25
02:58
Bertl
but I have to test if that doesn't interfere with the I2C bus when the FTDI is not powered first
04:21
John_K
Bertl: if it does you can just put a broken testpoint / double half-moon that can be soldered or desoldered
04:22
John_K
you may need to hook PMOD_SDA up to two pins on the FTDI in order to do I/O
04:22
John_K
due to how MPSSE works
04:22
John_K
(I've also only ever seen people use ADBUS0-2 for I2C, although I don't think there is any reason not to use ACBUS)
04:41
Bertl
well, we won't be able to use the MPSSE for I2C, because we need the ADBUS for JTAG
04:41
Bertl
and as far as I know, the FTDI is not able to remap those functions
04:42
Bertl
so we end up bit-banging the I2C bus, which makes it slow but that's not a big problem here I guess
04:43
Bertl
this should also allow to change the direction of SDA for reading
04:46
Bertl
how is the picture coming along btw? :)
05:42
jucar
joined the channel
06:23
jucar
left the channel
06:32
John_K
probably yeah
06:32
John_K
scanning now
06:38
John_K
https://kelley.ca/temp/apertus-ftdi-bad.jpg
06:38
John_K
@Bertl ^^
06:49
John_K
also https://kelley.ca/temp/apertus-ftdi-mag.jpg
06:49
John_K
maybe xtal is rotated 180 degrees
06:50
John_K
trying to figure that out from the datasheet
07:06
John_K
xtal appears to be on there correctly
07:07
John_K
the ftdi should power up and enumerate with nothing connected to the power board but the USB cable right?
07:10
Bertl
correct, and rotation of the xtal shouldn't matter
07:11
John_K
hrm well this is weird then
07:11
Bertl
no, it looks like a 24MHz crystal there
07:12
Bertl
AFAIK, the FT232HL requires 12MHz
07:12
Bertl
so, the first check I would do is to probe pin 2 (OSCO) for a proper clock signal
07:13
John_K
huh the BOM states 24mhz
07:13
John_K
https://docs.google.com/spreadsheets/d/1cRg2Q33XjOueK9HGNT3q6jPpuwqsHzSggTgzdXqt2sg/edit#gid=0
07:13
John_K
line 26, Q1
07:15
Bertl
well, you should have trusted my bom :)
07:15
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/BETA/axiom_beta_power_board_v0.23.bom
07:15
John_K
I thought that was your BOM ;)
07:15
John_K
I hope nothing else was departed too much from it
07:15
Bertl
anyway, I suspect this to be the issue here
07:15
John_K
me too
07:15
John_K
let me see if I have a 12mhz xtal kicking around
07:16
Bertl
so, you know how to swap that out?
07:16
John_K
yep, I have a hotair rework station here
07:18
John_K
another question since you're here, there appears to be a strange swapping of diff-pair polarities from the main board to dummy interface board https://kelley.ca/temp/apertus-diff-pair.jpg
07:19
Bertl
yeah, that's on purpose
07:21
Bertl
the thing is, the LVDS pairs on the sensor interface are not strictly N/P they will soon be labeled (when we document the interface) _A and _B
07:21
Bertl
the reason for this is that most sensors will not match the order anyway, and it doesn't matter as it can be "swapped" inside the FPGA (by inverting the pair)
07:22
Bertl
on the SFE, if you look closely, all the "upper" LVDS pairs are swapped
07:22
Bertl
ond the dummy interface, we only swap those where it makes sense from the layout
07:23
Bertl
just saw that the capacitors on the solder on area seem to have cream ...
07:23
Bertl
is going to fix that :)
07:29
John_K
yeah
07:29
John_K
makes sense re: diff pairs
07:30
John_K
so it doesn't look like I have any 12MHz xtals kicking around here
07:30
John_K
just 10mhz and 24mhz, maybe I have some in my project storage
07:32
Bertl
you can use those tiny can crystals as well (typically used as clock crystals) if you find one with 12MHz
07:33
Bertl
(there is enough space to place it flat on the PCB
07:33
John_K
good to know
07:35
Bertl
the main reason why the pairs are still named _N and _P is that the layout tool requires that for differential routing
07:38
Bertl
just did a few test with the FTDI, and I think we have a problem with an unpowered chip if we connect it to I2C
07:38
John_K
ah
07:38
John_K
even test points for I2C would be helpful
07:39
Bertl
it seems to back-power and hang around 1.65V on VCCIO
07:39
John_K
I soldered to the hirose connector and it was a bit of a pain
07:39
Bertl
you can use the pins of the large FCI connector
07:40
Bertl
the bus is there with SDA and SCL on different sides
07:40
John_K
btw, are there any pages or logs on setting up the microzed? I'm getting an error in uboot saying that it can't find the ramdisk on the sd card
07:40
Bertl
but I'm wondering what the FTDI will do when we feed it from the 3V3 rail via a diode for example?
07:41
Bertl
where did you get your SD image from?
07:41
John_K
http://stefan.konink.de/contrib/apertus/
07:42
Bertl
okay, I'll upload a more recent one then
07:42
John_K
cool, thanks!
07:43
Bertl
can you handle dump/tar archives on your system (i.e. not the Beta)?
07:43
John_K
tar? yeah
07:43
John_K
I'm on OS X
07:44
Bertl
hmm, can you open the ext4 partition (on the SD) there?
07:44
Bertl
is there an ext4 partition on your SD? :)
07:44
John_K
not easily
07:44
John_K
yes
07:44
Bertl
okay, I'll do a full image then, will be larger but simpler
07:44
John_K
ok
07:44
Bertl
you have a 16GB SD card or a smaller one?
07:45
John_K
larger
07:45
John_K
so 16gb is fine
07:45
Bertl
perfect
07:46
John_K
tbz2 or tar.xz work fine for me as well
07:48
John_K
btw, is there a specific linux command in your image to turn the buck supplies on so I can dial their adjustable resistors in?
07:49
Bertl
yes, you will get a bunch of scripts, one of them initializes the GPIO extenders, another turns the power on, still another provides you with power readings
07:50
John_K
are they in your image already? or can you send me another tar file?
07:50
Bertl
yes, they will be part of the image
07:51
John_K
ok :)
07:51
John_K
I'm documenting my bringup steps as I go as well, will contribute them to the wiki
07:51
Bertl
excellent! appreciated!
07:52
Bertl
we will put all the stuff into proper repositories soon, it makes sense once other folks start working on them as well
07:52
John_K
are they somewhere on http://vserver.13thfloor.at/ now? or somewhere else?
07:53
John_K
happy to help get stuff into github as well if that helps
07:54
Bertl
at the moment, they are mostly on the betas (and the backups :)
07:55
John_K
ahh
07:55
Bertl
and I will get back to you about that :)
07:55
John_K
sure thing
07:55
John_K
I'm basically trying to bring this up this weekend and then kick off a large build of units in the next few weeks
07:56
Bertl
the main problem at the moment is that we have several specialized Betas with different scripts and setups
07:56
John_K
once things check out and I solidify my copy of the BOM
07:56
John_K
makes sense
07:56
Bertl
we basically need to unify those and/or break them up into separate branches
07:57
John_K
can always start with separate branches
07:57
John_K
and merge them as it makes sense
07:57
Bertl
how many units have you planned?
07:57
John_K
at least then they'll be in source control ;)
08:12
John_K
any ETA on the SD Card image?
08:15
Bertl
upload is slow here, will take a little
08:15
John_K
understood
08:29
jucar
joined the channel
09:45
niemand
joined the channel
10:36
jucar
left the channel
11:30
Bertl
off for a nap ... bbl
11:30
Bertl
changed nick to: Bertl_zZ
13:21
jucar
joined the channel
13:56
jucar
left the channel
14:26
davidak
joined the channel
15:40
Bertl_zZ
changed nick to: Bertl
15:40
Bertl
back now ...
18:22
jucar
joined the channel
18:35
slikdigit_
joined the channel
19:42
John_K
Bertl: the new zynq image that you posted, does it require anything be attached to the microZed?
19:42
John_K
it seems that without the power board I get a ton of notices about sdhc1
19:42
John_K
and even after I attach the power board, linux seems to hang about 10sec after boot
19:43
John_K
I'm accessing via serial console right now, not via ethernet
19:43
Bertl
I haven't tried without the power board yet, but yes, the hang is to be expected
19:43
John_K
oh?
19:43
Bertl
I forgot to disable the auto start for live video
19:43
John_K
ah, what do I need to modify for that?
19:43
Bertl
you want to disable/remove the cmv12k systemd link
19:43
John_K
ok
20:11
intracube
left the channel
20:19
Bertl
off to bed now ... have a good one everyone!
20:19
Bertl
changed nick to: Bertl_zZ
21:01
jucar
left the channel
21:25
nebg
joined the channel
21:30
intracube
joined the channel
21:43
slikdigit_
left the channel
21:44
slikdigit_
joined the channel
22:00
niemand
left the channel
22:14
intracube
left the channel
22:18
intracube
joined the channel
22:23
slikdigit_
left the channel