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.9.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.9-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 a524d6c36833cdd1d95052191be551284269fcbce7a0eb19e9e70c9fbb8ccc67
MD5 6ee994968567ac64dced6242b4d5a66f
BLAKE2b-256 94c473b2f4369de0089d510679ec89e0625443b68351503349dadd05677d92b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 794623c087a3dfc9ac91c6e70ac9c643604c496665322f0cb2441d7310b537c3
MD5 deeb596652ba9e7c82868becff844737
BLAKE2b-256 e115174abe40bf52d8cc32d504a7115af56f400b1b9e794d0e60a9dd917f8e25

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