Flash a SD Card
The Thingbox can be updated by flashing a new SDCard.
If upgrading, don’t forget to backup your data first!
Some tools are needed:
- A micro-SD card. On the Raspberry Pi computer, all the software is on a micro-SD Card. Thus the first step is to write the firmware (the software of the device) to the SD card.
- A Windows or Macintosh computer (with a SD port to access the SD card)
- The firmware you can download for free from the website,
- A particular application for the computer to write the downloaded firmware on the SDCard.
Buy a micro-SDCard
Choose a 16Gb micro-SDCard like this one: https://www.amazon.fr/gp/product/B073K14CVB
Download the firmware
The firmware is a very big file (many Gb) that is downloaded from the cloud and then written on the SDCard that will then be inserted in the Raspberry Pi. As this firmware runs on the Pi, it is the same if you use Windows or Macintosh.
Download the image from the homepage.
Download the application to write the firmware on the SD card
Etcher (https://etcher.io/) turns the whole process of flashing an OS image file into three simple steps: Select Image, Select Drive, and Flash Image. More importantly, the same program, with the same interface, is available on all three types of computer – Windows, Mac, and Linux – which makes it easy for everybody to understand.
Download and install Etcher from the website. Launch the application file and follow the Etcher setup wizard. Drag the Etcher app to your Applications folder on a Mac and double-click to open it. In Windows, run Etcher in Administrator Mode: right-click on Etcher and choose ‘Run as administrator’.
Click “Select Image” in Etcher. Use the file manager window and locate the zip file you dowloaded. Click Open. The image will appear under Select Image, and Connect a drive will highlight red.
Warning : the SD card will be totally over-written, so this SD card will be used only for the Raspberry Pi. Don’t forget to backup your Node-RED files if you update
- Insert your SD card in the computer. Etcher will select it automatically. Etcher won’t write to your hard drives by default, but check that the SD card is listed correctly. Now click Flash! to write the image file to the SD card.
Etcher will format the SD card, before writing and verifying the image; this is shown by a progress bar. When done, remove the SD card, insert it into your Raspberry Pi, and power it up.
Use the SDCard
Insert the SD card in the Raspberry Pi, connect it to the local network and switch it on. It takes about 50s to boot (on a Pi2) but the first boot can be very long because it expands the SDCard to use the free part of the SDCard then boot again.
Plug the local network wire BEFORE powering the device.
Restore your datas
If upgrading, don’t forget to put back your userdir into the new SDCard.