1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 19:04:36 +02:00
ben-wpan/atusb/fw/usb
Alexander Aring 5129029d3b atusb: fw: add support for rzusbstick
This patch adds support for the rzusbstick for the atusb firmware.
More detailed information about this usb stick:

http://www.atmel.com/tools/rzusbstick.aspx

Original I have the rzraven kit:

http://www.atmel.com/tools/rzraven.aspx

Which comes with a special cable and avr dragon programmer. You need
some programmer and wires to the programmers pins. To lookup how to
connect the programmer to the rzusbstick pinout, see:

http://www.atmel.com/Images/doc8117.pdf

page 22 (schematics of the rzusbstick).

Difference between atusb and rzusbstick(rzusb) is mainly the at86rf231
vs at86rf230 one. The rzusb contains the at86rf230 which is a little bit
hard to deal with it (and has a huge errata inside the datasheet).
Nevertheless with small schanges the atusb firmware can run now on the
rzusb. The rzusb contains also a bigger mcu, so we can maybe cache more
pdus for receive handling.

To compile the rzusb firmware call:
make NAME=rzusb

this will generate the rzusb.bin

then call the programmer (in my case avrdude):
avrdude -P usb -c dragon_jtag -p usb1287 -U flash:w:rzusb.bin

NOTE: currently there is no chance (I suppose) to ensure that the atusb
receive the correct firmware, so don't try to flash the atusb with the
rzusb firmware! Also the vendor and product id is the same.

This currently a RFC, it's a quick hack and I think we should update
more the documentation to support the rzusb.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Cc: Stefan Schmidt <stefan@osg.samsung.com>
Cc: Werner Almesberger <werner@almesberger.net>
2016-03-18 20:45:40 +01:00
..
atu2.c atusb: fw: add support for rzusbstick 2016-03-18 20:45:40 +01:00
dfu_common.c atusb/fw/usb/: change a few more uses of ../board.h to board.h 2014-02-24 17:59:49 -03:00
dfu.c atusb/fw/usb/: fix incorrect code point for USB_CLASS_PER_INTERFACE 2015-04-11 14:49:41 -03:00
dfu.h fw/atusb/ (dfu_flash_ops): make const 2015-04-21 08:11:50 -03:00
usb.c Merge branch 'master' of projects.qi-hardware.com:ben-wpan 2015-05-22 04:52:35 -03:00
usb.h Revert "atusb/fw/usb/: enable MCU reset on USB bus reset after config selection" 2015-05-19 16:27:49 +02:00