Skip to main content

Sensry Ganymed Sy1xx Package

Project description

Sensry Ganymed Sy1xx Bootloader CLI

The Sensry Ganymed SY1xx Bootloader CLI is a command-line tool designed for interfacing with the bootloader of Sensry Ganymed SY1xx series devices. It enables users to flash firmware, update bootloader configurations, and manage device firmware over supported communication interfaces (such as UART, USB, or SPI). The tool is useful for developers working with Sensry Ganymed SY1xx microcontrollers, allowing efficient firmware deployment and maintenance.

Installation

pip install sry-gnm-sy1xx-bl

Usage

import os
from sry_gnm_sy1xx_bl import SryGnmSy1xxBL

# define the file to be uploaded
coreguard_bin = os.path.join("bin", "coreguard-bl.bin")
application_bin = os.path.join("bin", "zephyr_demo_app.bin")

# create the loader
flash = SryGnmSy1xxBL()

# connect to serial
flash.connect("/dev/ttyUSB0")

# convert binary to application ganymed image
application_gnm = flash.convert_zephyr_bin(application_bin)

# set the controller into bootloader mode
flash.enter_loading_mode()

# clear the internal flash
flash.clear_mram()

# write the new binaries
flash.write_mram(coreguard_bin, application_gnm)

print("done")

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

ganymed-0.1.8.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ganymed-0.1.8-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file ganymed-0.1.8.tar.gz.

File metadata

  • Download URL: ganymed-0.1.8.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ganymed-0.1.8.tar.gz
Algorithm Hash digest
SHA256 55160374d0143ee92c5e126ca8b8cb4daf24499d8402cd5ecc9eaa347d49bd45
MD5 df7fb57465a870cca03b1cc419d2370a
BLAKE2b-256 339ca2bf38c075c70500668c0f3780a87ca31abd0d6f0297af88e1577ad811ef

See more details on using hashes here.

File details

Details for the file ganymed-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ganymed-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ganymed-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6f83ad5a3e0862981c417565ae65c19cdcd8d37836c1b181ba0857fb8c9a98
MD5 97f25c365305fb9780f38834cfbde679
BLAKE2b-256 246df74a41ca900c3372ba0932433f1ca8c66a6577906a6a75365bbd5a7e60d6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page