Skip to content

Common mistakes ​

This chapter covers what goes wrong on any box in this line, whatever its application. Problems specific to one kind of equipment are in that application's own FAQ.

Read the LED first ​

The box has one LED and it is worth ten minutes of bus tracing.

The LEDThe box isWhat to do
blinking once a second, evenlyrunning normallythe fault is elsewhere — bus, settings, channel wiring, or the equipment
flashing about two and a half times a second for two seconds, then back to normalanswering a locate requestnothing — someone asked this box to identify itself
steady on, or steady off, with the box powerednot running its application: stuck during startup, or still in the bootloaderpower-cycle it once. If it comes back the same way, note the product ID and software version and report it — it does not fix itself
off, with no power at the boxnot poweredcheck the supply

There is no separate blink code for a firmware problem. A box that cannot start its firmware simply never starts blinking.

The box does not appear on the bus at all ​

Likely causeHow to tellFix
It has never been given an instance numbera factory box ships with InstanceNum = 255, which means "not addressed" — it answers a UID scan but publishes nothingmuxen-uds -i can0 uid --scan, then give it an instance number by UID
The MUXEN bus is not terminated correctly60 Ω across a powered-down bus; anything near 120 Ω or 40 Ω is wrongone 120 Ω at each physical end, nowhere else
No power, or the CAN connector not wiredLED offcheck supply and the CAN connector
The CAN wires are on a serial channelthis box has one CAN connector and four serial connectors, and they are not the same thingmove the CAN pair to the CAN connector

A box with no instance number is not broken and does not need reprogramming. It is waiting to be told who it is. It still answers a UID scan, and the scan is how you reach it:

sh
muxen-uds -i can0 uid --scan

muxen-uds -i can0 scan lists what is already publishing on the bus; uid --scan also finds the boxes that are not.

Two boxes fight over the same identity ​

Two devices with the same function and the same instance number on one bus produce values that jump between two sources, alarms that clear themselves, commands that reach the wrong box. It happens whenever a second gateway is added with the settings of the first, or a spare box is installed without being reconfigured.

Remember that one box publishes several devices: its own generic I/O, plus one device per serial channel that carries something. Every one of them needs its own instance number, and they are configured independently.

muxen-uds -i can0 uid --scan reports addressing collisions. Each function + instance pair must appear once.

If you cannot tell two identical boxes apart in a locker, ask one of them to flash:

sh
muxen-uds -i can0 -d <address> locate

Nothing arrives from the equipment on a channel ​

Likely causeFix
Wrong firmware for that equipmentcheck ProductId against the catalogue in CAN / serial gateways — Overview
Speed or duplex mode wrongboth are fixed by the firmware, not settable on the board. If the equipment is configurable, it must be set to what the firmware uses — see The hardware and the application manual
The equipment is on the wrong channelchannels are numbered 1 to 4 and each application decides what it expects on each one
The two wires are swappedon a two-wire Modbus segment this is silent — nothing answers, nothing complains
The segment is not terminated, or terminated twiceone termination at each physical end; the gateway supplies its own end when the firmware turns it on
The equipment's own address is not what the application expectssee the application manual
The equipment is off, asleep, or in a mode where it says nothingpower it up and make it do something

One channel going quiet does not affect the other three. If all four went quiet at once, look at the box — power, firmware, LED — not at the equipment.

The relay or the analog input does nothing ​

SymptomCauseFix
the box's own I/O never appears on the busEnGenIo is 0 by default — the generic I/O device is off until it is enabledset EnGenIo to 1, give the I/O device an instance number, and restart the box
the analog input reads 0 mVnothing is wired to it, or the sensor has no supplycheck the sensor and its supply
the dry-contact inputs never activatethere are none — see The hardwareuse the relay and the analog input, or a separate MUXEN I/O device
the second relay does nothingthere is only one relay—

A setting I changed has no effect ​

Every parameter takes effect only after a restart. Writing a setting stores it in the box's memory; the box reads its settings once, when it starts, and works from that copy until it is restarted. Nothing rejects the write, nothing warns you, and reading the parameter back shows the new value — because the read comes from the stored copy, not from the running one. The box is simply still running on the old value.

Always write with --reboot:

sh
muxen-uds -i can0 -d <address> writeconfig --name <name> --value <value> --reboot

If you changed several settings without it, one restart at the end applies them all.

After a factory reset, the box has disappeared again ​

The factory-reset routine restores every parameter to its default. All the pairing, all the per-channel configuration, all the application settings are gone. The instance number can be kept or reset depending on how the routine is called — and if it was reset, the box goes back to 255 and stops publishing.

There is no undo. Read the configuration out and keep it before resetting anything:

sh
muxen-uds -i can0 -d <address> readconfig

The firmware update failed ​

Nothing is damaged. The box is still running the firmware it had before — that is by design, see Loading and updating a firmware. The usual causes, in order: an image built for another board (5.x versus 6.x, or -MODBUS versus -SERIAL-V2), a bus busy or interrupted long enough for the transfer to time out, or simply the wrong product. Check the hardware ID and the software version of the box, pick the matching image, quiet the bus, retry.

Integration of multiplexed solutions
MUXEN and the MUXEN logo are trademarks of MUXEN SAS.