#garfield Logs

Feb 10 2020

#garfield Calendar

01:10 AM rue_mohr: ok, gnight
03:42 AM rue_mohr: `default_nettype none
08:04 AM polprog: morning rue
08:05 AM polprog: ive got the ft232hq working, now trying to find where did i save the JTAG connection list
08:05 AM polprog: what goes to what
08:09 AM polprog: 02:54 < rue_shop2> polprog, AD0 TCK, AD1 TDI, AD2 TDO, AD3 TMS
08:09 AM polprog: got it
08:21 AM rue_bed: cool! with xc3sprog or gdb?
08:27 AM polprog: loaded file key_jitter.bit to pld device 0 in 3s 730816us
08:27 AM polprog: what do you mean
08:27 AM rue_mohr: which program did you use
08:43 AM polprog: that xc3prog looks useful
08:58 AM rue_mohr: it can only do like 1 chip
09:00 AM rue_mohr: where did xilinx-xc6s.cfg come from?
09:00 AM rue_mohr: and xc6s.tap
09:09 AM polprog: hmm, sec
09:09 AM polprog: https://github.com/arduino/OpenOCD/blob/master/tcl/cpld/xilinx-xc6s.cfg
09:10 AM polprog: i dont have xc6s.tap
09:14 AM polprog: ok, so im able to upload a different bitstream, and it works (the leds change behavior)
09:14 AM polprog: now what...
09:15 AM * polprog cant see the forest because the trees are in the way
10:05 AM polprog: https://polprog.net/rozne1/ircjunk/fpga/first.png
10:05 AM polprog: i think i got it
10:05 AM polprog: managed to write some verilog that compiles
10:06 AM polprog: then, managed to assign the pins to the ports
10:06 AM polprog: and the registers
10:06 AM polprog: now.. i need to find out how to generate a bitstream
10:15 AM polprog: hmm
10:15 AM polprog: got a bitstream, but now it doesnt seem to work..
10:27 AM polprog: maybe its the voltage levels, oboard pushbutton runs between 1.7 and 0V
10:27 AM polprog: i had lvttl25 selected
10:36 AM polprog: still no dice
10:53 AM polprog: wow
10:53 AM polprog: it changed the led
10:56 AM polprog: woohoo
10:56 AM polprog: it works!!!11one
10:56 AM * polprog hugs rue_mohr
11:17 AM polprog: https://polprog.net/rozne1/ircjunk/fpga/works/
01:01 PM Tom_L: :)
01:14 PM polprog: you too. thanks tom :)
01:22 PM Tom_L: so you got the ft232?
01:22 PM Tom_L: or you used one you had...
01:26 PM polprog: yeah, got the ft232
01:27 PM polprog: see the ircjunk dir
01:27 PM Tom_L: yes
01:27 PM Tom_L: cool
01:28 PM polprog: ill try to make a bcd decoder now
01:28 PM Tom_L: you got a 7seg led to hook up?
01:28 PM polprog: yeah, lots of them to choose from
01:29 PM Tom_L: just remember, everything on the fpga is 3.3v
01:29 PM polprog: yes, i know
01:33 PM polprog: https://www.xilinx.com/support/documentation/data_sheets/ds162.pdf
01:34 PM polprog: is this the right datasheet for finding out max pin/bank io current?
01:34 PM Tom_L: looks like it
01:37 PM polprog: is it better to sink or source current?
01:38 PM Tom_L: sink
01:38 PM Tom_L: i think it will sink more current than source
01:39 PM Tom_L: oh and like rue found out the hard way... it's negative logic for the most part
01:39 PM polprog: so active low?
01:39 PM polprog: even the onboard leds are active low
01:39 PM Tom_L: uh huh
01:39 PM Tom_L: funny though, my board was wired opposite
01:40 PM polprog: the old one?
01:40 PM Tom_L: no
01:48 PM polprog: what board have you got?
01:50 PM Tom_L: https://www.ebay.com/itm/XC6SLX9-Starter-Board-Xilinx-Spartan-6-FPGA/112230313780?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649
01:51 PM polprog: ah, this one
03:18 PM polprog: hmm, planahead gets a werid java exception probably due to localization
03:18 PM polprog: when i try to display the schematic
03:18 PM polprog: it works good apart from that, so i can assign io okay
03:21 PM polprog: ahahah
03:21 PM polprog: i got caught on the negative logic :P
03:58 PM polprog: cool, ive got a 7 segment decoder running
04:03 PM polprog: rue_mohr: Tom_L: https://polprog.net/rozne1/ircjunk/fpga/7seg_decoder.jpg
04:37 PM Tom_L: :)
04:39 PM Tom_L: you don't have to use the planahead, you can use the txt editor if you want
04:40 PM polprog: i find it pretty okay to use
04:40 PM polprog: the schem display is just an extra feature
04:40 PM Tom_L: either way works
04:40 PM Tom_L: right
04:41 PM Tom_L: this is why i wanted the board i got. it's got the display etc on it
05:36 PM polprog: ordered a watchguard xtm2 for $8, for playing with and teardown
05:36 PM polprog: should come around tomorrow midday.. i wonder whats inside and can it run a UNIX
06:10 PM zhanx_laptop is now known as zhanx
08:07 PM rue_mohr: polprog, :)\
08:10 PM rue_mohr: polprog, direct drive! that daring!
08:28 PM rue_mohr: polprog, the one I'm working on now is a gradual progression all in one file
08:28 PM rue_mohr: want a copy a dat?
11:01 PM rue_shop1: rue, put the rotator on the scope capture program
11:10 PM X704 is now known as tiwake