Hi,
I added an external ArduinoXBee and still the same issue. I am curious whether RIOT supports networking for arduino-mega2560. Because in the following command I don’t see that arduino-mega2560 is included [I had to add it so that its included as you advised]. I am assuming that for all the boards listed, networking has been checked to be working, but I am curious what for arduino-mega2560.
IN MAKEFILE :
BOARD_PROVIDES_NETIF := airfy-beacon fox iotlab-m3 mulle native nrf51dongle
nrf6310 pba-d-01-kw2x pca10000 pca10005 saml21-xpro samr21-xpro spark-core
yunjia-nrf51822
Is there any other way to check if the driver as well as the gnrc_netif_default
has been added properly? The below verbose output shows its been compiled.
rikhu@rikhu-Lenovo-G50-70:~/RIOT/examples/default$ make all flash term BOARD=arduino-mega2560
Building application “default” for “arduino-mega2560” with MCU “atmega2560”.
“make” -C /home/rikhu/RIOT/boards/arduino-mega2560
“make” -C /home/rikhu/RIOT/core
“make” -C /home/rikhu/RIOT/cpu/atmega2560
“make” -C /home/rikhu/RIOT/cpu/atmega2560/periph
“make” -C /home/rikhu/RIOT/cpu/atmega_common
“make” -C /home/rikhu/RIOT/drivers
“make” -C /home/rikhu/RIOT/drivers/xbee
“make” -C /home/rikhu/RIOT/sys
“make” -C /home/rikhu/RIOT/sys/auto_init
“make” -C /home/rikhu/RIOT/sys/auto_init/netif
“make” -C /home/rikhu/RIOT/sys/net/gnrc
“make” -C /home/rikhu/RIOT/sys/net/gnrc/netapi
“make” -C /home/rikhu/RIOT/sys/net/gnrc/netif
“make” -C /home/rikhu/RIOT/sys/net/gnrc/netif/hdr
“make” -C /home/rikhu/RIOT/sys/net/gnrc/netreg
“make” -C /home/rikhu/RIOT/sys/net/gnrc/pktbuf_static
“make” -C /home/rikhu/RIOT/sys/net/gnrc/pktdump
“make” -C /home/rikhu/RIOT/sys/od
“make” -C /home/rikhu/RIOT/sys/ps
“make” -C /home/rikhu/RIOT/sys/shell
“make” -C /home/rikhu/RIOT/sys/shell/commands
“make” -C /home/rikhu/RIOT/sys/tsrb
“make” -C /home/rikhu/RIOT/sys/uart_stdio
“make” -C /home/rikhu/RIOT/sys/xtimer
text data bss dec hex filename
7828 718 715 9261 242d /home/rikhu/RIOT/examples/default/bin/arduino-mega2560/default.elf
avrdude -v -p m2560 -c stk500v2 -P /dev/ttyACM0 -b 115200 -F -U flash:w:bin/arduino-mega2560/default.hex
avrdude: Version 6.1, compiled on Nov 23 2014 at 21:15:32
Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright © 2007-2014 Joerg Wunsch
System wide configuration file is “/etc/avrdude.conf”
User configuration file is “/home/rikhu/.avrduderc”
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyACM0
Using Programmer : stk500v2
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 239.9 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: NOTE: “flash” memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file “bin/arduino-mega2560/default.hex”
avrdude: input file bin/arduino-mega2560/default.hex auto detected as Intel Hex
avrdude: writing flash (8546 bytes):
Writing | ################################################## | 100% 1.39s
avrdude: 8546 bytes of flash written
avrdude: verifying flash memory against bin/arduino-mega2560/default.hex:
avrdude: load data flash data from input file bin/arduino-mega2560/default.hex:
avrdude: input file bin/arduino-mega2560/default.hex auto detected as Intel Hex
avrdude: input file bin/arduino-mega2560/default.hex contains 8546 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.10s
avrdude: verifying …
avrdude: 8546 bytes of flash verified
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
/home/rikhu/RIOT/dist/tools/pyterm/pyterm -b 9600 -p /dev/ttyACM0
2016-01-12 15:39:24,609 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type ‘/exit’ to exit.
2016-01-12 15:39:25,611 - INFO #
2016-01-12 15:39:25,614 - INFO # main(): This is RIOT! (Version: 2015.12-devel-526-gbfb6-rikhu-Lenovo-G50-70)
2016-01-12 15:39:25,617 - INFO # Welcome to RIOT!
help
2016-01-12 15:39:27,857 - INFO # > help
2016-01-12 15:39:27,894 - INFO # Command Description
2016-01-12 15:39:27,935 - INFO # ---------------------------------------
2016-01-12 15:39:27,976 - INFO # reboot Reboot the node
2016-01-12 15:39:28,041 - INFO # ps Prints information about running threads.
Regards,
Rikhu