SD Card
2 minute read
Installing the Motorcortex image for the Raspberry Pi you will need to instal the Raspberry Pi Imager and a empty SD-card. Users of Raspberry Pi Compute module architectures need to check out the steps in Raspberry Compute Module Install.
Install Raspberry Pi Imager
To install the Motorcortex Image to your Raspberry Pi you will need to install the Raspbery Pi imager.
- Download the Raspberry Pi Imager for your OS from https://www.raspberrypi.com/software/
- Locate the file in your Downloads folder and install Install the Raspberry Pi Imager.
Install Raspberry Pi Image
- Open the Raspberry Pi Imager.
- Click the
CHOOSE OS
button and selectUse custom
- Browse your directories and select your Motorcortex Image.
Note
Please make sure you have downloaded the Motorcortex Raspberry Pi Image
- Click the
CHOOSE STORAGE
button to select the storage you would like to use for this image.
-
Click the
WRITE
button to start writing the image to your SD-card. -
A warning will pop up to tell you that all data on the SD-card will be overwritten by the image. Click
Yes
if you want to continue.
-
Wait for your installation to finish.
-
Congratulations your Motorcortex Raspberry Pi Image has been installed.
Partition MicroSD card
If you install Motorcortex Raspberry Pi Image via Raspberry Pi Imager. Only a part of the MicroSD card is allocated, you will need to increase the size of the second partition part of the Motorcortex image such that the overall disk storage is used.
-
Download a disk partition editor like GParted.
-
Open GParted, select which disk you want to partition(SDcard), select second partition and
press
to resize.
- Increase
New size [MiB]
to the maximum available disk size and pressResize/Move
.
- Press ` to apply operations to device.
- Eject MicroSD card from you computer and insert to your Raspberry Pi.
Connection to Raspberry Pi
The standard Raspberry Pi has one only one network card onboard. Per default this network card is reserved for the etherCAT interface. Adding a second network card to your Raspberry Pi will provides you with the possibility to make a wired connection, if not, the default connection to your controller is established via WiFi.
Note
When setting up a wired connection with the Raspberry Pi in some cases it is necessary to activate the ARP protocol with the following command. sudo ifconfig eth0 arp
The next step is to set-up the connection between your controller and your laptop. Connect Your PC