Current Server Time: 22:20 (Central Europe)

#apertus IRC Channel Logs

2016/01/23

Timezone: UTC


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