Quantcast
Channel: WIzWiki : Wiznet Community
Viewing all articles
Browse latest Browse all 137

How to update the firmware of WizFi210 to support SPI?

$
0
0

H / W setting

In order to update the firmware, WizFi210’s mode should be “RUN mode” by setting the pin 37 to Low. Of course, set the pin 37 High for normal operation after updating, UART pin is used for firmware updating and TX(pin 40), RX(42) pins are connected to the PC through RS232 transceiver.

  • Set the pin 37 to Low (PROGRAM MODE)
  • Connect TX(#40), RX(#42) to PC’ COM port through RS232 transceiver.
Wizfi210 Circuit for firmware update

Wizfi210 Circuit for firmware update

PC program settings

WizSmartScript

Folder of WizSmartScript program

 

  • Set Group items as “U. JIG (User)” and set Script as “2. Flash Write (WLAN, APP, Clear)”
  • Designate the COM port manually, set the baudrate as 115200.

As shown in the following figure, when you click the Start Script automatically flash erase and re-write.

When the update is complete, turn off the power to the board and return to Run mode. (*Low to pin 37 of the module)

WizSmartScript

Running WizSmartScript

Set MAC address

After F/W update, the MAC address should be re-written using the AT command.

In this posting, I’m using the Arduino board so you need Arduino library of WizFi Shield.

  • Required library: WizFi Shield Library (WizFi2x0.zip, TimerOne.zip)
  • Copy these files to  ”libraries” folder under the Arduino folder.
  • Sketch for MAC writing: Download this sketch to your Arduino board.
  • Input “S” then send the MAC address. ex) “0008DC1A4BF8″

 

 


Viewing all articles
Browse latest Browse all 137

Trending Articles