W5500CoB the W5500 Connector on Board Module used with Espruino Pico – BreadBoard setup

Espruino Pico and W5500CoB

After setting up the Break-out-Board W5500BoB (-> Blog) last week I set up the ‘sister’ W5500CoB (-> Wiki) Module from ESoPe here.
This Connector on Board Module is 1:1 compatible for the MCU I/F (8 pin 100mil Pin-Headers) but it includes the RJ45 connector on Board.
So there is also the W5500 chip on the Module and I connected it by SPI again with the same Espruino Pico:

  • W5500CoB module (W5500 + xtal + passives + RJ45 connector)
  • Espruino Pico (STM32F401 MCU … JavaScript engine)

This is how the BreadBoard look like:

W5500CoB with Espruino Pico
W5500CoB with Espruino Pico

Here also the detailed Schematic (PDF) in a BlockDiagram style:

SPI connection of W5500CoB and Espruino Pico
SPI connection of W5500CoB and Espruino Pico

2015-05-06_W5500CoB_MCU_001 (same as PDF file here for download)

I think all other Info is in the former Blog entry (W5500BoB), so I don’t need to double all info here again.

Best regards, Joachim

Advertisements

W5500BoB the W5500 Break-out-Board with RJ45 and Espruino Pico – Part 1 – Hardware

I started using our new 3rd Party Module W5500BoB (Break-out-Board for the W5500 chip) made by ESoPe together with the small Espruino Pico MCU Board.
So there is this Hardware:

  • W5500BoB module (W5500 + xtal + passives)
  • Espruino Pico (STM32F401 MCU … JavaScript engine)
  • RJ45 MagJack by Cetus (same as on the WIZ550io Module)

I connected all this on a BreadBoard:

W5500BoB on BreadBoard
Picture: Espruino Pico + W5500BoB + RJ45

The detailed Schematic in a BlockDiagram style look like this:

Espruino Pico + W5500BoB + RJ45
Block Diagram / Schematic: Espruino Pico + W5500BoB + RJ45

The USB connector type A on the Espruino Pico is (normaly) used to plug it into a computer directly, so I used a USB extension cable to power my setup and to have the serial (virtual COM port) connection.
The Espruino Pico can be controlled by serial commands = Java Script language very easy, so it’s perfect for a short test. Our original WIZ550io Module (W5500 inside) is supported directly.

The new W5500BoB is ‘only’ the W5500 chip + xtal and passive components, so any MCU Board and any RJ45 (also PoE types) can be connected without a single extra part needed.
You can see in my picture that I did not add anything. Also the LED current limitation Rs and the 50ohm termination is included on the W5500BoB module.

The RJ45 here is the same Cetus J1B1211CCD we used on the WIZ550io, WIZ550S2E and W5500-EVB already. It’s fully industrial temp. range qualified and we offer in our Store and by our distributors for a very good price.

The setup is working perfectly well already.
In Part 2 (in a few days) I will describe how to make an Internet (Test) Application working on the Espruino Pico.

Regards, Joachim

Install Eclipse and Compiler for STM32 with W5500 on Linux

This installation was done on Debian Wheezy

Contents Installation and Configuration of

  • Build Essential
  • GNU GCC ARM Embedded tool chain
  • Oracle Java SE
  • Eclipse
  • GNU ARM Eclipse Plugins

Tool Chain – Install Build Essential

First you have to install the essential tool chain. Go to a root terminal,e.g., with “su” and do the following:

root@kallisto:~# apt-get update && apt-get install build-essential

Tool Chain – Install GCC ARM Embedded GNU

Go to https://launchpad.net/gcc-arm-embedded and download the latest “Linux installation tarball”. Then extract it. Most likely your filename will not be exactly gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2 but a little bit different – so adjust this command line to name of the downloaded one.
root@kallisto:/home/tw/Downloads# mkdir /usr/local/arm && tar xjvf gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2 -C /usr/local/arm

If you want to have it available for you users without the need for absolute pathes you can symbolic link it to the folder /usr/local/bin

root@kallisto:~# ln -s /usr/local/arm/gcc-arm-none-eabi-4_9-2014q4/bin/arm-none-eabi-* /usr/local/bin/

If you like, you can check this from the user account:

gccversion

JAVA SE Installation

There are no Oracle Java SDK repositories for Debian Wheezy, but you can add the ubuntu repository.

root@kallisto:~# echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list && echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

then install Oracle JAVA 8 after updating the repository:

root@kallisto:~# apt-get update && apt-get install oracle-java8-installer

If you like, you can check this from the user account:

Bildschirmfoto vom 2015-03-18 11:18:53

Eclipse Installation

First go to  http://eclipse.org/downloads/ and download the latest Version of “Eclipse IDE for C / C ++ Developers” – depending on the Java Version you installed you should go for 32bit or 64bit. As my Java is 64bit I’ll go for 64bit.

Bildschirmfoto vom 2015-03-18 11:29:22

Now extract eclipse:

root@kallisto:/home/tw/Downloads# tar xzvf eclipse-cpp-luna-SR2-linux-gtk-x86_64.tar.gz -C /usr/local/

Bildschirmfoto vom 2015-03-18 12:40:48

On my Debian Wheezy Eclipse Luna crashed during start (https://bugs.eclipse.org/bugs/show_bug.cgi?id=430736) . So in case your eclipse doesn’t start either you also have to execute “export SWT_GTK3=0” before the start of eclipse. You can make this persistent with:

tw@kallisto:~$ echo "export SWT_GTK3=0" >> ~/.profile

GNU ARM Eclipse Plugins

On the eclipse IDE, go to the Menu line and select  “Help” -> “Install New Software”. The following window will appear, where you have to click “Add”.

Bildschirmfoto vom 2015-03-18 12:56:37

There you have to enter the following data.
Name: GNU ARM Eclipse Plugins
Location: http://gnuarmeclipse.sourceforge.net/updates

On the next page, just select “GNU ARM C/C++ Cross Development Tools” and after some “Next” and “Finish” clicks the installation is finished.