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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 c58e9da876da4a7fc23c559ee62aec7769b74d9127c91e06eb32ce2fbfc89240
MD5 e84dbce7c3e2a6eb305b0cfc2d04ae5d
BLAKE2b-256 d5ddc49290038829744a5444d275797e9410d5a19f63c1333a75d994881cb1af

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 bd25e74c42f3973f34623bf781f2ab98e070e132b896c90ec73ffc251279f898
MD5 3e0981722ae3b08453e6a51ecf8e5c86
BLAKE2b-256 c58c7feabddadd0e85af75454fbb5b6c7e2f2e3b4a4955d1c186fda1a04814eb

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