getting started with the ben-wpan boards
David Reyes Samblas Martinez
david at tuxbrain.com
Wed Mar 16 21:27:56 EDT 2011
can I suggest that anyone with the boards (an a not messed up infrastructure :P)
can upload a video with this test some where?
2011/3/17 Werner Almesberger <werner at almesberger.net>:
> This is for the lucky recipients of the ben-wpan samples.
> [ Note: I'm having a chain of infrastructure troubles these days,
> including sudden loss of my old mail address. I'm migrating to
> werner at almesberger.net, but it will take a few days before I'll
> have solved the other infrastructure issues and can then set up a
> proper spam filter. Anything that went to werner at openmoko.org
> since about last Saturday is lost. ]
> You should have received:
> - one atben board
> - one atusb board
> - one atusb-pgm board with ~10 cm ribbon cable and UBB (assembled)
> - two replacement pogo pins taped to the ribbon cable
> Adam, you got all this twice.
> Now, to have fun with the boards, here are a few prerequisites:
> - get the ben-wpan repository from git
> - install the host toolchain for your favourite distribution
> - build and install the tools under ben-wpan/tools on your Ben and on
> your PC (for upload to the Ben, bring it up first and set up USB
> make install
> OpenWRT (add Ben to /etc/hosts as "192.168.254.101 ben"):
> make TARGET=ben_openwrt
> make TARGET=ben_openwrt upload
> Jlime (add Ben to /etc/hosts as "192.168.1.202 jlime"):
> make TARGET=ben_jlime
> make TARGET=ben_jlime upload
> Boot the Ben without the atben card and run
> echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind
> Then insert the card. atrf-id should detect it.
> With Jlime, you can then run
> atrf-rssi -g
> and see what's going on in the 2.4 GHz band. atrf-rssi on OpenWRT
> only has text output (no -g option). atrf-id and atrf-rssi also work
> on the PC with atusb.
> The ping-pong test exercises two-way communication:
> On the Ben, run:
> atrf-txrx -P -p 3
> On the PC, run:
> atrf-txrx -P -p 3 1
> The Ben should now display a series of dots. This means that Ben and
> PC are communicating. When you move further away, the dots should
> eventually become * or -. * means that a packet was received but that
> the peer didn't receive ours. - means a corrupt packet was received.
> If communication breaks down completely, the Ben just doesn't display
> anything. The PC displays a + sign every second, indicating that it's
> trying to kick the communication back to life.
> With this, you can find out how far away you can move from your PC
> before things go bad.
> The atusb-pgm cable is used to change the atusb firmware. For now,
> the installed firmware should be sufficient. The plan is to install a
> DFU-speaking boot loader, so that further upgrades can be done via
> USB and without requiring a special cable. The boot loader is almost
> done, just need to figure out a USB reset problem.
> - Werner
> Qi Hardware Discussion List
> Mail to list (members only): discussion at lists.en.qi-hardware.com
> Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion
David Reyes Samblas Martinez
Open ultraportable & embedded solutions
Ben NanoNote, Arduino, Openmoko
Hey, watch out!!! There's a linux in your pocket!!!
More information about the discussion