Issue: Are there any plans to validate the RAK2287 + hat with the new pi 5?
Setup:
Server:
Details:
Issue: Are there any plans to validate the RAK2287 + hat with the new pi 5?
Setup:
Server:
Details:
Hello @Alangward,
We do not have a specific plan, but at some point, it will be validated. I guess the architecture will be the problem. It may be a problem with the compilation of the HAL for the new architecture, but the GPIO control through the standard RPI 40-pin connector should be the same.
Best Regards,
Nikola Semov
Hello,
We have the new Raspberry pi 5, and I was just wondering if there is a plan to validate that the concentrator RAK2287 would work with this pi version in 2024?
Thank you,
Victor
Hello @vctrbls ,
I have just tested with RPI 5 + RAK2287 using GitHub - RAKWireless/rak_common_for_gateway
And it works like a charm, no problem.
I will eventually test all the variants, but I can’t promise when.
Nikola Semov
Hi,
I am trying to get this working and the packet-forwarder fails to start.
There appears to be a problem with the GPIO access.
This is the error output from start.sh:
./start.sh: line 6: echo: write error: Invalid argument
./start.sh: line 7: /sys/class/gpio/gpio17/direction: No such file or directory
./start.sh: line 8: /sys/class/gpio/gpio17/value: No such file or directory
./start.sh: line 10: /sys/class/gpio/gpio17/value: No such file or directory
./start.sh: line 12: /sys/class/gpio/gpio17/value: No such file or directory
./start.sh: line 14: echo: write error: Invalid argument.
The packet_forwarder then starts up up fails to access the required GPIO data:
INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
./reset_lgw.sh: 22: echo: echo: I/O error
./reset_lgw.sh: 25: cannot create /sys/class/gpio/gpio17/direction: Directory nonexistent
CoreCell reset through GPIO17…
./reset_lgw.sh: 31: cannot create /sys/class/gpio/gpio17/value: Directory nonexistent
./reset_lgw.sh: 32: cannot create /sys/class/gpio/gpio17/value: Directory nonexistent
Opening SPI communication interface
Note: chip version is 0x00 (v0.0)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
ERROR: [main] failed to start the concentrator
Any idea what might be happening?
Thanks,
Alan
What’s your concentrator?
What firmware are you using on the RPI?
What software are you using to control the concentrator?
Nikola Semov
Hi @Nikola,
Thanks for the fast response.
Concentrator is 2287 with SPI.
The RPI firmware is the default (x64) full OS provided by the Raspberry Pi Imager. (based on Debian Bookworm)
We have a custom app that is using the packet forwarder UDP port directly. (IT has been working fine for several years)
The RPI is running on a NVMe SSD.
Thanks
Alan
Hello @Alangward ,
You need to replace the two files in this repo with the corresponding files in /opt/ttn-gateway/packet_fwd : GitHub - tvelev/Raspberry_Pi5_test
Also, use sudo chmod +x to make them executable.
It should work after that.
Turns out this version of Raspbian uses a different approach to GPIO control.
Nikola Semov
Thanks,
That fixes the problem.
Alan
Hi again,
That fixed the problem with the GPIO set up, but on closer inspection there is still a problem getting the packet forwarder to start. It fails near the end:
INFO: [main] TTY port /dev/ttyAMA0 open for GPS synchronization
CoreCell reset through GPIO17…
Opening SPI communication interface
Note: chip version is 0x00 (v0.0)
ERROR: Failed to set SX1250_0 in STANDBY_RC mode
ERROR: failed to setup radio 0
ERROR: [main] failed to start the concentrator
Thanks
Alan
Hi,
I don’t know why, but this morning it appears to be working.
Thanks for your time
Alan
Hi,
Spoke too soon!
It was working, but no longer.
This morning when I started the pi the ttn service had failed. I tried restarting it and it then worked - so I assumed there was some dependency in the start up that I’d need to investigate.
However, now it fails consistently with the same output I sent yesterday.
Is there a way I can get more diagnostics?
Thanks
Alan
Hello @Alangward ,
There was a mistake in the scripts, should be fixed now, please download them an try again.
This was a fast fix as a workaround so you can make it work until we fix our rak_common_for_gateways
Here is the link to the updated scripts: GitHub - tvelev/Raspberry_Pi5_test
Nikola Semov
Hi,
Thanks.
These seem to be the same versions as I used on Thursday (4 days old)??
Alan
We changed them about 20 minutes after I shared them with you, I forgot to tell you. There may still be problems, but I think you are just using the old ones.
Nikola
hi @Nikola
Thanks.
It was a holiday yesterday, so I’ve just tried the updated files and it is now working fine - processing messages etc.
Alan
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.