Ethernet allows user to remotely upgrade firmware without having a physical connection between the micro and computer. In order to use ethernet a proper existing image should already be present on the micro.
Prerequisites
- PC with following software Installed
- Python
- To Install Python:
- Open Command Prompt
- Install Python 3.9 by running “python 3” (If Python is already installed skip to step ##).
- This will open Microsoft App Store
- Install Python 3.9
- Install the Python ‘requests’ module by running
-
pip3 install requests
- Micro AI Firmware to be loaded in .bin format
Updated Micro AI Firmware
- Ensure that the Micro AI is connected to Ethernet and has “Ethernet DHCP” Enabled
- In the shell of the firmware, run the command “Ethernet Status”
- Copy the IP Address
- Retrieve fw_upload.py from the firmware update package.
- Place it into the same folder as the .bin file
- Open Command Prompt
- Navigate to the folder where the .bin and fw_upload.py files are located with “cd”
In Command Prompt run the command
-
python3 fw_upload.py --ip <IP Address> --fw rtcam.bin
- py is located in git repository at \scripts
- The Micro AI will restart, wait until “Update accepted!” is displayed on the command prompt
Comments
0 comments
Please sign in to leave a comment.