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
application_bin = "zephyr_demo_app.bin"

# create the loader
flash = Bootloader()

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

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

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

# clear the internal flash
flash.clear_mram()

# enable the flash mode
flash.set_flash_mode()

# alternatively enable debug mode to enable ram debugging
# flash.set_debug_mode()

# write the new binaries
flash.write_ganymed_image_to_mram(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.14.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.14-py3-none-any.whl (65.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.14.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.14.tar.gz
Algorithm Hash digest
SHA256 0cd58103c92d8669c4fe004cde8fce07ddb9bbd08bf6114de74eae1e2cb47d6e
MD5 4a41fb7bbf3324744a5cd765dd457c60
BLAKE2b-256 68cb3b6e1553c6d64325f9df6a6c57525f48be8568e8d3acec301cdf76fc39cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.14-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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7a0a1a9266cec1863f84c0172021e51100c9b4baf51b553fdda67030b4d3e208
MD5 c6cef8afb0b19fb63ce58f891d92296e
BLAKE2b-256 58a5d9cc7693029d6d12f7b0065955fda66b698106b95095cfc9a16a6de37da7

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