Avr Jtagice Mkii Drivers For Mac
The JTAGICE mkII driver can from version 5.40 be used on 64-bit versions of Windows Vista and Windows 7 but not 64-bit XP. If you install AVR Studio Version 4.18, with Service packs 1 and 2, this will update the USB drivers, and the firmware in the JTAGICE mkII. Using the Atmel JTAGICE mkII with Atmel STK. Plan jtag ice mkii will be emailed from Asurion within 24 hours of purchase. This item will ship to United Statesbut the seller has not specified shipping options. Covers failures due to power surge and other mechanical and electrical breakdowns.
Running Contiki with uIPv6 and SICSlowpan support on Atmel RAVEN hardware This tutorial explains how to run Contiki with IPv6 and 6lowpan support on Atmel RAVEN hardware. This tutorial explains how to run Contiki with IPv6 and 6lowpan support on Atmel RAVEN hardware. This tutorial explains how to run Contiki with IPv6 and 6lowpan support on Atmel RAVEN evaluation kit (ATAVRRZRAVEN) hardware. We present basic example system architecture and application scenarios, as well as instructions to run more advanced demos. To run the demo, you will need at least. one AVR RAVEN board, which embeds an ATmega1284P and an ATmega3290P micro controller (MCU) as well as an AT86RF230 802.15.4 radio chip. one RZ USB stick, which embeds an AT90USB1287 MCU and an AT86RF230 802.15.4 radio chip.
one PC running Windows to program the chips. For the demo itself, a PC running Linux or Windows. one On-chip programming platform. We recommend Atmel JTAGICE mkII. Note: Links to detailed hardware documentation are in To install the demo you need:. Contiki 2.3 or later source code, installed in a directory. In the rest of this tutorial we assume the directory is c:/contiki.
Cygwin with 'make' utility installed. AVR Studio 4.14 or later. WinAVR20080610 or later. Windows drivers installed for the JTAGICE mkII. Instructions to install these tools are in the section. To run the demo, you need:. one PC running Linux with kernel 2.6.24 or later, with support for the following kernel modules: IPv6, usbnet, cdcether, cdcacm, rndiswlan.
OR one PC running Windows with IPv6 support. If you use Windows XP, you need Service Pack 3 installed. Note: On windows XP, if ipv6 support is not enabled, enable it by typing in a shell. Cd c:/contiki/examples/ravenusbstick make To power the RAVEN, put the EXT/BAT jumper in BAT position. This will enable power on batteries.
If you want to power the RAVEN externally, check instructions in. The RZ USB Stick needs to be plugged in the PC you will run the demo on. If you plan to run the demo on a Windows PC, you will need to install drivers once contiki is loaded on the stick. Until then, you can exit any driver installation popup. What you need to do.
On the RAVEN board, program the binaries on both AVR ATmega. On the RZ USB Stick, load the binary on the AT90USB1287 Hardware connections. Connect the JTAG connectors to the JTAGICE as described in the picture below. To load the binary on each AVR in Windows. Launch AVR Studio and exit any popup window.

