Actions

Flowire Software Upgrade Procedure

From Zenitel Wiki

Revision as of 16:46, 17 April 2015 by Asle (talk) (Telnet setup)

This is a step by step guide to upgrading the software in Flowire through the serial interface.

Requirements

Create the special USB-Serial cable

Flowire cable


  • On the Flowire, you must connect to these pins:
    • 7: GND
    • 8: UART1_TX – Connect this to Rx on the serial cable
    • 16: UART1_RX – Connect this to Tx on the serial cable
Flowire pinning


PC setup

  • Set static IP address 169.254.1.2 on your PC
Set static IP address 169.254.1.2 on your PC


  • Connect the USB-Serial cable
  • Check the Windows "Device Manager" to see which serial port it chooses. It will be listed under “Ports (COM % LPT)” as USB Serial COM port #x, where x represents the COM port number. Double click it and change the port settings from 9600 baud to 115200 baud.

TFTP server setup

  • Start the Tftpd
  • From the main window browse to the folder where the software files are kept. Choose the PC LAN port as the server interface:
TFTP server setup



Physical setup

  • Do not connect the power supply to the Flowire unit yet
  • Take of the top lid of the Flowire by unscrewing the two screws
  • Locate the JTAG and connect the cable, cable pointing away from the PCB
  • Connect the PC to the switch using a LAN cable.
  • Connect the Flowire to the switch using a LAN cable
Physical setup



Telnet setup

  • Open PuTTY
  • Choose Connection Type Serial, change Speed to 115200 and make sure it has the right COM port number:
Telnet setup


  • While holding down the space bar (or actually any key), power the Flowire. You should see data in the command window. Once you see data release the space bar.
  • Enter these commands:
    • setenv serverip 169.254.1.2 [enter]
    • setenv ipaddr 169.254.1.10 [enter]
    • protect off all [enter]
    • tftp 0x40100000 u-boot218.bin [enter]
    • erase 0x30000000 0x3002FFFF [enter]
    • cp.b 0x40100000 0x30000000 0x30000 [enter]
    • tftp 0x40100000 jffs2-spc [enter]
    • erase 0x30040000 0x3013FFFF [enter]
    • cp.b 0x40100000 0x30040000 0x100000 [enter]
    • tftp 0x40100000 linux-spc [enter]
    • erase 0x30140000 0x3049FFFF [enter]
    • cp.b 0x40100000 0x30140000 0x360000 [enter]
    • reset