Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CMC firmware

TODO this doc needs being updated

CMC firmware

How to upload the firmware on the CM cards, with the Arduino IDE.

setup on wlab49 a.k.a. arduino

Tests

HowTO



byte mac [] = {
   0x02, 0x00, 0x00, 0x00, 0x00, 0x27 };
byte ip[] = {
                      192, 168, 1, 27 };
root@bemol ~ # info 38 | grep firmware
reboot38:firmware version: 3.1 INRIA, FRANCE


setup on etourdi

etourdi is the box where Julien had installed the arduino IDE in the first place.

Here’s what you need to know about that if you need to burn firmwares in our CMC’s

Historical note

Latest (nov 2026)

the source files (.ino) which are actually C-code are stored under git in the present repo (r2lab-docs) together with this doc under the hardware/cmc-firmware/ folder

Now (when ?)

When you use the arduino IDE, the default location when opening files is

/usr/share/arduino

So I have reorganized the whole thing so that

info root@bemol ~ # info 4
reboot04:firmware version: 3.2 INRIA, France
reboot04:hardware version: 1.2
reboot04:ip: 192.168.1.4
reboot04:mac: 02:00:00:00:00:04 
Before

Until to Feb. 8th 2016

/home/etourdi/Documents/Arduino/
NITOS_CM_Card_Firmware_v2_1b_for_shield_v1_2_watchdog_no_XML
NITOS_CM_Card_Firmware_v2_1b_for_shield_v1_2_watchdog_no_XML.ino

Available commands

As per UTH guys; not all this is true or useful, hence the barred commands

To control the nodes , we use the following commands :