GreenPak Driver
A Python package to access and program Renesas GreenPak SPLD's.
This Python package provides a simple to use API to read/write/program Renseas GreenPak PLDs over a USB to I2C link.
As of May 2025, the package supports the following USB to I2C interfaces and new ones can be easily added based on the examples in i2c.py:
- I2C Driver (two variants, mini and full.)
- I2C Adapter (four variants, including a bare Raspberry Pico.)
- Bus Pirate (v2, v3 and v4)
Sample usage using an I2C Adapter:
from greenpak import driver, i2c, utils
print("Connecting.")
i2c_driver = i2c.GreenPakI2cAdapter(port="COM17")
gp_driver = driver.GreenpakDriver(i2c_driver, device="SLG46826", control_code=0b0001)
print("Loading configuration.")
data = utils.read_bits_file("test_data/slg46826_blinky_fast.txt")
utils.hex_dump(data)
print("Programming the NVM.")
gp_driver.program_nvm_pages(0, data)
print("Resetting the device.")
gp_driver.reset_device()
For full documentation see https://greenpak.readthedocs.io/en/latest
Metadata
Release files for greenpak 0.0.30
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| greenpak-0.0.30.tar.gz | 16.9 kB | Without provenance | Details for greenpak-0.0.30.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| greenpak-0.0.30-py3-none-any.whl | Python 3 | none | any | Details for greenpak-0.0.30-py3-none-any.whl |
Total release size: 40.7 kB
Release files / greenpak-0.0.30.tar.gz
| Download URL | greenpak-0.0.30.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5805837fe8a314676f4ec2754d62ddb56dc598a1e184580a205926a96d485ceb
|
|
BLAKE2b-256 checksum How to use checksums |
7959a3ef3c4af34c7a57c7bf0224bc933e9ba94785dbd587371b49973bab21a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / greenpak-0.0.30-py3-none-any.whl
| Download URL | greenpak-0.0.30-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a95144ef7f86b26a9d998d1e86517ac4685c87adc1f08a2a6d90a63dac3782f
|
|
BLAKE2b-256 checksum How to use checksums |
b267648d0464ef10720e0618ed1b348315c9298ab7f14443958fcb4de4ecc263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for greenpak 0.0.30
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.