Support for Raspberry Pi 2.

9 years 1 month ago #752 by VasilijHCN
at this moment i have only esp8266 nodes

Please Log in or Create an account to join the conversation.

9 years 1 month ago #759 by lewys.martin
yeah those things work fine, only thing i can see thats not working is nrf24


maybe sms gateway? but i dont know if my modem works....

Please Log in or Create an account to join the conversation.

9 years 1 month ago - 9 years 1 month ago #774 by jamest42

EasyIoT wrote: Thanks for test.
Problem is in BCM library. I've checked on their site. They ported lib to Raspberry 2, but nobody confirmed if it works. I think It's to early to do anything more. First we will wait for working BCM library... I think this is the only library which is dependent on Raspberry Pi HW.


According to the author the problem is fixed in 1.39.
groups.google.com/forum/#!topic/bcm2835/2yEPp9aVMQY

If there is indeed another error, it doesnt seem to be known in the discussion group.

So any updates to 0.6 to fix this? I dont see how to update this by myself, i can't find a bcm.h in the files.

Please Log in or Create an account to join the conversation.

9 years 1 month ago - 9 years 1 month ago #775 by EasyIoT
Replied by EasyIoT on topic Support for Raspberry Pi 2.
Yesterday I've invested some time to add support for Raspbery Pi 2. Since I do not own Raspberry Pi 2 I can not test changes.
Here are two files to overwrite in latest beta release:
iot-playground.com/swdownload/betaV0_7/libbcm2835.so
iot-playground.com/swdownload/betaV0_7/librf24-bcm.so

First file is for GPIO driver, second is for MySensors driver. Main change is base address used by BCM chip. New address should be visible in /proc/device-tree/soc/ranges. Please test new libraries and report if it works on Raspberry Pi 2.

Please Log in or Create an account to join the conversation.

9 years 1 month ago - 9 years 1 month ago #776 by skywatch
YES!!! - It works nicely! :woohoo:

Thank you!

Skywatch.

Please Log in or Create an account to join the conversation.

9 years 1 month ago #781 by gasper
Replied by gasper on topic Support for Raspberry Pi 2.
Hey,

when adding new node i get unhandled exception...

Unhandled Exception:
System.EntryPointNotFoundException: CSharp_RF24_write_1
at (wrapper managed-to-native) MySensorsDriver.RF24_wrap:RF24_write_1 (intptr,byte[],byte,bool)
at MySensorsDriver.RF24.write (System.Byte[] buf, Byte len, Boolean multicast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.sendWrite (Byte next, MySensorsDriver.MyMessage message, Boolean broadcast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: CSharp_RF24_write_1
at (wrapper managed-to-native) MySensorsDriver.RF24_wrap:RF24_write_1 (intptr,byte[],byte,bool)
at MySensorsDriver.RF24.write (System.Byte[] buf, Byte len, Boolean multicast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.sendWrite (Byte next, MySensorsDriver.MyMessage message, Boolean broadcast) [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.process () [0x00000] in <filename unknown>:0
at MySensorsDriver.MySensors.workerThread () [0x00000] in <filename unknown>:0
at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0

Please Log in or Create an account to join the conversation.

Time to create page: 0.200 seconds

Forum latest

  • No posts to display.