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.

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ganymed-0.1.16.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.16.tar.gz
Algorithm Hash digest
SHA256 2d64793a46b8416ccde582eaad955aef9826b82747a65f4edddf11afbc59bc2d
MD5 54f980611e1ba435788a0b2ebb921021
BLAKE2b-256 3ed26325d2b298036393ba49bbc7aae3e1ccf7d77aad1822f11f3cbafa3da435

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ganymed-0.1.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 2019550707c843b3c76f7685bddbe4e76c454ba6b7ed84114492236e9e69ec11
MD5 ec098e695bdf49299b9c54bbec1f5818
BLAKE2b-256 7830a76911b0471ca5add391b66f89709d0e56886e866ada237c75a859aa0272

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