33 | | 4.4. Loading software |
34 | | There are two primary methods to reflash a CM3, over the network and also through |
35 | | the serial port. This section will describe how to load new firmware onto the device |
36 | | using both methods. The latest ’known good image’ can always be found on the SVN |
37 | | Repository |
38 | | 4.4.1. Flashing firmware over network |
39 | | 1. open FTP session directly to the CM Lantronix device in terminal client |
| 33 | === Flashing Firmware === |
| 34 | There are two primary methods to reflash a CM3, over the network and also through the serial port. This section will describe how to load new firmware onto the device using both methods. The latest 'known good image' can always be found on the [http://www.orbit-lab.org/browser/CM3/trunk/images SVN Repository] |
| 35 | |
| 36 | ==== Flashing firmware over network ==== |
| 37 | 1. open FTP session directly to the CM Lantronix device in terminal client |
| 38 | {{{ |
46 | | The image must be sent to the Xpor AR named xport_ar.rom.gz, otherwise the |
47 | | device will not recognize it as new firmware and will not re-flash. Re-flashing the device |
48 | | will take a few minutes, it will reset itself and should come back online with no issues. |
49 | | 4.4.2. Flashing firmware over serial |
50 | | Re-flashing as CM over the serial port should be done when the node is not accessible |
51 | | aver the network, it is a generally slower method than via FTP. Before you can recover |
52 | | the firmware over serial you will need to install Device Installer on your PC. Device |
53 | | Installer is free to download off the lantronix website. |
54 | | 1. Open DeviceInstaller |
55 | | 2. Go to ’Tools’->’Advanced’->’Recover Firmware’ (or simply the F8 key) |
56 | | 3. Configure the options, and hit OK to load the image |
57 | | a) Choose the COM port being used |
58 | | b) Select "Xport AR A1" as the device |
59 | | c) Make sure that the "Erase all flash" option is checked |
60 | | d) Enter the path of the image to be loaded |
61 | | The program will prompt you to power off the device, you can just ignore this and |
62 | | hit next. The serial recovery will have started, but you must still power cycle the device |
63 | | before the transfer begins, either hit the reset button on the CM or just pull and reapply |
64 | | the power to the CM. |
65 | | [wiki:Hardware/cCM/cCM3/SoftwareDescription/Programming How to program the Lantronix module] |
| 49 | }}} |
| 50 | * The image '''must be''' sent to the Xpor AR named xport_ar.rom.gz, otherwise the device will not recognize it as new firmware and will not re-flash. Re-flashing the device will take a few minutes, it will reset itself and should come back online with no issues. |
| 51 | |
| 52 | ==== Flashing firmware over serial ==== |
| 53 | Re-flashing as CM over the serial port should be done when the node is not accessible aver the network, it is a generally slower method than via FTP. Before you can recover the firmware over serial you will need to install Device Installer on your PC. Device Installer is free to download off the lantronix website, and can be found [http://ltxfaq.custhelp.com/app/answers/detail/a_id/644 here]. |
| 54 | |
| 55 | 1. Open DeviceInstaller |
| 56 | 2. Go to 'Tools'->'Advanced'->'Recover Firmware' (or simply the F8 key) |
| 57 | 3. Configure the options, and hit OK to load the image |
| 58 | a. Choose the COM port being used |
| 59 | b. Select "Xport AR A1" as the device |
| 60 | c. Make sure that the "Erase all flash" option is checked |
| 61 | d. Enter the path of the image to be loaded |
| 62 | [[Image(serial_recovery.jpg, 600px)]] |
| 63 | 4. The program will prompt you to power off the device, you can just ignore this and hit next |
| 64 | 5. The serial recovery will have started, but you must still power cycle the device before the transfer begins, either hit the reset button on the CM or just pull and reapply the power to the CM. |