Welcome Guest, you are in: Login
RSS RSS

Navigation






Search the wiki
»

PoweredBy
This page provides instructions for recovery of a corrupt flash image on a Logic-5000 cellular router. Use this procedure to recover a modem that fails to boot (indicated by only power and GPS LEDs being illuminated after several minutes following power up).

Warning: Flashing a Logic-5000 using this procedure will delete all settings and restore the device to a factory image. All previously configured values will be permanently deleted.


1 - Prerequisites

Prior to attempting a flash recovery, the following items must be available:

  • 32-bit Windows OS (Windows 2000, XP, or 7)*
  • Ethernet cable (straight or cross-over acceptable)
  • 9-Pin serial cable (male to female, straight through - null modem will NOT work)
  • Firmware Recovery Files (including TFTP server):

* Microsoft Virtual PC may be used on 64-bit machines

Note: - The recovery utilities may be extracted onto a USB stick for easy transfer between computers.

2 - Computer Setup

To prepare the computer for recovering a Logic-5000 image, perform the following:

  1. Set computer to static IP address of 192.168.1.189 (netmask 255.255.255.0)
  2. Extract recovery files to folder on desktop
  3. Launch TFTPSVR.exe from extracted recovery folder. TFTPSVR.exe must remain open while flashing image.
  4. Connect serial port cable to Logic-5000 serial port. Open HyperTerminal or PuTTY (included in recovery files) with the following settings:
    • 115200 baud
    • 8N1
    • No flow control
  5. Attach ethernet cable between computer and Logic-5000 modem. Ensure computer's ethernet adapter has IP of 192.168.1.189

3 - Flash Procedure

3.1 - Boot/Reboot Modem

With PuTTY or HyperTerminal session open, press and hold the reset button on the face of the Logic-5000 until the following text appears in the terminal. IMMEDIATELY press any key at the console prompt to interrupt the boot loader.

boot 1.0 (May  7 2010 - 06:24:45)

Uncompressing image...

CA-Boot 1.1.1 (May  7 2010 - 06:24:50) v3.6

CA-Boot code: 21F00000 -> 21F205C0  BSS: -> 21F24CB0
Board: gd=0x21eddfdc dram=0x20000000 size=0x02000000
RAM Configuration:
Bank #0: 20000000 32 MB
Atmel: AT49BV642D (64Mbit-Newer Flash)
Flash:  8 MB

Enabling GPS ...
Unit Type: Vanguard
CFG: 0x21ede008
In:    serial
Out:   serialfiles
Err:   serial
Hit any key to stop autoboot:  3

If interruption of the boot loader is missed, try again by pressing and holding the reset button.

3.2 - Test TFTP Connection

After the boot loader is interrupted the commandline should appear as

CA-Boot>

Configure the modem to use the PC's IP address by typing the command setenv serverip 192.168.1.189, then press enter:

CA-Boot> setenv serverip 192.168.1.189

Test IP connectivity with the TFTPSVR.exe application by typing tftp 21000000 uImage and pressing enter, as follows:

CA-Boot> tftp 21000000 uImage

3.2.1 - Successful TFTP Connection

If the connection is successful, the following will appear:

CA-Boot> tftp 21000000 uImage
EMAC_PHY: Speed: 100BT FD
TFTP from server 192.168.1.189; our IP address is 192.168.1.50
Filename 'uImage'.
Load address: 0x21000000
Loading: ###########################################################

3.2.2 - Failed TFTP Connection

If the connection does not succeed, this will be displayed:

CA-Boot> tftp 21000000 uImage
EMAC_PHY: Speed: 100BT FD
TFTP from server 192.168.1.189; our IP address is 192.168.1.50
Filename 'uImage'.
Load address: 0x21000000
Loading: T T T T T T

Once success or failure is verified, press ctrl+c to cancel the previous command.

Note: If TFTP connectivity fails, ensure the following conditions are met:
  • Computer IP set to 192.168.1.189 for the LAN adapter connected to the modem
  • All firewall software is disabled, including and especially Windows Firewall
  • Ethernet cable is connected between computer and modem
  • TFTPSVR.exe is currently running

3.3 - Load & Burn Flash Image

After the TFTP server connection is successfully verified, enter the call command and press enter:

CA-Boot> call

The flash process will begin and appear similar to the following:

CA-Boot> call
EMAC_PHY: Speed: 100BT FD
TFTP from server 192.168.1.189; our IP address is 192.168.1.50
Filename 'config_ciphr'.
Load address: 0x20500000
Loading: T #
done
Bytes transferred = 924 (39c hex)
tftp config file size = 924
setting env BOOT_LOADER=boot-32M.bin
setting env KERNEL_INITRD=uImage-CodeLoad
setting env KERNEL_JFFS2=uImage
setting env INITRD=rootfs-CodeLoad
setting env FLASH_FS=fs_image_2.6
setting env bootdelay = 3
setting env ipaddr = 192.168.1.50
setting env OS = linux
setting env usage = production
setting env bard = setenv bootargs root=/dev/ram rw initrd=0x21100000,6000000 ramdisk_size=16384 console=ttyS0,115200,mem=32M
setting env bajffs2 = setenv bootargs root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS0,115200,mem=32M
setting env boot_flash = run bajffs2;bootm 10020000
setting env bootcmd = run boot_flash
setting env boot_initrd = run bard;tftp 21100000 $(INITRD);tftp 20a00000 $(KERNEL_INITRD);bootm 20a00000
setting env FLASH_FORMAT = true
Un-Protected 1 sectors
Erasing Flash...Erasing sector  7 ... ok.
Erased 1 sectors
Writing to Flash... done
Protected 1 sectors
EMAC_PHY: Speed: 100BT FD
TFTP from server 192.168.1.189; our IP address is 192.168.1.50
Filename 'rootfs-CodeLoad'.
Load address: 0x21100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################
done
Bytes transferred = 1489644 (16baec hex)
EMAC_PHY: Speed: 100BT FD
TFTP from server 192.168.1.189; our IP address is 192.168.1.50
Filename 'uImage-CodeLoad'.
Load address: 0x20a00000
Loading: #################################################################
         #################################################################
         ###########
done
Bytes transferred = 721317 (b01a5 hex)
EMAC_PHY: Speed: 100BT FD
## Booting image at 20a00000 ...
   Image Name:   built by Calamp
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    721253 Bytes = 704.3 kB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ...

The entire process of loading and burning the image to flash should take approximately 5 minutes. When initial burning of flash is completed, the following will be displayed.

CiPHR login: Formatting Flash sector #1...
Erasing 64 Kibyte @ 140000 -- 95 % complete.
                                            Copying kernel image...
                                                                   Formatting Fl
ash sector #2...
Erasing 64 Kibyte @ 680000 -- 99 % complete.
                                            Copying rootfs image...
                                                                   Resetting the
 board, please wait....
                       .........................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
........................................................

If the Logic-5000 does not reboot within a few minutes of displaying the above message, then press and hold the device's reset button for several seconds. Simply pressing and releasing the reset button will also reboot the device, but will not allow boot messages to be sent out the COM port for verification of correct operation.

Access Point Bluetooth Configuration Contact Deployment Garmin Installation Logic-5000 Modems Network Recovery RoadSafety Setup Support Users Vehicle Web Application

Wiki version 3.0.4.560.