{"id":16013857,"url":"https://github.com/drom/jtag","last_synced_at":"2026-02-03T03:04:40.244Z","repository":{"id":145177279,"uuid":"428940935","full_name":"drom/jtag","owner":"drom","description":"JTAG / FTDI related JavaScript library and tools.","archived":false,"fork":false,"pushed_at":"2024-12-08T23:17:19.000Z","size":33,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-03-31T02:23:04.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-17T07:00:10.000Z","updated_at":"2024-12-08T23:17:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3244e58-3093-464b-884b-7b5600ab8bbd","html_url":"https://github.com/drom/jtag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drom%2Fjtag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drom%2Fjtag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drom%2Fjtag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drom%2Fjtag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drom","download_url":"https://codeload.github.com/drom/jtag/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252761191,"owners_count":21800124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T15:00:51.601Z","updated_at":"2026-02-03T03:04:40.209Z","avatar_url":"https://github.com/drom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version](https://img.shields.io/npm/v/jtag.ftdi.svg)](https://www.npmjs.org/package/jtag.ftdi)[![Linux](https://github.com/drom/jtag/actions/workflows/linux.yml/badge.svg?branch=trunk)](https://github.com/drom/jtag/actions/workflows/linux.yml)\n\nJTAG / FTDI related JavaScript library and tools.\n\nImported from: https://gitlab.com/drom/jtag\n\n## Installation\n\nPackage can be installed from NPM\n\n```sh\nnpm install jtag.ftdi --build-from-source=usb\n```\n\nThe package depends on [node-usb](https://github.com/tessel/node-usb) that depends on `libusb` library that have to be installed:\n\n#### Ubuntu\n```\nsudo apt-get install build-essential libudev-dev\n```\n\n#### OpenSuse\n```\nsudo zypper install libudev-devel libusb-1_0-devel\n```\n\n### SVF\n\n[Serial Vector Format (SVF)](https://en.wikipedia.org/wiki/Serial_Vector_Format) is a text file format that contains sequence of JTAG operations.\n\n### FTDI\n\nFTDI\n[FT232H](http://www.ftdichip.com/Products/ICs/FT232H.htm),\n[FT2232H](http://www.ftdichip.com/Products/ICs/FT2232H.html),\n[FT4232H](http://www.ftdichip.com/Products/ICs/FT4232H.htm)\nis a series of USB 2.0 ICs that can be used for high speed serial communication protocols.\n\n## Tools\n\n### svf2ftdi\n\n```sh\n./node_modules/.bin/svf2ftdi\n\nOptions:\n  --file, -f           input SVF file name                              [string]\n  --url, -u            input SVF URL                                    [string]\n  --serial-number, -n  FTDI serial number                               [string]\n  --serial-div, -d     FTDI serial number divisor                       [string]\n  --version            Show version number                             [boolean]\n  --help               Show help                                       [boolean]\n```\n\n## Library\n\n### svf-stream\n\nNode.js Writable stream that parses input SVF text while calling JTAG driver.\n\n```js\nconst svf = require('jtag.ftdi/lib/svf-stream');\nconst jtag = \u003cJTAG driver\u003e;\nconst s1 = svf(jtag);\nsource.pipe(s1);\n```\n\n### ftdi-libusb\n\nNode.js component that implements JTAG protocol on `FTDI` IC over `libusb`.\n\n```js\nconst ftdi = require('jtag.ftdi/lib/ftdi-libusb');\nconst jtag = ftdi(options);\n...\n```\n\n### ftdi-webusb\n\nWebUSB version of JTAG over FTDI driver.\n\n```js\nconst ftdi = require('jtag.ftdi/lib/ftdi-webusb');\nconst jtag = ftdi(options);\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrom%2Fjtag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrom%2Fjtag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrom%2Fjtag/lists"}