Skip to main content

SCuM programmer script.

Project description

SCuM Programmer

Use an nRF52840-DK and a Python script to program SCuM!

Prerequisites

Setup the nRF52840-DK

Interact with SCuM's serial port

  • Connect SCuM's UART to an USB-to-UART converter
  • Open the serial port corresponding to your USB-to-UART converter using a serial terminal, using 19200 baud. For example using Socat on Linux:
    socat - open:/dev/ttyUSB0,b19200,echo=0,raw,cs8,parenb=0,cstopb=0
    

Use

Load code onto SCuM

The main.py script only takes firmware files in .bin format. Use it as following:

main.py path/to/scum-firmware.bin

On Windows, the nRF J-Link TTY port cannot be detected automatically and needs to be set manually using the --port option. For example:

main.py --port COM42 path/to/scum-firmware.bin

Calibrate SCuM

If the application requires calibration, use the --calibrate option to trigger the calibration after booting SCuM:

main.py --calibrate path/to/scum-firmware.bin

Build the nRF firmware

  • Install SEGGER Embedded Studio for ARM
  • Open scum_programmer/scum-programmer.emProject
  • Select the scum-programmer project and build it (F7)
  • Download it on the nRF using the Target > Download scum-programmer menu

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

scum_programmer-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scum_programmer-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file scum_programmer-0.1.0.tar.gz.

File metadata

  • Download URL: scum_programmer-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for scum_programmer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff0288970e1277172d9a459b14baa6eb84e20e0ce3aa0280e7637fa231163e1b
MD5 acfb1b5c75bf869411fcf13418b738f1
BLAKE2b-256 87d8accc19964d769fca77ecd9267c50997829819348d828bfbe7e23efd39493

See more details on using hashes here.

File details

Details for the file scum_programmer-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for scum_programmer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5260ea0878bc48c5d980f46df0f9595249456884521f5431b5fe4522cd4d4ca0
MD5 9ce287ec849fbb1af0242e13e81408b1
BLAKE2b-256 fa932516c81db29cfd6f379d80febb30737b8a5addce4acc25fcb21e79798632

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