Skip to main content

Sensry Ganymed Sy1xx Package

Project description

Sensry Ganymed Sy1xx Package

available modules:

  • ganymed.bootloader

Installation

If installed for the first time:

pip install ganymed

If an older version is installed and a newer version is available:

pip install --upgrade 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.

Flash image permanently

We flash the application image together with the coreguard runtime image.

import os
from ganymed.bootloader import Bootloader

# convert binary to application ganymed-image
application_gnm = Bootloader.convert_zephyr_bin("zephyr_demo_app.bin")

# create the loader
flash = Bootloader()

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

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

# clear the internal flash
flash.clear_mram()

# write the new binaries
flash.write_image(application_gnm)

print("done")

Flash Debug Mode

In debug mode, we flash the debug version of the coreugard only. The application image will be loaded via JTAG to the internal RAM for debugging, setting breakpoints and inspect core status.

import os
from ganymed.bootloader import Bootloader

# create the loader
flash = Bootloader()

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

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

# clear the internal flash
flash.clear_mram()

# write the new binaries
flash.write_debug_mode()

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.17.tar.gz (64.7 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.17-py3-none-any.whl (65.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.17.tar.gz
  • Upload date:
  • Size: 64.7 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.17.tar.gz
Algorithm Hash digest
SHA256 39cc3445354433dfbc49df6f45dda78f83c04d6411fc78c70c438cabd01f1fd1
MD5 145e74d7ec87dac76c05161ce2b56633
BLAKE2b-256 9f5d43764a18df662d5b05f802480ed64bda67d931c0fc0413f96e26cbf9e8f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 65.4 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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1c2d3a2173a6ab3a429362bcb0fbe07998b143e36991c6729af602bc43794f3b
MD5 19f2a49537982d4485752308c3be1c78
BLAKE2b-256 9aaf55f5560d602eb1cd55f3e0449bc8127942d82de604595b6098488283089a

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