To program a SigGate, you will need the following:
- SigGate hardware
-
SigGate Flasher apps (A server app, and a client app)
- Ethernet cable
- MacOS or Window PC with access to Internet to download Gateway OS image
- USB to TTL Serial cable
Flasher application
Download flasher application corresponding to your operating system:
Flasher app
The flasher application contains of two components: Flasher server, and Flasher client.
An Actively running Flasher server app is essential for Flasher client app to function.
Multiple Gateways can be programmed in parallel by running multiple instances of Flasher client app.
Each run of the Flasher client app will program a single Gateway.
Setup and Connections
1. Power
2. Connect Ethernet port to a switch/router to put the GWB on the same network as the flasher computer
3. Connect USB-mini serial port to flasher comuputer
Flasher Server Options
--localip <IP address> or --l <IP address>
This specifies the network address assigned for the server app. Files will be served to the client app from this server address.
If this argument is not specified, the application will prompt the user to choose an address from a given list.
--debug or --d
Enables logging to a file.
--version or --v
Prints out app version during startup.
eg:
flasher_server --version
flasher_server --localip 192.168.5.201 -d
Flasher Client Options
--debug or --d - Enables logging to a file.
--version or --v - Prints out app version during startup.
--serial <serial port path> or --s <serial port path>
Note: If not provided as a command line argument, app will request user to select one from a list
--gatewayip <gateway IP address> or --g <gateway IP address> - Skips selection of IP address for gateway use. For example, if localip is 192.168.5.45, GWB can use any address from 192.168.5.1 to 192.168.5.255 except 192.168.5.45. If multiple GWBs are being flashed at the same time, they must each have a unique gateway.
Note: If not provided as a command line argument, app will request user to select one from a list
--netmask <mask> or --n <mask> - Lets you use a different net mask than the default during gateway selection, if not parsed.
Note that the gatewayip address assigned is only used for the flashing session. Once flashed, the GW defaults to DHCP and acquires IP address from the network.
Programming Steps
- Execute Flasher server application
- Open a terminal application / command window.
- Start flasher server application
- Choose an IP address for the server if not already provided as an argument
- Connect GWB to PC via USB-UART cable, and ethernet cable to shared network device.
- Verify/Set boot mode
- Open another serial terminal application and connect to the GW UART port
- Place sharp tweezers in P11 holes to set GWB boot mode and apply power to unit.
- Remove tweezers and verify "CCCC" is being printed on Serial terminal
- Close Serial terminal
- Execute Flasher client application
- Open a terminal application / command window
- Start flasher client application
- Choose serial port, GW IP address, GW image to flash, if not already provided as command line arguments
- Press GWB reset button when Detect Xmodem Loader prompt appears.
- Press GWB reset button again when Install Uboot Stage 1 appears.
- Monitor the flasher client application for the completed/exit messages.
- Cycle power to the GWB.
- Verify Login prompt is displayed.
Comments
0 comments
Please sign in to leave a comment.