CPLD image tools
Project description
cpld_img_tools
This is a set of tools to convert .jed
fuse files for Lattice CPLDs into binary files that the DMMC-STAMP can use for in-application update of a CPLD.
jed_conv
This is a tool to convert a .jed
fuse file into a binary format e.g. for embedding in the MMC firmware image as used in the DMMC-STAMP SDK.
Usage
$ jed_conv --help
usage: jed_conv [-h] [-o OUTFILE] [-b BLKSIZE] infile
.jed file parser / converter
positional arguments:
infile Source file for reading
optional arguments:
-h, --help show this help message and exit
-o OUTFILE, --outfile OUTFILE
output file (derived from input file if not set)
-b BLKSIZE, --blksize BLKSIZE
max. block size per packet
cpld2hpm
This is a tool to convert a .jed
fuse file into a HPM upgrade file that can be used to update a CPLD on the AMC payload, e.g. on the DAMC-FMC1Z7IO.
See bin2hpm for HPM details.
Usage
cpld2hpm --help
usage: cpld2hpm [-h] [-o OUTFILE] [-v FILE_VERSION] [-c COMPONENT] [-m MANUFACTURER] [-p PRODUCT] infile
CPLD .jed to HPM converter
positional arguments:
infile Source file for reading
optional arguments:
-h, --help show this help message and exit
-o OUTFILE, --outfile OUTFILE
output file (derived from input file if not set)
-v FILE_VERSION, --file-version FILE_VERSION
file version information (format major.minor, e.g. 1.2)
-c COMPONENT, --component COMPONENT
HPM component ID (default 2)
-m MANUFACTURER, --manufacturer MANUFACTURER
IANA manufacturer ID (hex, 6 bytes max, default 53f)
-p PRODUCT, --product PRODUCT
IANA product ID (hex, 4 bytes max)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cpld_img_tools-0.1.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for cpld_img_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eea1f051c4a51ab42ee9c5edd95be4384b3b41f507c0fbf11e8785ea4a82c8a |
|
MD5 | 847ecf71e90d71b0a5f124a6bb1b9e4e |
|
BLAKE2b-256 | bbd687c30c928f194cef2ab6068aa37ac7c4862a322a293bb447a975d47df58d |