Porting WIZnet W5500 ioLibrary_BSD to MCU 8051 (1)

1. What should I choose among lots of 8051 MCU?

– Currently using C8051F380 board by Silicon Labs.

High Speed 8051 μC Core
http://midnightcow.tistory.com/plugin/CallBack_bootstrapperSrc?nil_profile=tistory&nil_type=copied_post– Pipelined instruction architecture; executes 70% of instructions in 1 or 2 system clocks
– Up to 48 MIPS operation
– Expanded interrupt handler

– 4352 or 2304 Bytes RAM
– 64, 32, or 16 kB Flash; In-system programmable in 512-byte sectors

Digital Peripherals
– 40/25 Port I/O; All 5 V tolerant with high sink current
– Hardware enhanced SPI™, two I2C/SMBus™, and two enhanced UART serial ports
– Six general purpose 16-bit counter/timers
– 16-bit programmable counter array (PCA) with five capture/compare modules
– External Memory Interface (EMIF)


<C8051F380 DK Board>

2. Development environment for 8051 MCU

– Download Simplicity Studio 2.0 at Silicon Labs homepage; http://www.silabs.com/products/mcu/Pages/simplicity-studio.aspx.


Simplicity IDE uses Keil-C compiler instead of Silicon Labs. Install Keil-C complier as per the install guide by Silicon Labs and register the License Key supported by Silicon Labs. As a result, be able to use Keil-C complier with being registered formally.

The biggest positive things to use Simplicity Studio is being able to manage all the resources in order to develop so that the developer always can get the latest information.

< Notice >

If you use other development environment, it might not be able to provide the device information about Silicon Labs chips. Definitely, you can still develop without the device information. However, there are well-made development environment with the device information such as Header, C compiler, and bunch of other libraries which means that you do not need to use other development environment that does not provide the device information.

Back to our subject again,

① Make simple project by double clicking Simplicity IDE in Simplicity Studio.



② Set up data for the simple project by using following direction. (Menu>Project>New>Silicon Labs MCU Project)


③ Select “C8051F380 Development Kit”



④ Set up the Project name and Working directory and finish.

⑤ Start-up code and main file for C8051F380 were automatically added to the project.

⑥ Compile by clicking the hammer icon in the toolbar.

⑦ Let’s download the compiled binary images into USB Debug Adapter Board provided by Silicon Labs.

⑧ First, connect the USB Debug as below.



⑨ Download the created image by clicking beetle icon at IDE into the board.

⑩ Debug any codes that you want by setting up break point.

⑪ For IC icon, just download it into the board without debugging.


By doing these, development environment for 8051 MCU is ready to port ioLibrary.

We will connect WIZ550io with C8051F380-TB board in the next chapter.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s