Hi David,
First of all thanks for putting this together. However, I am struggling to get it up and running.
I'm using an Arduino Pro Mini 3.3V 8MHz and XBee 868lp radio modules in API mode with escapes.
I'm think I've managed to get the bootloader to load onto the Arduino using the command:-
sudo avrdude -c usbtiny -p m328p -b9600 -U flash:w:xbeeboot-master/xbeeboot/bootloaders/xbeeboot/xbeeboot_atmega328_pro_8MHz.hex
When I try to load the Arduino with a sketch I get the following:-
`pi@raspberrypi:~ $ sudo avrdude -c xbee -P 0013a20041523547@/dev/ttyAMA0 -p m328p -U flash:w:sketchbook/Blink_1s.cpp.hex -v -v -v -v
avrdude: Version 6.1, compiled on Feb 8 2017 at 14:53:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/usr/local/etc/avrdude.conf"
User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : 0013a20041523547@/dev/ttyAMA0
Using Programmer : xbee
avrdude: XBee address: 0013a20041523547
avrdude: Baud 9600
avrdude: Local AT command: AP
avrdude: sendAPIRequest(): 1486653110.763911 -1, 1, -1, 65
avrdude: Send: ~ [7e] . [00] . [05] . [08] . [01] A [41] P [50] . [02] c [63]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Local XBee is not responding.
avrdude done. Thank you.
`
Do you have any suggestion at what to look at to try and get it working?
Many thanks,
Chris
Hi David,
First of all thanks for putting this together. However, I am struggling to get it up and running.
I'm using an Arduino Pro Mini 3.3V 8MHz and XBee 868lp radio modules in API mode with escapes.
I'm think I've managed to get the bootloader to load onto the Arduino using the command:-
sudo avrdude -c usbtiny -p m328p -b9600 -U flash:w:xbeeboot-master/xbeeboot/bootloaders/xbeeboot/xbeeboot_atmega328_pro_8MHz.hexWhen I try to load the Arduino with a sketch I get the following:-
`pi@raspberrypi:~ $ sudo avrdude -c xbee -P 0013a20041523547@/dev/ttyAMA0 -p m328p -U flash:w:sketchbook/Blink_1s.cpp.hex -v -v -v -v
avrdude: Version 6.1, compiled on Feb 8 2017 at 14:53:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
avrdude: XBee address: 0013a20041523547
avrdude: Baud 9600
avrdude: Local AT command: AP
avrdude: sendAPIRequest(): 1486653110.763911 -1, 1, -1, 65
avrdude: Send: ~ [7e] . [00] . [05] . [08] . [01] A [41] P [50] . [02] c [63]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Recv: ~ [7e]
avrdude: Recv: . [00]
avrdude: ser_recv(): programmer is not responding
avrdude: Local XBee is not responding.
avrdude done. Thank you.
`
Do you have any suggestion at what to look at to try and get it working?
Many thanks,
Chris