The wifi connection is not persistent. The connection goes on & off.
I am using the following library for building a WebSocket client: https://github.com/krohling/ArduinoPusherClient
The client worked fine on Ethernet. But with WiFi, client.connected() is returning false after couple of seconds.
So I started following this guide to upgrade the firmwarehttp://arduino.cc/en/Hacking/WiFiShieldFirmwareUpgrading
As I have AT32UC3A1512-U in the Wifi shield, I tried both AT32UC3A1512 and AT32UC3A1512-U in the batchisp command. But I get error "ERROR: no argument found. Type batchisp -h for help"
batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer /Arduino/hardware/arduino/firmware/wifishield/binary/wifi_dnld.elf program verify start reset 0