Uploading an sketch to a PLC using Ethernet - Step 1- Ariadne Bootloader

Introduction

In this sequence of posts we will see how to upload an sketch to a PLC using Ethernet connection instead of using the USB. USB is the most common way to upload an sketch into an Arduino board but it is not always the most comfortable way because you need to bring the PLC near of a PC or vice versa.

Requirements

Description

The sequence of posts will be divided in 3 posts in total, which are the 3 big steps to reproduce it.

Install the Ariadne Bootloader into MDuino.

Get the binary file from an sketch.ino

Send the binary file using tftp client

Install the Ariadne Bootloader into MDuino.

On the first one we will see the first step that has to be done. This step is changing the BOOTLOADER of the Arduino. Why? The Bootloader that comes by default doesn’t support this Ethernet uploading, so it is necessary to burn another which permits to upload via Ethernet.

The bootloaders can be found into the official github page of Ariadne. There are two different bootloaders depending on the version of MDuino you are using. For the PLUS version you will be using the w5500 bootloader which is the Ethernet chip it comes with PLUS version. For the 7 version you will be using the w5100.

It is important not to delete the original bootloader that appear on this folder. What we need to do is to change the original name of mduino.hex into mduino-original.hex and the Ariadne bootloader will get now the name of mduino.hex.

After that we just need to burn the bootloader. Burning a bootloader into an Arduino board is already explained in the following post.

Connect with us

Explain the benefits you offer. Don't write about products or
services here, write about solutions.

Based in Barcelona and founded in October 2012, Industrial Shields is the brand under the company Boot and Work Corp S.L. We are a company with the aim to become the biggest e-commerce of industrial automation electronic devices based on Open Source Hardware electronics. Our goal is to offer the widest choice of products at a very reasonable costs compared with the products that are developed under the current market leaders.