Hi all,
I've updated the firmware of the LoRa module using the MKRWANFWUpdate_standalone sketch from the MKRWAN_v2 library to version 1.3.0.0 .
Before doing so the examples from the LoRa library (https://github.com/sandeepmistry/arduino-LoRa) worked fine. After updating I get the message "Starting LoRa failed!". This message is triggered by the LoRa.begin(frequency) function (as per the examples).
void setup() {
Serial.begin(9600);
while (!Serial);
Serial.println("LoRa Receiver");
if (!LoRa.begin(915E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
}
In this function there is the following piece of code:
uint8_t version = readRegister(REG_VERSION);
if (version != 0x12) {
return 0;
}
The contents of version is 0xFF...
I've tried to downgrade the firmware to various versions (1.1.6, 1.2.0) but I did either didn't do it properly (I've downloaded the 1.1.6 fw.h from github via the history option) or I've got to do something else entirely.
How can I solve this?