Differences
This shows you the differences between two versions of the page.
carberry:software:firmware_upgrade [2017/06/29 16:55] 127.0.0.1 external edit |
carberry:software:firmware_upgrade [2019/09/30 13:44] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Firmware Upgrade ===== | ||
- | |||
- | Carberry microcontroller firmware, can be upgraded due improvements and bugs solving by Carberry team.\\ | ||
- | Follow this guide to upgrade your Carberry. | ||
- | |||
- | ===== Prerequisites ===== | ||
- | |||
- | |||
- | ... | ||
- | ===== Procedure ===== | ||
- | |||
- | Enter home directory: | ||
- | cd /home/pi/ | ||
- | |||
- | Download the last version of reflash tool | ||
- | curl -O -J http://www.carberry.it/down.php?download_id=692 | ||
- | |||
- | Untar the file: | ||
- | tar -xvf reflash_1.0.tar | ||
- | |||
- | Build the tool: | ||
- | cd /home/pi/reflash_1.0 | ||
- | gcc -o reflash reflash.c | ||
- | |||
- | Add execution rights to just built reflash tool: | ||
- | sudo chmod +x /home/pi/reflash_1.0/reflash | ||
- | |||
- | Download the last upgrade file: | ||
- | curl -O -J http://www.carberry.it/down.php?download_id=706 | ||
- | |||
- | Update Carberry firmware: | ||
- | /home/pi/reflash/reflash Carberry_1.12.asc | ||
- | |||
- | You will see something like this: | ||
- | |||
- | pi@raspberrypi ~/reflash $ ./reflash Carberry_1.12.asc | ||
- | Connecting Carberry Server... | ||
- | Carberry Ready | ||
- | Opening upgrade file... | ||
- | Probing boot mode... | ||
- | Entering Carberry in boot mode...Ok | ||
- | Probing boot mode...Ok | ||
- | Erasing flash...Ok | ||
- | Writing... 100.0% | ||
- | Starting Application...Ok | ||
- | Done! | ||
- | pi@raspberrypi ~/reflash $ | ||
- | |||
- | That's all. | ||
- | Carberry will now reboot with new firmware. | ||
- | |||