Gateway software for RAK833-EVB

(Roman St) #1

I bought RAK833-EVB (LoRa concentrator with WiFi OpenWRT board) before finding documentation for it. I was under assumption that software would be available to use it as a fully functional gateway since the hardware is very similar to DYI Outdoor, RAK7258.

Now, when I started playing with it, I can’t find any support documents showing how to make it work as a gateway - it shows only how to run simple tests. Seems like a waste of money and resources if I can’t do more with it.

Could you add support for this board to run the same gateway software as on DYI Outdoor and indoor gateways? It should not be a big effort to do since hardware differences that affect software look very minor. Or, could you publish the source code, so I could do the adaptations myself?

(Fomi Tong) #2

Hi, @roman

I’m sorry for it, but there is actually a fully open source project developed by RAK team for RAK833-EVB on Github:

In this project readme, you can find how to use it.

(Roman St) #3

Thank you @Fomi .
Compiling OpenWRT from scratch takes forever. Is there a compiled binary (SPI interface version) somewhere for this project?

(Fomi Tong) #4

You need SPI interface version?
There already has a compiled binary on RAK website, but it is an USB interface version.

I can compile a SPI interface version for you today. If done, i’ll updatec it on RAK website, and reply on this topic. Just wait for me.

(Roman St) #5

I’m not completely clear on the difference between USB and SPI versions. Does the USB version require an external host computer to run packet forwarder and the SPI version runs the Packet Forwarder on RAK833-EVB standalone? If this is the case than, yes, I’d prefer to use the SPI version for single board gateway.

Thank you!

(Fomi Tong) #6

Hi, @roman

I see now. Actually, they both needn’t an external host computer.
The SPI or USB interface is the connect way between RAK833 module and MT7628 board.
RAK833-EVB is an USB interface, so you should use the compiled binary i mentioned above.

(Roman St) #7

Hi @Fomi
Firmware tab does not exist - there is only tab for MT7628 Firmware and RPi Firmware. MT7628 Firmware tab shows image that has SPI in the file name. Is this the one to use? Will it use SPI interface instead of USB?

Do the board jumper settings change between SPI and USB versions? If so, how?

When I was previously working on this EVB, I flashed it with the image for the DYI gateway, thinking that it would be compatible with EVB. Now, I’m not able to get the initial BIOS options to reflash it with other firmware. I only get login, but the default credentials for OpenWRT (root, no password) don’t work. How do I recover this EVB?

(Fomi Tong) #8

Hi, @roman

I’m sorry for late reply because of the holiday in China.

RAK833 supports both of SPI and USB interface, and you can use SPI or USB on EVB board. This firmware is only for SPI, but if you need a USB version firmware, i can supply soon.

About the last question, can you confirm that the bootloader of EVB board works fine or not?

(Fomi Tong) #9

Hi, @roman

I’ve updated the SPI interface and the UB interface firmware on RAK website, please download from here:

(Roman St) #10

Thanks, @Fomi.
About my last question, the bootloader works fine since the application is loaded. The problem was that the prompt for image reflash was not printed out, but pressing “2” quickly anyway allowed me to reload it. So, I resolved it. The new image (SPI version) works great. I just had to create a new global_conf.json for the US frequencies (the default one was for EU).

(Fomi Tong) #11

That’s great! :clap: