Date: Thu, 28 Mar 2024 21:46:31 +0000 (UTC) Message-ID: <364574197.17.1711662391825@e8eaa01abd47> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_16_1084724759.1711662391825" ------=_Part_16_1084724759.1711662391825 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
How to use the SCuM Programmer.
This page is being built as we are putting together the SCuM User Experi= ence. That is, it=E2=80=99s not all implemented yet.
The SCuM-programmer
allows you to:
load firmware onto SCuM
interact with SCuM=E2=80=99s serial port
It consists of the following elements:
the SCuM-programmer.py
Python script runni=
ng on your computer which you interact with
an nRF52840-DK board running the scum-programmer.=
hex
firmware, connected to your computer using a USB cable, and conn=
ected to a SCuM board using jumper cables
By default, the nRF52840-DK operates at 3V. The SCuM board operates at 1=
.8V and you will destroy it if you connect it to the nRF52=
840-DK operating at 3V.
You need to load the scum-programmer.hex
firmware onto the nRF=
52840-DK before connecting the SCuM board. This firmware s=
witch the nRF52840-DK to 1.8V.
preparing your computer
install the latest Python onto your computer (https://www.python.org/downloads/ ). Python 3.9.4 kno= wn to work.
download the latest SCuM-programmer release onto your desktop https= ://github.com/openwsn-berkeley/SCuM-programmer/releases/latest
make sure you can run SCuM-programmer.py
connect the nRF52840-DK
plug in your nRF52840-DK into your computer, drive "JLINK" appears
= li>drag-and-drop scum-programmer.hex
onto this drive
make sure the LEDs on your nRF52840-DK go round-and-round
connect the SCuM board
install the following jumper wires
nRF52840-DK pin |
McCoy pin |
function |
---|---|---|
Using
double click on SCuM-programmer.py
to start the program
SSSS= SSSSSSSSSSS CCCCCCCCCCCCC MMMMMMMM M= MMMMMMM SS:::::::::::::::S CCC::::::::::::C M:::::::M = M:::::::M S:::::SSSSSS::::::S CC:::::::::::::::C M::::::::M = M::::::::M S:::::S SSSSSSS C:::::CCCCCCCC::::C M:::::::::M = M:::::::::M S:::::S C:::::C CCCCCCuuuuuu uuuuuu M::::::::::M = M::::::::::M S:::::S C:::::C u::::u u::::u M:::::::::::M = M:::::::::::M S::::SSSS C:::::C u::::u u::::u M:::::::M::::M = M::::M:::::::M SS::::::SSSSS C:::::C u::::u u::::u M::::::M M::::M M= ::::M M::::::M SSS::::::::SS C:::::C u::::u u::::u M::::::M M::::M:= :::M M::::::M SSSSSS::::S C:::::C u::::u u::::u M::::::M M:::::= ::M M::::::M S:::::SC:::::C u::::u u::::u M::::::M M::::= :M M::::::M S:::::S C:::::C CCCCCCu:::::uuuu:::::u M::::::M MMMM= M M::::::M SSSSSSS S:::::S C:::::CCCCCCCC::::Cu:::::::::::::::uuM::::::M = M::::::M S::::::SSSSSS:::::S CC:::::::::::::::C u:::::::::::::::uM::::::M = M::::::M S:::::::::::::::SS CCC::::::::::::C uu::::::::uu:::uM::::::M = M::::::M SSSSSSSSSSSSSSS CCCCCCCCCCCCC uuuuuuuu uuuuMMMMMMMM = MMMMMMMM =20 www.c= rystalfree.org =20 Running SCuM-programmer.py version 1.2.3 >
type help
to get a list of commands
> he= lp - "ls" lists the binary files availble to bootload - "bootload <image.bin>" bootload an image onto SCuM - "transfer"
TODO Thomas Watteyne
TODO Thomas Watteyne