WIZ820io: Porting Guide about EmIDE and Nucleo Board


This project is based on EmIDE(gcc) because commercial compiler is not free.

The EmIDE supports a good environment for development and debugging.

Then, let’s start porting WIZ820io to Nucleo.

Because I would like to make my own board and also Nucleo board is famous in the mbed market, I used NUCLEO-F103RB for this project.

The price of Necleo board is just $10 which is amazing and awesome price.




  • How to make from Nucleo to normal board.

–    Remove the ST-JLINK

bb cc


  • Block diagram


  • Content

–   NUCLEO-F103RB $10.33 (www.mouser.com)

–   WIZ820io $19.80 (shopwiznet.com/wiz820io)

–   Source code and W5200 Device drive


  • Porting Guide
  1. Step #1: Download the W5200 Device drive at WIZnet website; www.wiznettechnology.com or Dropbox I mentioned right above.ee
  2. Step #2: Include all W5200 device drive in EmIDE project fileff
  3. Step #3: Set the Link Option                                                                gg
  4. Step #4: Define the board type. Actually, this source code includes 3 different type of boards. One is W5200E01-M3, others are W7200-EVB and the Nucleo board. You should select your target board. Now we’re ready to port the Nucleo board. Open the Types.h files and define the “__Nucleo__”                                                                                                                                                                                                                 hhiijj
  5. Step #5: Compile and Download.

– Compiling is as below.                                                                                                                                                                                                   kkk

In order to use the ST Flash Loader Demo p/g, you should connect between BOOT0 pin and VDD. Please disconnect these pins, if you finish the download.                                                                                                                                                                                                             1111


  • Analytics of main routine
void main(){/*******************************************************************  Place your code here.******************************************************************/RCC_Configuration();    // Configure the system clocksGPIO_Configuration();   //Set the STM32 GPIO

NVIC_Configuration();   // NVIC Configuration

InitUSART();            // UART1,2 11520bps-8-n-1-n

Timer_Configuration();  // Timer2 interrupt: each 1sec occur the interrupt (LED test)

WIZ_SPI_Init();          // SPI1 = W5200-EVB, W7200 / SP2- Nucleo board

WIZ_Config();          // DHCP or Static IP (Now DHCP Mode)


Main_Menu();            // EVB Board test routine


do {

} while (1);



  • Test Result


–   Serial message (Code and Serial display)


–   Ping test


–    Function test: Loopback


Successful connection message and the TCP client loopback test result.


  • Conclusion

If you would like to buy the cheapest normal STM32 board, I would recommend Nucleo board.

And also, if you want to get a free ARM compiler, I would recommend EmIDE.

Lastly, if you try to find the easy IoT solution, I would recommend WIZ820io.

I have already opened EmIDE source code in Dropbox. Please download and test.

I hope that everyone who does read this article should finish this project successfully.






Source :  https://main8096.wordpress.com/2014/12/19/wiz820io-porting-guide-emide-and-nucleo-board/


Please Login to comment
Notify of