You can replace the firmware on the PandaBoard hardware (the "board") using the following process. To run Simulink® models, you must replace the original firmware with the distribution provided by the Support Package Installer.
Before replacing the firmware, install the support package for PandaBoard.
After replacing the firmware, you can run a Simulink model on the PandaBoard hardware.
The following steps provide an overview of the firmware replacement process:
Support Package Installer locates a firmware image on your host computer or downloads new one.
Support Package Installer uses the host computer to write the firmware image to a microSD or SD memory card.
You transfer the microSD or SD memory card to the PandaBoard hardware.
Support Package Installer applies the IP settings you choose to the firmware on the PandaBoard hardware.
Support Package Installer does not use the PandaBoard hardware to write the firmware image to the memory card.
To replace the firmware on your PandaBoard hardware:
Open the Update firmware screen in Support Package Installer using one of the following methods:
Click Continue in the Install/update complete screen of Support Package Installer.
In a model, select Tools > Run on Target Hardware > Update firmware.
In a MATLAB® Command Window, enter targetupdater.
Choose the PandaBoard option and click Next.
Note: The file size of the firmware image is approximately 1 GB. Depending on your connection, downloading the firmware can take from 2 to 60 minutes, or more.
Internet: This option is selected by default. When you click Download, Support Package Installer checks the Download folder for a valid firmware image:
If a firmware image is not present, Support Package Installer downloads a firmware image from the Internet, and saves it to the download folder.
If a firmware image is present, Support Package Installer uses the firmware image already present in the download folder, and does not download a new firmware image from the Internet.
Folder: When you click Download, Support Package Installer checks the Download folder for a valid firmware image:
If a firmware image is not present, Support Package Installer displays an error message that the image file is missing. To solve this issue, copy the firmware image from another location to the download folder, or choose the Internet option instead.
If a firmware image is present, Support Package Installer continues the firmware installation process.
You must have write privileges for the download folder. If you use the default download folder, having write privileges is typically not an issue. If you change to a new download folder for which you do not have write permissions, such as a shared folder on a network, Support Package Installer generates an error message: "Error: Download the firmware. The download folder is not writable. Choose a folder for which you have write permissions".
To solve this issue, copy the firmware image to a folder for which you have write privileges. For example, copy the firmware image from the shared folder on the network to the C:\Users\username\AppData\Local\Temp folder. Then, update the Download location to the same folder, and click Download again.
To locate the firmware image in a folder, search for a filename that begins with pandaboard and ends with .img or .7z . For example: pandaboard_ubuntu_11_10_3_1_1_04_14_2012.img
Support Package Installer does not automatically detect the drive letter of the memory card. It displays a drive letter for each device with removable storage.
If only one drive letter is available, click Next.
If no drive letters are available, check that the memory card is fully inserted, and click Refresh.
If multiple drive letters are available, open the Windows Start menu, choose Computer, and look for the memory card under Devices with Removable Storage.
Get the COM port of the serial connection in Windows. From the Windows Start menu, choose search programs and files for "Device Manager". Open Device Manager, expand Ports (COM & LPT), and identify the COM port of the serial connection to the PandaBoard hardware.
For example, the following image shows a DB9 serial port called "Communications Port" using COM1, and a USB-to-serial adapter called "Prolific USB-to-Serial Comm Port" using COM6.
Support Package Installer does not automatically choose the COM port of the serial connection. After you get the COM port of the serial connection from Windows Device Manager, return to Support Package Installer. Set Serial port to the COM port, and click Next.
Click Next. When Support Package Installer detects a reset, it displays progress booting the board.
If Support Package Installer does not display any progress, click < Back. On the Select serial port screen. Verify that you selected the correct COM port, and close any other applications, such as PuTTY, that might using the serial connection.
Review the automatically generated value of Board name.
If your board is connected to a network with DHCP services, such as a Local Area Network (LAN) or a home network connected to the Internet, select Automatically get IP address, give the board a unique name, and click Configure. DHCP is a network service that automatically configures the IP settings of Ethernet devices connected to a network.
If your board has a direct connection to the host computer, or is connected to an isolated network hub, select Manually enter IP address, give the board a unique name, enter static IP settings for the board, and click Configure.
Tip Guidelines for entering static IP settings are:
Start by entering ipconfig at the command line of your host computer. This command displays network settings of the Ethernet adapters on the host computer. Look for the settings of the Ethernet adapter that is connected to the target hardware.
Suppose that the Ethernet adapter connected to the target hardware has the following values:
IPv4 Address. . . . . . . . . . . : 192.168.1.2 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1
In that case, for the target hardware:
When you click Configure, Support Package Installer opens a serial connection and applies the settings to the board.
Click Finish. If Show support package examples is enabled, Support Package Installer opens the example page for PandaBoard hardware.