Troubleshooting

I am not able to install Ninja on Windows

If pip complains with WARNING: The script ninja.exe is installed in ‘xxxxxx’ which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location. , you probably need to install Python from the official page instead of Windows Store.

How Do I Find My UART Port on Windows?

When you connect a development board to a windows PC, Windows will install driver for it. After the driver has installed, you will have a new COM port listen in device manager like this:

Find COM port

Find the COM port

How do I connect the USB UART to my Linux Virtual Machine

Connect it using Devices->USB->FTDI FT230X Basic UART like this:

Connect UART in Linux VM

Connect UART in Linux VM

I get a permission denied on my ttyUSB port

You need to be part of the “dialout”-group in Linux. You can add yourself using this command:

sudo adduser YOUR_USERNAME dialout

You need to log out and in again for the changes to take effect.

How do I find my UART Port on Linux

On Linux, you will have a device called /dev/ttyUSB* . The first board you plug in will get ttyUSB0, the next will have ttyUSB1 etc. No driver installation is necessary.

I am not able to use make on Windows

The make tool may not write its location to the system PATH variable.

To fix this:

  1. Go to «System Propterties». You can search for «environment variables» in the Start menu.

  2. Select the «Advanced» tab

  3. Click «Environment Variables» near the bottom of the window

  4. Select Path from the upper list (User variables). Don’t use the «System variables»

  5. Select Edit

  6. In the new window, select «New»

  7. Fill in the path (Probably C:\Program Files (x86)\GnuWin32\bin) and click «OK»

Select environment variables

Select environment variables

Edit environment variables

Edit environment variables

My make behaves strange

There may be other installations of make on your computer

To fix this:

  • Remove the other installations of make

  • Move Up/Down the path entries in the “Edit environment variable” window

Common Runtime Issues

Node is not joining the network

Typical checks:

  1. Verify that all nodes use the same network key.

  2. Verify that all TSCH nodes use the same TSCH parameters.

  3. Verify that active/passive TSCH mode is consistent across nodes.

  4. Confirm that Border Router and child nodes are started with the intended role in RIIM_SETUP().

If the issue persists, review tuning guidance in Network Tuning.

Cannot connect to bootloader during upload

Typical checks:

  1. Confirm serial port is correct (COM* or /dev/ttyUSB*).

  2. Reset the board when prompted by the upload tool.

  3. Ensure no other terminal program is currently using the same serial port.

  4. On Linux, verify permission to access /dev/ttyUSB* (dialout group).

For setup details and upload flow, see Quickstart.

High packet loss or unstable latency

Typical checks:

  1. Start from conservative TSCH settings and tune gradually.

  2. Avoid overly aggressive slotframe values in dense networks.

  3. Add startup randomization in large networks to reduce bursts.

  4. Verify network topology assumptions (dense vs sparse).

For tuning details, see Network Tuning and Network Timing and Latency.

CoAP timeouts or queue buildup

Typical checks:

  1. Avoid sending new CoAP requests before response/timeout from previous requests.

  2. Remember that retries and total timeout can be long.

  3. Reduce request rate when network is congested.

  4. Validate link quality and TSCH settings if timeouts are frequent.

See CoAP behavior in API Usage and tuning guidance in Network Tuning.

No output from Debug.printSetup

Typical checks:

  1. Confirm that module has loaded the appropriate platform image.

  2. Call Debug.printSetup() from a callback (for example a one-shot timer callback).

  3. Verify UART settings (port and baud rate) and that no other process uses the port.

See the Debug API example in API Usage and startup guidance in Quickstart.