#garfield Logs
Dec 09 2019
#garfield Calendar
09:06 PM rue_mohr: Tom_L, the FT232 board is here!
09:11 PM rue_mohr: I'v got no idea what to do with it!
09:20 PM Tom_L: remind me what that one was again?
09:20 PM Tom_L: the jtag?
09:21 PM rue_mohr: its an FTDI adapter, that can be turedn into or used for jtag
09:21 PM Tom_L: oh
09:22 PM rue_mohr: maybe this was for altara and not xilinx
09:23 PM Tom_L: you've got an xilinx solution
09:23 PM rue_mohr: I got this adapter for soemthing
09:23 PM Tom_L: any docs for the board?
09:23 PM Tom_L: link?
09:24 PM Tom_L: i doubt webpack would recognize it
09:24 PM rue_mohr: https://www.aliexpress.com/item/33052982174.html
09:24 PM Tom_L: but it's possible
09:26 PM Tom_L: wire it up and see if xilinx can see it
09:26 PM Tom_L: is there a jtag pinout on the board?
09:27 PM Tom_L: hook it to that chip you have and see if xilinx can see it
09:27 PM Tom_L: you might have to go into the impact port settings
09:28 PM rue_mohr: well this is the thing that I was waitng for, but there were instructions
09:28 PM rue_mohr: did I get an alteara fpga?
09:28 PM rue_mohr: (its not arrived yet)
09:30 PM rue_mohr: no its xilinx
09:31 PM Tom_L: how do you configure it for the different protocols?
09:31 PM Tom_L: jumper or firmware?
09:31 PM rue_mohr: no idea
09:31 PM rue_mohr: it was suggested hardware and I dont know
09:32 PM rue_mohr: the answer might be in the 82 browser tabs, I'm searching
09:32 PM Tom_L: hah
09:33 PM Tom_L: i think the ft232 is a very configurable chip iirc
09:35 PM Tom_L: https://www.ftdichip.com/Support/Documents/AppNotes/AN_129_FTDI_Hi_Speed_USB_To_JTAG_Example.pdf
09:35 PM Tom_L: try one more tab!
09:36 PM rue_mohr: Bus 002 Device 054: ID 0403:6014 Future Technology Devices International, Ltd FT232H Single HS USB-UART/FIFO IC
09:36 PM rue_mohr: https://tomverbeure.github.io/2019/09/15/Loading-a-Spartan-6-bitstream-with-openocd.html
09:36 PM Tom_L: P5-6
09:36 PM rue_mohr: I know of openocd
09:36 PM rue_mohr: I need the software support too
09:37 PM Tom_L: ok
09:44 PM rue_mohr: been falling asleep since noon
09:44 PM rue_mohr: dont think I'm gonna get far tonight
09:44 PM rue_mohr: and I wanted to attach a keyboard to my avr project
09:45 PM Tom_L: get the board ready
09:45 PM Tom_L: i'm about done for tonight anyway
09:59 PM root: HAHA
09:59 PM root is now known as Guest97027
09:59 PM Guest97027 is now known as RootyRoot
10:00 PM RootyRoot is now known as PissBatt
10:00 PM PissBatt: rue_bed2, you round?
10:01 PM PissBatt: rue_shop1, CharlieBrown ??
10:02 PM * Tom_L Pissoff
10:02 PM Tom_L: !
10:03 PM PissBatt: hu
10:03 PM PissBatt: ?
10:04 PM PissBatt: :(
10:18 PM rue_mohr: your drunk again?
10:21 PM Tom_L: seems a theme with him
10:22 PM rue_mohr: yar
10:23 PM rue_mohr: I cant find it
10:23 PM Tom_L: what?
10:23 PM rue_mohr: I went thru all the tabs, fell asleep, looked agani, started supper, and looked again
10:23 PM rue_mohr: cant find the instructions for that thing
10:23 PM rue_mohr: arg
10:24 PM rue_mohr: I'll try to loko theur the twitter stuff and find it
10:24 PM rue_mohr: not now tho I cant keep my eyes open
10:24 PM Tom_L: not the spartain6 link was it?
10:25 PM rue_mohr: someone on twitter I think said to get that and something and do soemthing
10:25 PM rue_mohr: and I was excited cause it got around needing an expensive programmer
10:25 PM rue_mohr: for soemthing
10:27 PM rue_mohr: https://twitter.com/nicolas_noble/status/1197916728941920261
10:27 PM rue_mohr: aha
10:27 PM rue_mohr: xc3prog
10:28 PM Tom_L: https://www.xjtag.com/about-jtag/jtag-a-technical-overview/
10:29 PM Tom_L: probably not
10:29 PM rue_mohr: I installed xc2sprog
10:30 PM rue_mohr: Connecting the FPGA board to it uses the following mapping:
10:30 PM rue_mohr: AD0 to TCK
10:30 PM rue_mohr: AD1 to TDI
10:30 PM rue_mohr: AD2 to TDO
10:30 PM rue_mohr: AD3 to TMS.
10:30 PM Tom_L: https://www.allaboutcircuits.com/technical-articles/getting-started-with-openocd-using-ft2232h-adapter-for-swd-debugging/
10:31 PM rue_mohr: "
10:31 PM rue_mohr: Now because the software is old, it won't have the ability to use programming cables anymore. Which is fine, there's alternative software for that, such as xc3sprog:
10:31 PM rue_mohr: http://xc3sprog.sourceforge.net/manpage.php
10:31 PM rue_mohr: You will then use Xilinx ISE to create the binary code, and then xc3sprog to upload it.
10:31 PM rue_mohr: "
10:31 PM Tom_L: from the link i posted?
10:32 PM rue_mohr: no
10:32 PM rue_mohr: from "Nicolas Noble"
10:32 PM Tom_L: that one might be hopeful
10:32 PM rue_mohr: its good that openocd is comming up, cause I'm using that for the arm stuff
10:33 PM Tom_L: better mark that one
10:36 PM rue_mohr: xc3sprog -c ft232h ...
10:36 PM rue_mohr: k
10:36 PM Tom_L: https://github.com/nickdavidhaynes/FT232H_communication
10:37 PM rue_mohr: I should do something or I'm useless
10:37 PM rue_mohr: sleep would be the preffered option
10:37 PM rue_mohr: but supper is cooking still
10:37 PM Tom_L: i already know what i'm gonna do
10:37 PM rue_mohr: you have all the good toys
10:37 PM rue_mohr: I'm just trying to connect
10:37 PM Tom_L: mine was cheap
10:37 PM rue_mohr: prefebly not with parallel port
10:37 PM Tom_L: not $7 but cheap
10:38 PM rue_mohr: AD0 to TCK
10:38 PM rue_mohr: AD1 to TDI
10:38 PM rue_mohr: AD2 to TDO
10:38 PM rue_mohr: AD3 to TMS.
10:39 PM Tom_L: prices have gone up
10:40 PM rue_mohr: I"ll add +5 and gnd to that list
10:40 PM Tom_L: https://www.aliexpress.com/item/32805986808.html?spm=a2g0o.productlist.0.0.5351785bjP0seN&algo_pvid=aaa586f2-029d-4c74-aedc-483c0d947e88&algo_expid=aaa586f2-029d-4c74-aedc-483c0d947e88-0&btsid=4bf3a807-ef76-4c6d-936b-e863271afc2a&ws_ab_test=searchweb0_0,searchweb201602_4,searchweb201603_53
10:40 PM rue_mohr: and solder a header on the cpld board
10:40 PM rue_mohr: I can do that, I'm sure of it
10:40 PM Tom_L: that's what i got
10:40 PM Tom_L: don't think i paid that for it though
10:40 PM Tom_L: i've had it quite a while
10:41 PM Tom_L: never used it
10:41 PM Tom_L: until you piped up
10:41 PM Tom_L: came with several jumpers etc
10:42 PM Tom_L: you want an avr jtag i got one of those too but it won't do new chips
10:43 PM Tom_L: not sure where i put it now
10:48 PM Tom_L: gnite
10:48 PM zhanx: Evening
10:52 PM rue_shop1: zhanx,
10:52 PM rue_shop1: <rue_mohr> AD0 to TCK
10:52 PM rue_shop1: <rue_mohr> AD1 to TDI
10:52 PM rue_shop1: <rue_mohr> AD2 to TDO
10:52 PM rue_shop1: <rue_mohr> AD3 to TMS.
11:27 PM rue_mohr: JTAG loc.: 0 IDCODE: 0x29502093 Desc: XC9536 Rev: C IR length: 8
11:28 PM rue_mohr: YYYYEESSSS!!!!
11:50 PM rue_mohr: should I try a device erase?
11:50 PM rue_mohr: I dont think its meant for this device
11:54 PM rue_mohr: "Sorry, can't program Xilinx device 'XC9536' from family 0x4a A more recent release may be able to."
11:54 PM rue_mohr: ok
11:54 PM rue_mohr: it recognized it tho
11:59 PM rue_mohr: Tom_L, apparently a JED file for a cpld