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.12.tar.gz (64.4 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.12-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.12.tar.gz
  • Upload date:
  • Size: 64.4 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.12.tar.gz
Algorithm Hash digest
SHA256 d080230f76e5ecbe0a007b42dbdfbfbfd32ed0eceefcb7f174295d75605f7e33
MD5 86fb5e2bf7f6755ac07aaad158b37e49
BLAKE2b-256 512b095d2ad6425ced35684cdee3d3e531dbe74817d59bc9cbd4f330885d3fa5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 65.3 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 dc9a820dc5f47e2e1d53673b46e1a67b88b5ce479c9c70d975a9ad998b746993
MD5 5ffe2adba5aa17575919f780b42d8959
BLAKE2b-256 2e785dddff5fe4ce4b14eed9843df30dcd23e3dc11b31c1489f258e7dab34d97

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