Current Server Time: 02:59 (Central Europe)

#apertus IRC Channel Logs

2013/07/17

Timezone: UTC


23:25
aombk
joined the channel
23:25
aombk
left the channel
23:25
aombk
joined the channel
01:58
jucar2
joined the channel
02:00
jucar1
left the channel
07:23
dmj_nova
left the channel
07:23
dmj_nova
joined the channel
07:32
dmj_nova
left the channel
07:32
dmj_nova
joined the channel
09:54
dmj_nova
left the channel
09:54
dmj_nova
joined the channel
13:08
Bertl
morning everyone!
13:36
Bertl
okay, I updated the adapter designs to 0.8.3, the optional power supply is almost complete, the other stuff should be complete by now ...
13:36
Bertl
there is a zip/tar containing PDFs for those who do not want to install eagle but still would like to take a look
15:08
FergusL
oh, great
15:08
FergusL
cool addition
15:08
FergusL
I'm tempted to show it to some people, so a pdf is great
15:10
Bertl
well, the PDFs contain the schematic and the layers .. not a rendering or similar of the actual adapter
15:14
FergusL
that's how I understood it, yes
15:14
FergusL
hint: link to github repo in topic ?
15:16
Bertl
sorry, I'm not a channel administrator ...
15:17
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/qad-center-v0.8.3.tar.xz
15:17
Bertl
here is the tar (zip in the same location, just with .zip), .sch and .brd ditto
17:32
jucar2
left the channel
17:39
jucar1
joined the channel
17:43
dmj_nova
Bertl: possibly stupid question but how do I load PL into the zedboard
17:58
dmj_nova
I'm trying to avoid the graphical tools
19:24
dmj_nova
Bertl: ping me when you're around :)
19:53
Bertl
I'm here now ... dmj_nova: ping!
19:53
dmj_nova
:)
19:53
Bertl
there are basically 3 options:
19:53
Bertl
a) you can download it via xmd (the .bit file)
19:54
Bertl
b) you can put it on the tftp server and fetch it from there (.bin)
19:55
Bertl
c) you can update the PL contents from Linux via /dev/xdevcfg
19:56
Bertl
uploading via xmd is done by fpga -f <path>
19:57
Bertl
(you need to be attached to the DAP (cpu stopped or running doesn't matter)
19:57
dmj_nova
DAP?
19:58
Bertl
Debug Access Port
19:58
Bertl
the interface you are talking to via jtag
19:59
Bertl
for the tftp to work, you have to use the bootload (u-boot), either manually or in your currently configured automated boot
20:00
Bertl
and last but not least, for updating it via xdevcfg, you have to have Linux running on the board (with xdevcfg enabled) and transfer the file somehow to the board (scp, rsync, ...)
20:03
Bertl
each of the three methods has it advantages and disadvantages
20:04
dmj_nova
okay, and what tools do I use to compile the HDL to be loaded on the board?
20:04
Bertl
*its
20:04
Bertl
you know my numerous examples? :)
20:04
Bertl
they all have the commands listed in the comment section at the top of each (main) file
20:05
Bertl
http://vserver.13thfloor.at/Stuff/AXIOM/blink.vhd
20:05
Bertl
for example, has two xflow commands and a promgen
20:05
dmj_nova
haha, my eyes just glazed over that
20:06
Bertl
(note that the more recent examples use the -wd (working dir) to avoid cluttering the current dir)
20:06
dmj_nova
okay, now to try uploading one of those
20:07
Bertl
so adding '-wd build' to each xflow run helps for those older examples
20:07
Bertl
(and you need to cd into build for the promgen part)
20:26
dmj_nova
hmm
20:27
dmj_nova
for some reason my system isn't finding xflow or xmd right now
20:28
Bertl
did you source the settings64.sh (or settings32.sh script)?
20:29
Bertl
(it comes with the xilinx install)
20:31
dmj_nova
haha, no I didn't
20:34
dmj_nova
Bertl: any clue why the second xflow in blink.vhd would throw a licensing error?
20:36
Bertl
maybe because you didn't install your license file?
20:37
Bertl
should be in ~/.Xilinx/Xilinx.lic
20:38
dmj_nova
hmm
20:38
dmj_nova
would have thought the ISE install would do that
20:38
dmj_nova
where does one find this file otherwise?
20:38
Bertl
IIRC, on the first GUI start, you get the annoying license manager
20:39
dmj_nova
yeah, I got that way back
20:39
Bertl
which prompts you to do the necessary steps to acquire a license
20:39
Bertl
if you already registered at xilinx, you can let them send it to you via email
20:50
dmj_nova
oh...I see the problem
20:51
dmj_nova
the license manager tried to load firefox (for some reason) and somehow fucking up libstdc++
20:54
dmj_nova
ah, it's the wrong libstdc++ version that it's trying to make firefox use
20:57
Bertl
yeah, the xilinx tools brin an ancient version with them
20:57
Bertl
*bring
20:58
dmj_nova
I just renamed them then symlinked in the system version
20:58
Bertl
not sure that will work for the tools though
20:59
Bertl
i.e. be prepared for strange results :)
20:59
dmj_nova
works enough to make it open firefox
20:59
dmj_nova
I suspect they assume that all linux users use ancient versions of Red Hat
20:59
Bertl
yes, or open suse
21:00
dmj_nova
which is really, really not the case
21:00
Bertl
here neither, but it wasn't a problem so far
21:00
Bertl
tools are happy with their own libraries and I do not mind having them around
21:01
dmj_nova
well, was only a problem here because they require the use of the system's browser and didn't account for the fact that the browser might need newer libraries
21:04
dmj_nova
side note: RHEL is annoying and crufty
21:05
dmj_nova
way less nice to use than modern Ubuntu (at least based on experience with lab machines)
21:06
Bertl
well, I don't like ubuntu either
21:07
Bertl
but that is a matter of personal taste and doesn't really matter, as long as it is Linux, it's fine
21:09
dmj_nova
Well, being modern is important
21:09
dmj_nova
Fedora user?
21:09
Bertl
nope, mageia
21:11
dmj_nova
haven't ever used mageia (or mandriva)
21:12
dmj_nova
not sure what it's strengths are
21:13
dmj_nova
seems like it follows about a yearly cadence
21:13
Bertl
back then, I didn't like to wait for ages for yum or apt to search (and not find) something I needed installed
21:13
Bertl
so for me, the main advantage was the packe manager (urpm)
21:18
dmj_nova
fair enough
21:18
dmj_nova
package managers seem to be a big deciding point for developers
21:20
dmj_nova
for me it's the focus on user-facing details, release cycle reliability, wide package support, and launchpad/ppa system
21:46
dmj_nova
Bertl: aha, blinking light
21:52
Bertl
\o/
21:55
dmj_nova
now to figure out how to use the Pmods safely
21:55
dmj_nova
Bertl: have you looked at that at all?
21:55
dmj_nova
I'm a little afraid to ruin the board that way
22:00
Bertl
well, I'm using the PMODs for all kind of stuff
22:00
Bertl
i.e. I have a temperature sensor attached to one (for the i2c testing I did)
22:01
Bertl
and a logic analyzer attached to the other, for probes
22:01
Bertl
and the test setup for the pmod debug on the third one
22:02
Bertl
basically you should not use voltages over 3.3V (or less if you configure the ports for less)
22:02
Bertl
anything with internal pullups and open collector as input will be fine, for outputs, do not pull up to higher voltages
22:06
Bertl
if you're really worried or unsure what your other end does, add a level shifter like the GTL2003
22:13
dmj_nova
okay, so nothing above 3.3v and it'll be fine...sounds reasonable
22:29
dmj_nova
left the channel
22:29
dmj_nova
joined the channel
22:34
Bertl
in general, adding a series current limiting resistor should protect the I/O buffers
22:34
Bertl
e.g. use a 100 or 220 Ohm resistor in series if you are using the PMOD as input
22:43
dmj_nova
ah, okay