Skip to main content

Sensry Ganymed Sy1xx Package

Project description

Sensry Ganymed Sy1xx Package

available modules:

  • ganymed.bootloader

Installation

pip install ganymed

Sensry Ganymed Sy1xx Bootloader -- ganymed.bootloader

The Sensry Ganymed SY1xx Bootloader is a 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.

import os
from ganymed.bootloader import Bootloader

# 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 = Bootloader()

# 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.10.tar.gz (11.1 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.10-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.10.tar.gz
  • Upload date:
  • Size: 11.1 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.10.tar.gz
Algorithm Hash digest
SHA256 45bc62393a83ba84b4ec39263662649518ee50a6973d88be755a1acdca0c3493
MD5 7fb23667f48c9602fafedd0db81e782d
BLAKE2b-256 8a8462112f33e07fac5bb99d5de5c0367fafcfdd5076abd44b6e315f28c7aec0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 12.8 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e6e2d6d545aa5c0368fd845a0c13f8b35564d41aeb17bf0d8c203ad84b0513dc
MD5 0518a128d5840db1b372107c44159a0c
BLAKE2b-256 86aca373062661b68da54871f12e6380acd951e54361719af3319659f053a9c4

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