Anyone tried Laird RM1XX modules?

1 Like

In User manual, it is mentioned that RM186 contains Bluetooth BL620 and SX1272 LoRa chipset. I am able to run the LoRa smartBASIC sample applications, which requires internet to run the application. I wanted to know whether it always requires internet to run the application? Or can we compile, load and run without using internet?
Also I wanted to know how to use the BL620 chipset of RM186 module? Sample applications are given but I don’t know the steps as to how to execute them on RM186 module. Laird provides a manual but there execution explained considering BL600 DVK, I wanted to do for RM186 DVK.
Kindly provide the feedback at the earliest.
Thanking you in anticipation…

  • you don’t need internet to compile or run, however you can enable XCompile online

ompile online to

further I want to point to these PDF’s :

which you can find here > Sentrius RM1xx LoRa + BLE Module | Laird Connectivity is now Ezurio under documentation

in fact you can compare it a bit to Arduino, write some code, compile it, upload it and run it.
so it’s a standalone lora module with i/o, you don’t need , like with the rn2483, an external processor to control.
just upload some compiled basic code.

1 Like

You do not need an internet connection to run applications, only compiling them for the system using the online compilation service. If you are using Windows to communicate with the modules then you can download the RM1xx firmware from the Laird site, create a folder named ‘compilers’ in the UwTerminalX folder and put the XComp_*.exe files in that folder, then you can compile applications for that firmware locally on your PC without an internet connection. The RM1xx itself does not require an internet connection.

The code you write (smartBASIC) is running on the BL620 (or BL600 if using the peripheral firmware), the RM1xx has 3 smartBASIC extension manuals on the documentation tab: LoRa functions (the functions you can use for the LoRa module), BLE Peripheral functions (the BLE functions you can use if using the peripheral firmware) and BLE Central functions (the BLE functions you can use if using the central firmware). In addition you can use any of the smartBASIC core functions (listed in another document) in any firmware.

The compilation and download process for RM1xx is the same as BL600, code your program, save it as a .txt or .sb file, open UwTerminalX and setup the connection to your RM1xx board then click connect, right click and select ‘XCompile + Load + Run’ and select your code - if you have the required XCompiler locally on your Windows system then it will use this to compile the application otherwise it will use the online compilation service - the code will then download to the module and once finished downloading the program will execute. If there is an error then you will get a popup error box describing what the problem is.

I see on the Laird blog that in May something is changing due to new EU directives.
What will be changing for the RM186 ? hardware/ firmware/ doc’s only ?

Hi everybody,

It’s been a while that I follow the topic, thanks for all infos ;-).

Now I’m trying to get my module in peripheral mode, but I cannot find the firmware, on laird’s support they said it’s on lairdtech and on Lairdtech i found nothing on the product’s page. So if somebody could be nice enough to upload it somewhere, or provide me with a working link, it would help me a lot :-).
BTW, If as said somewhere in this topic the chip is Nordic RF51822 it may be possible to upgrade using this method https://github.com/RIOT-OS/RIOT/wiki/Board:-yunjia-nrf51822 , using openOCD and a st-link (~10€ with a nucleo) instead of this expensive segger device. As far as I see in the RM1XX’s datasheet (p24), only SWDIOn,SWDCLK, VCC and GND are used on the connector. I’ll give it a try (( if I can get the hand on a firmware) and I keep you informed

The upgrade script and tools - namely nrfjprog - needs Segger it doesn’t work with OpenOCD (unless you’re willing to dig REALLY deep)

However it is possible to flash a Segger J-Link firmware onto $10 ST Nucleo board using this process https://www.segger.com/jlink-st-link.html and the script won’t know any better and flash away nicely - but of course you shouldn’t do this because it’s against the Segger license to use it with anything else other than ST boards.

Did you made the effort to read some documentation on the LAIRD site ?
The RM186 has nothing to do with the arduino IDE.

In the comments it is mentioned you can connect arduino shields to the dev board. Not Arduino itself. That is possible by connecting RX and TX of an Arduino to TX/RX of the RM186, but the RM186 needs to be programmed in smartBASIC to communicate with the Arduino.

Checking the documentation the module does not seem to support ‘plain’ LoRa communication, just LoRaWAN. As a result it is not possible to communicate from one module directly to another.

Can we configure RM186 module placed on breadborad as Transmitter and the one placed on DVK as receiver, and establish point to point communication?
Simple UART communication ?
Can you please provide any help for P2P communication between the RM186 modules?
If p2p is not possible, can i know the reason?

So, u mean to say RM186 is only LoRaWAN module, and not LoRa?
Can I know the difference between the two: LoRaWAN and LoRa modules?

LoRaWAN does not do P2P.

That is what the documentation suggests. Feel free to read it yourself…

LoRa is a radio protocol only. LoRaWAN adds the network protocol. See this explanation. BTW, feel free to search the answers to these kind of basic questions yourself. It takes about 20 seconds with google.

Hi Jmarcellino,
I gave it a try, segger’s soft will eventually show an alert saying “you can only use this with ST devices” ;-), But it was a nice try. I’ll try to get back to openOCD for better or for worse.

Still TY for the trick :slight_smile:

Weird, did that error appear when running the update script from Laird?

Yep, actually the first call to nrfjprog for reading the “wormold” triggered the error :-(. Not that surprising but disappointing for sure ;).
And wormold.tmp contains “error couldnt connect to nrf51822xxblah”
But there are hopes that we can program it through openOCD, look at this post for example:
https://devzone.nordicsemi.com/question/14761/programming-nrf51822-using-swd/
Still I must analyse the script and take care not to erase some proprietary Laird’s bootloaders or so and fry the module :smiling_imp:. It might not be a piece of cake but I still think it’s feasible, since Laird’s script does not seem to use anything but the nordic’s nrfjprog and the nrf2hex that seems to be a standalone program…To be continued in the coming week :-)…

1 Like

Well I didn’t try on Windows but the macOS version of nrfjprog (from Nordic) had no complaints… Sorry if my suggestion sent anyone on a wild ride!

Yeah you need to reverse the operation of the upgrade script to save that worm thingie and write it back via openOCD. Even nrf2hex is quite simple, I started on a small python script to replicate it in order to get a more cross-platform upgrade script running on Linux and macOS.

Good luck :slight_smile:

I have a Bluefruit EZ-LINK that I want to use as (Wireless) FTDI to program RM191 Soldered on Mini Breakout.

The pins are confusing me, on RM1xx there is CTS/RTS. On Bluefruit DSR/DTR. I assume it’s possible to use UART
to program this module?

The spec mentions the support for it.

Appreciate, Any idea on how to wire it up without toasting things.

I think your best option is to leave the CTS/RTS pins disconnected and turn off flow control in uwterminal.

1 Like

Thanks! that did the trick!

Below is my config, if someone else thought of using bluetooth classic as wireless FTDI to program the module.