You can use your CTT SensorStation
to burn a new
operating system onto the compute module using a micro USB cable
attached to your computer. Here is an article on raspbian’s website with
general instructions: Flashing
the Compute Module eMMC. This page will summarize the steps needed
to burn a New CTT SensorStation image to your compute module using the
SensorStation hardware.
While CTT offers many over-the-air updates to your
CTT SensorStation
sometimes you just need a fresh start, or
maybe you haven’t been incrementally updating the source code and want
to do so after a full stable release. You’ve found the right place to
learn how!
V1 SensorStation Current Stable Image OTA Update enabled. Station health reports. RTL-SDR support. Pickup new Nodes / Tags with updated protocol. Download Station Image
V2 & V3 SensorStation Current Stable Image Records Tag, GPS, SensorGnome, and Telemetry data. Monthly reboot on the 3rd of the month. Download Station Image
You will need drivers for your computer to recognize the module as a new drive, and software to burn new images to disk.
rpiboot.exe
.Linux / MAC users will have to clone the rpiboot source code, compile and run the rpiboot.exe file that is generated. Detailed instructions for Linux here.
For Mac, follow these directions:
Homebrew
, which is a package installer for
Mac.
Terminal
:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Then install the libusb libraries:
brew install libusb
Tip: I tend to use Dropbox, so I use the cd
command
to change directory into my
Dropbox
folder: cd Dropbox
Once you are in your preferred directory, run the following code to
install the USBBoot code in Terminal
git clone --depth=1 https://github.com/raspberrypi/usbboot
Then move into the usbboot
directory:
cd usbboot
Now make the rpiboot
installer:
make
At this point, you now have a standalone executable called
rpiboot
in the usbboot
folder. You can move
that executable anywhere you want so it’s convenient for using again in
the future.
Additionally, once you have moved the rpiboot
executable, the usbboot
folder can be trashed as its
contents are only useful for making the rpiboot
program.
From now on, if you need to flash more compute modules, you can
start with running rpiboot
and do not need to re-do steps 1
and 2 above.
If you are still in the usbboot
directory, you can now
run run rpiboot with the following command. Otherwise use the
CD
command in Terminal
to change directory to
wherever you moved rpiboot
.
./rpiboot
At this point you should see a message in your terminal that says something to the effect of:
Waiting for BCM2835/6/7/2711...
This indicates that the USB port has been opened, and your computer is waiting to see a Raspberry Pi on that port. Now complete Steps 1 and 2 below, and skip steps 3 and 4.
OFF
ENABLED
position (to the left
1 pin, for
horizontally placed pins, or down
1 pin for vertically
placed pins).rpiboot.exe
which was installed from the previous
step. From windows, you can search rpiboot
to find it.rpiboot
will pop up a console showing a wait
message waiting for the module to be detected:rpiboot
should disappear after
displaying some messages and the module will be available as a new hard
drive. (Do not auto-fix as windows may suggest!)Raspberry Pi Imager
Operating System
and navigate to
the SensorStation image file you saved (it’s a .zip
file),
and select it.SD Card
and select your
Raspberry Pi compute module as the target.
example: RPi-MSGD- 0001 - 7.8 GB
WRITE
button to flash the disk image.DISABLED
position (to the right
1 pin, for
horizontally placed pins, or up
1 pin for vertically placed
pins).Of course, as always, if you have any issue please don’t hesitate to email us at support@celltracktech.com.