RN2483 firmware updater

Since Microchip never published an Aussie firmware we have never had a chance to play with the RN2XXX modules in the past. However, lately there has been some movements and we might be able to get our hands on some files soon.

While I am waiting to get my hands on the Tindie RN2903 breakout boards, I’ll fire away and ask the Nooby questions.

Does you solution work for RN2903, you reckon? afaik RN2903 and 2483 are quite similar in many ways.

We don’t have any of SODAQ products but we do have couple of UNOs lying around in R&D (and an Stalker). Did you give any of them a go in your experiment? (my guess is no, or you would’ve mentioned it but wouldn’t hurt asking :slight_smile:)

Cheers,

Mehrad

Hi Guys,

This upload program only works on Arduino boards with the SAMD chip.
We have developed the program for the SODAQ ONE. We have added the support for the SODAQ ExpLoRer and SODAQ Autonomo + LoRaBee in the next version. We will push it to our public github tonight.

@IoT_Marco
To let it work for the Autonomo we added the BEE_VCC pin to enable the power on the bee socket.
pinMode(BEE_VCC,OUTPUT);
digitalWrite(BEE_VCC,HIGH);

The program will NOT work on the Things UNO and NOT on the SODAQ Mbili because it is written for the SAMD chips.
@Mehradzie
Yes it works on both RN modules, but only when you use a micro controller with a SAMD chip like the Arduino Zero or SODAQ Autonomo.

If you still get the message: “The module did not respond”
Give the board an power cycle. Disconnect the usb cable for 10 seconds and re-open the serial monitor.

Regards,
Jan van Loenen
SODAQ

3 Likes

Thank you Jan!

I modified the sketch and now it’s working :slight_smile:

Regards,
Marco

1 Like

Hi Jan, Is it possible to use this on the SODAQ Mbili board ?

Hi,

No.
The programm is written for the Cortex M0 chip.
Maybe a friend of you has an Autonomo?

Best regards,
Jan

Hi, I have a MKL82Z128 mcu, would be possible to upgrade the RN2483 module via UART? (without using java application or an evaluation board like Mote)

Thanks.

absolutely, it is possible
I forked the Sodaq Firmware Updater a couple of days ago, and I made some changes to be able to upgrade my RN2483 soldered on my ESP8266 RN2483 Shield, on other Arduino Zero boards and on ESP32.

Should be a good starting point, here is the repo, many thanks from Sodaq sharing original code

4 Likes

FYI, has been updated with version 1.0.3 for RN2903 US modules, looks like Sodaq Official has not been pushed to this version yet

You can do the update via a simple serial 2 usb device, what can be easier than that? Here’s a tutorial: https://www.pocketmagic.net/rn2483-rn2903-firmware-upgrade-guide/

1 Like

see also HowTo: Update RN2483 Firmware on 'The Things Node'

1 Like

And another successfull upgrade:

44

2 Likes

This may be a stupid question - but when it says all you have to do is upload a sketch…

What sketch is it? - I dont see any INO files in that repository

I have a Sodaq Explorer that isnt playing the game at the moment - and want to upgrade the firmware on it.

cheers
Paul

Hi @Paul_Stewart,

You can find the sketch on GitHub.

Let me know if you have any question about updating the RN Firmware.

Best regards,
Jan

Thanks :+1:, it was a stupid question - just didn’t open my eyes and missed it - long day at work

Unfortunately for this Sodaq Explorer it stalls and doesn’t go any further at “Hex file image verification successful!”

and in Bootloader mode I get the “Module did not respond” message.

I have an RN2903 module and trying to use HexFileImage2903AU_097rc7.h

Any hints to try?

cheers
Paul

Hi @Paul_Stewart,

This is a known issue.
Update your IDE to the latest version and also the SODAQ Board files.
You may have to update to the new download url, see:
https://support.sodaq.com/sodaq-one/arduino-ide-setup/

Best regards,
Jan

what sometimes also helps is lower the speed to… very low :sunglasses:

OK I will give that a go, when I have used the latest version of board files, an Explorer is recognised on USB as a SARA - not sure if this effects communication with the board

This is normal, the Arduino IDE picks the first SAMD M0 board in your list.
It used to be the Explorer, now it’s the SARA. If you install the Arduino M0 Board files, the board suddenly is a Arduino Zero.

Best regards,
Jan

OK thanks got it updated - here are my experiences.

Once I updated board files to 1.6.19 (latest at the moment) - board identified as SARA and firmware updater worked.

But to using the simple example for the explorer (from the Sodaq page) results in

Network Connection failed!
There was no response from the device.

I rolled back through the board file version until 1.6.15 where it not only started to identify the board as an Explorer again (on a different com port) but also connected to the network - after lots of unsuccessful tries.

I then also rolled back the Sodaq_RN2483 library back a version to 1.0.10 and instant connection again and again after each reset of the board.

So for me with a fairly old Rev5b board - the combination of Board 1.6.15 and Library 1.0.10 works for me

cheers
Paul