* Re: [Linux-zigbee-devel] Cannot get MRFs talking. Not sure what I've done wrong.
[not found] <01C25E88-7F4B-4669-9BB6-AED08C4B66EE@elephantheadsoft.com>
@ 2014-11-01 8:47 ` Alexander Aring
[not found] ` <A4A370F0-05B7-4FCC-83BA-2633D54680E0@elephantheadsoft.com>
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2014-11-01 8:47 UTC (permalink / raw)
To: Dr. Aditya Nagrath PhD; +Cc: linux-zigbee-devel, linux-wpan
Hi,
On Sat, Nov 01, 2014 at 02:01:55AM -0600, Dr. Aditya Nagrath PhD wrote:
> I am trying to get a MRF24j40 on a BeagleBone Black to talk to an arduino with a mrf24j40. I have successfully communicated arduino to arduino but as of yet have not been able to receive the packets being sent out on the BBB.
>
> The setup: I have GPIO_13 going to reset (pin 2), GPIO_14 going to wake (pin 3) and GPIO_29 going to interrupt (4). The 3.3v is going to vin on 10 and ground on pin 1. I am using SPI1 with the HDMI ports disabled. D0 is mapping to pin 7 (SDO) and D1 is mapping to pin 5 (SDI), P9.31 the clock goes to pin 6 and P9.28 goes to pin 8.
>
> I have been able to log into the BBB via ssh. I then load the cape for the MRF24j40 using the echo to /sys/devices/bone_capemgr.9/slots
>
> This appears to load the driver properly.
>
> I have then been able to do:
>
> iz listphy
> iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version information available (required by iz)
> iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version information available (required by iz)
> wpan-phy0 IEEE 802.15.4 PHY object
> page: 0 channel: n/a
> channels on page 0: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
>
> iz add wpan-
> iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version information available (required by iz)
> iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version information available (required by iz)
> Registered new device ('wpan0') on phy wpan-phy0
>
> I decided to set all my addresses to simple things on the arduino side in case there is some sort of endian problem so the pan id is 0, the address of the sender is 0 and it sends the data to 1, thus I try to set the beaglebone to pan id 0, address 1 with a destination address of 0.
>
> root@beaglebone:~# iz set wpan0 0 1 12
> iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version information available (required by iz)
> iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version information available (required by iz)
> ifconfig wpan0 up
>
> Then I run
> izchat 0 1 0
>
> I get nothing on the BBB side even though the other side is constantly transmitting... and when I type into izchat, I do not receive anything on the other side.
>
> Any help here would be appreciated... I just want to see some data before I start coding. Like I said, this has been tested arduino to arduino and does not have problems.
Mailinglist changed to [0].
Please let me know which kernel, libnl3 and lowpan-tools version do you
use.
Also I need to notice you that I am working on a big rework. With new
userspace tools, etc... I need some time to bring it mainline. The bring
it mainline thing is currently in progress.
I am very busy right now.
- Alex
[0] http://vger.kernel.org/vger-lists.html#linux-wpan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Linux-zigbee-devel] Cannot get MRFs talking. Not sure what I've done wrong.
[not found] ` <A4A370F0-05B7-4FCC-83BA-2633D54680E0@elephantheadsoft.com>
@ 2014-11-01 19:27 ` Alexander Aring
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Aring @ 2014-11-01 19:27 UTC (permalink / raw)
To: Dr. Aditya Nagrath PhD; +Cc: linux-zigbee-devel, linux-wpan
On Sat, Nov 01, 2014 at 10:40:39AM -0600, Dr. Aditya Nagrath PhD wrote:
> Hi,
>
> Apologize for leaving out version information.
> I am using kernel:
> Linux beaglebone 3.8.13-bone50 #1 SMP Tue May 13 13:24:52 UTC 2014 armv7l GNU/Linux
>
can you try to use bleeding edge kernel? [0]
>
> I had to compile the libn1 and tools to get this far since there was a crash in iz add. These are the versions that I downloaded and compiled.
> drwxr-xr-x 11 debian admin 4096 Oct 28 2014 libnl-3.2.25
> drwxr-xr-x 11 debian admin 4096 Oct 28 2014 lowpan-tools-0.3.1
>
this looks fine.
> and just to confirm that they updated:
> root@beaglebone:~# iz --version
> iz: /lib/arm-linux-gnueabihf/libnl-genl-3.so.200: no version information available (required by iz)
> iz: /lib/arm-linux-gnueabihf/libnl-3.so.200: no version information available (required by iz)
mhhh, I didn't get such warning.
> iz 0.3.1
>
> Appreciate your help Alex. Right now I’m under water as well so I understand your pain. Let me know if I can help in anyway
>
Just try a bleeding edge kernel and try again. Then we can see what's
going on there. Also set a eui-64 address (extended address) before
running "iz set". You can do that by "ip link set $WPAN_INTERFACE address $EXTENDED_ADDR".
exmaples for variables:
WPAN_INTERFACE="wpan0"
EXTENDED_ADDR="aa:aa:aa:aa:aa:aa:aa:aa"
Please do these steps while $WPAN_INTERFACE is down.
- Alex
[0] http://git.kernel.org/cgit/linux/kernel/git/bluetooth/bluetooth-next.git
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-01 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <01C25E88-7F4B-4669-9BB6-AED08C4B66EE@elephantheadsoft.com>
2014-11-01 8:47 ` [Linux-zigbee-devel] Cannot get MRFs talking. Not sure what I've done wrong Alexander Aring
[not found] ` <A4A370F0-05B7-4FCC-83BA-2633D54680E0@elephantheadsoft.com>
2014-11-01 19:27 ` Alexander Aring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.