{"action":"created","issue":{"url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/2","labels_url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/2/comments","events_url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/2/events","html_url":"https://github.com/cambridgehackers/fpgajtag/issues/2","id":85227655,"number":2,"title":"Documentation for command line options?","user":{"login":"philtomson","id":40693,"avatar_url":"https://avatars.githubusercontent.com/u/40693?v=3","gravatar_id":"","url":"https://api.github.com/users/philtomson","html_url":"https://github.com/philtomson","followers_url":"https://api.github.com/users/philtomson/followers","following_url":"https://api.github.com/users/philtomson/following{/other_user}","gists_url":"https://api.github.com/users/philtomson/gists{/gist_id}","starred_url":"https://api.github.com/users/philtomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philtomson/subscriptions","organizations_url":"https://api.github.com/users/philtomson/orgs","repos_url":"https://api.github.com/users/philtomson/repos","events_url":"https://api.github.com/users/philtomson/events{/privacy}","received_events_url":"https://api.github.com/users/philtomson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-04T18:52:18Z","updated_at":"2015-06-04T20:01:25Z","closed_at":null,"body":"Could you add some documentation of the command line options?"},"comment":{"url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/comments/109032595","html_url":"https://github.com/cambridgehackers/fpgajtag/issues/2#issuecomment-109032595","issue_url":"https://api.github.com/repos/cambridgehackers/fpgajtag/issues/2","id":109032595,"user":{"login":"philtomson","id":40693,"avatar_url":"https://avatars.githubusercontent.com/u/40693?v=3","gravatar_id":"","url":"https://api.github.com/users/philtomson","html_url":"https://github.com/philtomson","followers_url":"https://api.github.com/users/philtomson/followers","following_url":"https://api.github.com/users/philtomson/following{/other_user}","gists_url":"https://api.github.com/users/philtomson/gists{/gist_id}","starred_url":"https://api.github.com/users/philtomson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philtomson/subscriptions","organizations_url":"https://api.github.com/users/philtomson/orgs","repos_url":"https://api.github.com/users/philtomson/repos","events_url":"https://api.github.com/users/philtomson/events{/privacy}","received_events_url":"https://api.github.com/users/philtomson/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T20:01:25Z","updated_at":"2015-06-04T20:01:25Z","body":"Ok, so it's:\r\n$ ./src/fpgajtag \r\n./src/fpgajtag: [ -x ] [ -l ] [ -t ] [ -s <serialno> ] [ -i <index> ] [ -r ] <filename>\r\nOptional arguments:\r\n  -x             Write input file to /dev/xdevcfg on Zynq devices\r\n  -l             Display a list of all jtag interfaces discovered on USB\r\n  -s <serialno>  Use the jtag interface with the given serial number\r\n  -i <index>     Program the 'index' device in the jtag chain that matches the IDCODE in the input file\r\n  -t             Trace usb programming traffic\r\n\r\nSo <filename> above is a Xilinx .bit file? (and it's directed to a target FPGA with either the -s <serialno> or the -i <index> )\r\n\r\nWhat is the '-c' option used for? I notice you show an example using it in the README.md file. It seems to be for reading in the .jtag files. If I do: \"fpgajtag -c foo.jtag\" does that send foo.jtag to program the FPGA?\r\n\r\n"}}