Post navigation

Arduino

Learning to control An Arduino From A Webpage

I wanted to learn how to control an Arduino from the internet, and made some notes after getting a simple example working. I started with the the Wifi Web Client example on the Arduino website here , and found the code worked in the end but to start with it would connect to my Wifi network fine, but it wouldn’t connect to the page. It turns out the firmware was out of date and it took a while to find the answer to how to fix it, so noting the errod and solutions here for anyone else finding the same problem.

cd C:\Program Files (x86)\Atmel\Flip 3.4.7\bin

When updating the firmware I got an error after I ran the cmd line:

batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer /Arduino/hardware/arduino/firmware/wifishield/binary/wifi_dnld.elf program verify start reset 0

…so I manually checked the filepath and discovered in my version of Arduino the folder ‘firmware’ is called ‘firmwares’ so the path should be:

batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer /Arduino/hardware/arduino/firmwares/wifishield/binary/wifi_dnld.elf program verify start reset 0

batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer “C:\Program Files (x86)\Arduino\hardware\arduino\firmwares\wifishield\binary/wifi_dnld.elf” program verify start reset 0

batchisp.exe -device AT32UC3A1256 -hardware usb -operation erase f memory flash blankcheck loadbuffer “C:\Program Files (x86)\Arduino\hardware\arduino\firmwares\wifishield\binary/wifiHD.elf” program verify start reset 0

batchisp.exe -device AT32UC3A1512 -hardware usb -operation erase f memory flash blankcheck loadbuffer “C:\Program Files (x86)\Arduino\hardware\arduino\firmwares\wifishield\binary/wifiHD.elf” program verify start reset 0

That fixed it and it worked fine after that.