Starting LoRa Failed with MKR WAN 1300


I have two MKR WAN 1300 and I'm trying to communicate between them using LoRa. I'm using the sender code that is found in the Examples menu. The code is

#include <SPI.h>
#include <LoRa.h>

int counter = 0;

void setup() {
while (!Serial);

Serial.println("LoRa Sender");

if (!LoRa.begin(915E6)) {
Serial.println("Starting LoRa failed!");
while (1);

void loop() {
Serial.print("Sending packet: ");

// send packet
LoRa.print("hello ");



I just got the message

LoRa Sender
Starting LoRa failed!

Any hint?

I found the problem, just update the firmware using MKRWANFWUpdate_Standalone program that is propvided in the examples

@victorg2310, well done solving this yourself.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with your project :wink: See About the Installation & Troubleshooting category.

In future, please apply code tags to code that you post. It makes it easier to read, easier to copy and prevents the forum software from incorrect interpretation of the code.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.