WIZ820io: Porting Guide about EmIDE and Nucleo Board

/WIZ820io: Porting Guide about EmIDE and Nucleo Board
WIZ820io: Porting Guide about EmIDE and Nucleo Board2018-08-01T13:42:39+00:00

Project Description

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.

 

aa

 

  • How to make from Nucleo to normal board.

–    Remove the ST-JLINK

bb cc

 

  • Block diagram

dd

  • Content

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

–   WIZ820io $19.80 (shopwiznet.com/wiz820io)

–   Source code and W5200 Device drive

https://www.dropbox.com/sh/gqsccffe7uhohaf/AABstVFnWlzy2As33aKALDQ0a?dl=0

  • 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

22222222

–   Serial message (Code and Serial display)

333333333

–   Ping test

4444444444

–    Function test: Loopback

5555555555

Successful connection message and the TCP client loopback test result.

6666666666

  • 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.

www.shopwiznet.com/wiz820io

www.wiznet.co.kr

www.wizwiki.net

www.wiznetmuseum.com

blog.wiznettechnology.com

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

Leave a Reply