Connect the JTAG pins of the JTAGICE into the JTAG connector of the target processor. In AVR Studio, click on 'Tools'-'Program AVR'-'Auto Connect'. Go to the 'Main tab'. In the 'Programming mode and target settings' list, select JTAG. Select the processor type in the 'Device' list and click 'Read Signature'. If the Device signature is read properly, it means AVR Studio is properly connected to the AVR. Go to the 'Program' tab.
In the 'ELF Production file format' section, browse to the binary, then click program. For webserver6.elf, set the processor to ATmega1284P For ravenlcd3290.elf, set the processor to ATmega3290P For ravenusbstick.elf, set the processor to AT90USB1287 Once the RZ USB Stick is programmed, unplug it from the PC. Note this programmed the fuses, EEPROM, and FLASH all at once.
On Linux Plug the RZ USB Stick in the PC. It should appear as a USB network interface (e.g. Usb0 should automatically get an IPv6 link local address, i.e.
Check this is the case by typing. Echo 1 /proc/sys/net/ipv6/conf/all/forwarding On Windows Plug the RZ USB Stick in the PC. A 'new hardware installation' window should pop up. If it does not, go to 'Control Panel'- 'Add Hardware'.
Choose 'Install the driver manually', then select the search path C: contiki cpu avr dev usb INF. Finish the installation. You now need to get the 'interface index' of the USB Stick interface (noted interface index in the following) and the Ethernet interface (noted ethernet interface index in the following). In a DOS or Cygwin shell, type.
Interface 7: Ethernet. Link-layer address: 02-12-13-14-15-16 preferred link-local fe80::12:13ff:fe14:1516, life infinite. Interface 4: Ethernet: Local Area Connection. Link-layer address: 00-1e-37-16-5d-83 preferred link-local fe80::21e:37ff:fe16:5d83, life infinite. Note the link-layer address associated with interface 7 is the USB Stick.
Hence interface index is 7, ethernet interface index is 4 and ethernet link-local address is fe80::21e:37ff:fe16:5d83. Then you need to. Set the USB Stick interface as an advertising interface. Configure a global IP address on the USB Stick interface.
Add a default route through the Ethernet interface. Set the aaaa::/64 prefix as 'on link' and published on the USB Stick interface. To do so, type. Ping6 -s aaaa::1 aaaa::11:22ff:fe33:4455 The router is sending 5 echo requests to the RAVEN board.
The RAVEN board answers with 5 echo replies. To send a ping from the RAVEN to the router you need to use the RAVEN's joystick and LCD screen. Initially, the LCD screen should print CONTIKI - 6LOWPAN in a loop. You can navigate the LCD menu by using the small joystick just below its lower right corner. To 'ping' push the joystick twice to the right. The RAVEN board sends 4 echo requests to the router, which answers by 4 echo replies. For more information about the LCD menu, please see.
In a Web browser, point to aaaa::0011:22ff:fe33:4455. Then click on 'Sensor Readings'.
If no temperature is displayed it means that you need to start the temperature update process on the RAVEN. To do so you must use the RAVEN's LCD menu and joystick. Starting from the CONTIKI - 6LOWPAN display navigate to TEMP and then to SEND. You can pick either ONCE or AUTO, but in any case you always need to reload the webpage to see the latest temperature reading. For more information about the LCD menu, please see. To power the RAVEN boards externally and enable debug output on RS232, you can use the stk500 board together with the raven. Power:.
Set the 'EXT/BAT' jumper on the RAVEN board to EXT. Attach pin 2 on the bottom strip to GND of your STK500. Attach pin 1 on the bottom strip to VTG of your STK500.
Power the STK500 Debug Connection. Attach pin 4 of the leftmost I/O header to pin 'TXD' on your STK500. Connect the STK500's 'RS232SPARE' port to a RS232 port on a PC.
Connect a terminal program (e.g. Hyper terminal on Windows, minicom on Linux) to the RS232 port on the PC at 57600 Baud, with parity 8N1, no flow control. The raven board will output debug messages to the terminal Note: To enable specific debugging messages, edit the source file you are interested in (e.g. Core/net/uip-nd6-io.c for Neighbor Discovery messages debug) and set the macro DEBUG to 1.
Then recompile the code, load the new binary on the board and restart the RAVEN. The following image shows this connection, with the red and black being VCC and GND. The green wire is debug out.
Note: The output to the RS232 converts will only be about 3V, but they are expecting a signal swinging up to VTG, or by default 5V. You may have to set VTG to 3.3V and power the Raven from another source, making sure the GNDs of both the STK500 and your external source are connected together. There is no widely available 802.15.4 and 6lowpan stack for PCs.
As a temporary solution and to be able to connect IPv6 hosts such as RAVEN boards to IP networks, we implemented a 'bridge' function on the RZ USB Stick. The RZ USB stick bridges 802.15.4 packets to Ethernet (The Ethernet interface is emulated on the USB port). As Ethernet frames and addresses are very different from 802.15.4 ones, a few adjustements are needed on addresses and some neighbor discovery packets. As a consequence, 802.15.4 MAC addresses configured on both the RAVEN boards and the RZ USB stick must have the format. X2:xx:xx:ff:fe:xx:xx:xx where x can take any hexadecimal value. Read the section below to change the MAC address on one device. You can change the MAC address of a RAVEN board or the RZ USB Stick by setting the 8 first bytes of the EEPROM, following the convention above.
Jtagice Mkii Windows 10
You can do this three ways. The first is to set EEPROM bytes directly in an AVR Studio project, in Debug mode. compile the binary file for RAVEN, as explained in. Connect the JTAG pins of the JTAGICE into the JTAG connector of the target processor. IN AVR Studio, go to File-open, select the binary just created. The Debug mode should start.
Click on View-memory. select EEPROM in the menu, then just type in the first 8 bytes the target MAC address The second is to reprogram the whole EEPROM individually from the Flash and Fuses.

Connect the JTAG pins of the JTAGICE into the JTAG connector of the target processor. In AVR Studio, click on 'Tools'-'Program AVR'-'Auto Connect'. Go to the 'Program' tab.
In the 'EEPROM' section, click on 'Read' and save the EEPROM content in a file (in hex format). Edit this file with a text editor, change the value of the first 8 bytes, save. In the 'EEPROM' section, check the path to the 'Input Hex file' is the one to the file you just modified and click on 'Program'. The third is to modify the default value in the code:.
Edit the file contiki-raven-main.c in the directory platform-raven. You will see the MAC address set in a line like.
0xFF, 0x99, 0xE2 for the ATmega1284P on the RAVEN board 0xFF, 0x99, 0xE2 for the ATmega3290P on the RAVEN board 0xFB, 0x99, 0xDE for the AT90USB1287 on the USB Stick. In the same tab, Click on 'Program' To view packets being sent over the air, you can use Atmel AVR Wireless Services in Sniffer Mode, with the RZ USB Stick.
You need the software preinstalled on the RZ USB Stick to do this. Packets are sent on channel 24.
Links to detailed information about AVR Wireless Services is provided with the RZ USB Stick. See the documentation for more details about using Wireshark. One can use avrdude to load the binaries in Linux. IETF Internet Draft draft-hui-6lowpan-hc-01 defines a stateful header compression mechanism (called HC01) which will soon deprecate the stateless header compression mechanism (called HC1) defined in RFC4944. HC01 is much more powerfull and flexible, in particular it allows compression of some multicast addresses and of all global unicast addresses. Contiki is compiled by default with HC1 support. To use HC01 instead, edit platform/xxx/contiki-conf.h (replace xxx with avr-raven, then avr-ravenusb.) and replace the line.
#define SICSLOWPANCONFCOMPRESSION SICSLOWPANCONFCOMPRESSIONHC01 Recompile and load Contiki for both the RAVEN ATmega1284P and RZ USB Stick. If you capture packets being sent over the air (on the 802.15.4 network), you will see that much more packets are compressed than when HC1 is used. Overall, packets sent are much smaller. You can integrate the RAVEN boards and RZ USB stick to a more complete IPv6 network by connecting the PC which you plug the RZ USB Stick in to any IPv6 network with correct routing configured. This way, you will be able to reach the RAVEN boards (to read sensor data for example) from anywhere within this IPv6 network, or even any IPv4 network if v4 to v6 translation mechanisms are used between both networks. You can also have several RAVEN boards in your setup.
If you do so, be sure to configure different MAC addresses on each board. RZ USB Stick Link local address not created on Linux When plugging the RZ USB Stick in a Linux PC, it should automatically configure a link local address (fe80::0012:13ff:fe14:1516/64 with default MAC address). On some Linux distributions, it seems to fail. To check this, in a terminal, type.
Ip -6 address add fe80::0012:13ff:fe14:1516/64 scope link dev usb0 make version issues You need to use the 'make' executable from WinAVR. There are compilation issues with GNU make coming with Cygwin.
USB Stick Platform:. User interface on Raven:. Wireless libraries for Atmel Radio:. MAC for Atmel Radio:. IPv6 Implementation:. 6lowpan Implementation: RAVEN evaluation and starter kits.
ATAVRRZRAVEN evaluation kit:. AVR RAVEN board:.
RZ USB Stick: RAVEN AVRs and Wireless transceivers. ATmega 1284P MegaAVR:. ATmega 3290P LCD AVR:. AT90USB1287 USB AVR:. AT86RF230 802.15.4 Transceiver: Additional hardware.
ATSTK500 evaluation kit. ATEVK1100 evaluation kit. AVR JTAGICE mkII debugging platform Buying the hardware (part number ATAVRRZRAVEN and ATJTAGICE2). For the U.S. You can use. Digikey.
Spoerle. Lawicel Contiki Download Contiki code from and extract the source code. We assume the directory you extract to is c:/contiki. Cygwin. Download Cygwin from. Launch the setup executable. Follow the instructions until you reach the Window 'Cygwin Setup - Select Packages'.
In this window, expand the 'Devel' item and AVR Studio Download and install AVR Studio from WinAVR WinAVR which contains a number of AVR tools such as the avr-gcc compiler. Download and install WinAVR latest version from JTAGICE mkII Drivers Plug the JTAGICE mkII in a USB port of a windows PC.
Follow the indications to install the Windows drivers automatically. Generated on Mon Apr 11 14: for Contiki 2.5 by 1.6.1.