Hello. On Fri, 2011-04-01 at 10:04, Werner Almesberger wrote: > Stefan Schmidt wrote: > > - RF chip connecting via SPI to a microcontroller > > - This controller bridges between SPI on the RF side and USB on the > > host side > > Yup. > > > - The linux host drives the RF over USB. Are you using some "SPI > > packaged in USB" for this or the serial protocol defined by the > > linux-zigbee project? > > The protocol is slightly above SPI: its primitives are currently the > six transfer types (register read/write, buffer read/write, and SRAM > read/write) supported by the AT86RF230/231. > > The control transfers are listed here: > http://projects.qi-hardware.com/index.php/p/ben-wpan/source/tree/master/atusb/fw/include/atusb/ep0.h > (Needs a monospaced font to look right.) > > This protocol will still evolve a bit: interrupts are currently > only polled, we may need some additional command for production > testing, and it probably also makes sense to combine some > sequences of operations, maybe even have automatic reception of > frames to a temporary buffer in the MCU.
Intersting. The interrupt polling scares me a bit. :) I will have a look at the code after April 11th (last diploma exam before I can concentrade on the thesis). > > (- Controller flashing is done via DFU?) > > Aye, with dfu-util :) As soon as I solve the USB reset issues. Yeah, I hoped for that. :D Is the reset problem on the dfu-util side or on the bootloader side? We might have some bugs left in the reset handling of dfu-util not following the standard as we should. Maybe related. Did you write the bootloader part from scratch or did you base it on the u-boot or sam7-dfu patches from Harald? > > Did I get all the pieces correctly sorted out? > > Yup, sounds good. Great. So I'm on the list waiting for the first batch being available to get some. :) regards Stefan Schmidt _______________________________________________ Qi Hardware Discussion List Mail to list (members only): [email protected] Subscribe or Unsubscribe: http://lists.en.qi-hardware.com/mailman/listinfo/discussion

