Code Monkey home page Code Monkey logo

dw1000's People

Contributors

gavanfantom avatar mcb30 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dw1000's Issues

installing module failure. Unknown symbol

Hello, I compiled a module with a 4.19.66 kernel for Raspi. But installing doesn't launch the module. Manual loading the module to the system via sudo insmod gives error with symbol. In dmesg we can see couple of errors:
[ 4199.416354] dw1000_mod: Unknown symbol ieee802154_free_hw (err -2)
[ 4199.416460] dw1000_mod: Unknown symbol ieee802154_register_hw (err -2)
[ 4199.416561] dw1000_mod: Unknown symbol ieee802154_alloc_hw (err -2)
[ 4199.416610] dw1000_mod: Unknown symbol ieee802154_xmit_complete (err -2)
[ 4199.416707] dw1000_mod: Unknown symbol ptp_clock_register (err -2)
[ 4199.416777] dw1000_mod: Unknown symbol ieee802154_rx_irqsafe (err -2)
[ 4199.416930] dw1000_mod: Unknown symbol ptp_clock_unregister (err -2)
[ 4199.417149] dw1000_mod: Unknown symbol ieee802154_unregister_hw (err -2)
[ 4387.522510] NET: Registered protocol family 36
[ 4408.398188] dw1000_mod: Unknown symbol ptp_clock_register (err -2)
[ 4408.398389] dw1000_mod: Unknown symbol ptp_clock_unregister (err -2)
[ 4412.838619] dw1000_mod: Unknown symbol ptp_clock_register (err -2)
[ 4412.838825] dw1000_mod: Unknown symbol ptp_clock_unregister (err -2)

lsmod showing that 802154 module is loaded:
ieee802154_socket 24576 0
mac802154 73728 0
ieee802154 81920 2 ieee802154_socket,mac802154

tricks to increase transmission speed

Hello, i setup to use the DW1000 chip with a direct connection to RPi4. Chip is on EVB1000 board. I have 2 boards. Both configured for channel 7, cfg->rate 2, cfg->pulse 2, get pcode 12. Im using iperf3 test program to test UDP connection between boards and best speed that I can achieve is 1Mbit. I want to have 2.5Mbit. Is there some tricks that will help me to increase communication speed?

TX data message failed: -22

Hi,

I have cross-compiled your driver for a Yocto-linux embedded device (with no errors).
However, when trying to send frames, I get an error (-22). Do you have an idea from where this could come ?

Bellow more details on the procedure and error :

  1. I load the cross-compiled DW1000 module
  2. Enable wpan0 interface :

ip link set wpan0 down
ip link set wpan0 address 76:dd:3c:55:1c:43:9a:aa
iwpan phy0 set channel 4 2
iwpan dev wpan0 set pan_id 0xCAFE
iwpan dev wpan0 set short_addr 0x0001
ip link set wpan0 up
iwpan dev

  1. Send frames (ping) :

wpan-ping -a 11:22:33:44:55:66 -i wpan0

  1. No frames are sent or received by my other device, and here is the result of dmesg :

[ 38.952695] dw1000_mod: loading out-of-tree module taints kernel.
[ 38.958584] dw1000 spi0.0: device does not support GPIO RESET control
[ 38.958643] dw1000 spi0.0: device does not support GPIO POWER control
[ 38.977691] Initialization
[ 38.977917] dw1000 spi0.0: found model 1.3.0
[ 38.981413] dw1000 spi0.0: set xtal trim 0x0f
[ 38.984084] dw1000 spi0.0: set LDOTUNE 08:88:88:88:88
[ 38.986927] dw1000 spi0.0: has no permanent EUI-64 address
[ 38.988047] dw1000 spi0.0: set antenna delays 0x0000,0x0000
[ 38.992475] dw1000 spi0.0: I read dev_id : 0xdeca
[ 51.479224] dw1000 spi0.0: set channel 2
[ 51.501790] dw1000 spi0.0: promiscuous mode disabled
[ 51.501989] dw1000 spi0.0: set PAN ID cafe
[ 51.502180] dw1000 spi0.0: set EUI64 76dd3c551c439aaa
[ 51.502366] dw1000 spi0.0: set short address 0001
[ 51.503086] dw1000 spi0.0: started
[ 58.799961] random: crng init done
[ 67.537920] dw1000 spi0.0: TX data message failed: -22
[ 68.046570] dw1000 spi0.0: TX data message failed: -22
[ 68.556604] dw1000 spi0.0: TX data message failed: -22
[ 69.066571] dw1000 spi0.0: TX data message failed: -22
[ 69.576597] dw1000 spi0.0: TX data message failed: -22
...

Thank you and have a good day

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.