Re: avrdude and arduino
On Sun, 13 May 2012, Colin Barnabas wrote: Has anyone been able to get the Arduino Uno board working with avrdude? I keep getting programmer not responding errors. avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding This is the command I'm using: %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U flash:w:flash.hex Any suggestions would be much appreciated. An easy way might be to install devel/arduino, turn on Preferences/Show verbose output during compilation, and copy the command line it uses. The catch is that you have to have the IDE set to use the correct board and programmer. I have some scripts I can dig through if that fails. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: avrdude and arduino
On Mon, May 14, 2012 at 3:25 PM, Wojciech Puchar wrote: >>> This is the command I'm using: >>> >>> %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U >>> flash:w:flash.hex >> >> >> This is what I use for Duemilanove >> sudo avrdude -V -F -c stk500v1 -p m168 -b 19200 -P /dev/cuaU0 -U >> flash:w:flash.hex (Arduino) > > > maybe stupid question but why do you use sudo for it? can't you just set up > devd.conf to set right owner to /dev/cuaU0, or even better make link like > /dev/atmel -> /dev/yourdevice - so no matter how many usb serial devices you > connect it will always have same name? Yes, I'll do it when I use the Arduino the next time (it's been a while since the last time). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: avrdude and arduino
This is the command I'm using: %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U flash:w:flash.hex This is what I use for Duemilanove sudo avrdude -V -F -c stk500v1 -p m168 -b 19200 -P /dev/cuaU0 -U flash:w:flash.hex (Arduino) maybe stupid question but why do you use sudo for it? can't you just set up devd.conf to set right owner to /dev/cuaU0, or even better make link like /dev/atmel -> /dev/yourdevice - so no matter how many usb serial devices you connect it will always have same name? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: avrdude and arduino
On Sun, May 13, 2012 at 8:20 PM, Colin Barnabas wrote: > Has anyone been able to get the Arduino Uno board working with > avrdude? I keep getting programmer not responding errors. Not for the Uno, but I got Arduino Duemilanove working. > > avrdude: ser_recv(): programmer is not responding > avrdude: stk500_recv(): programmer is not responding This is typical when the microcontroller is somehow busy or stuck. > > > This is the command I'm using: > > %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U > flash:w:flash.hex This is what I use for Duemilanove sudo avrdude -V -F -c stk500v1 -p m168 -b 19200 -P /dev/cuaU0 -U flash:w:flash.hex (Arduino) I also have a Pololu 3pi[1] which uses an ATmega328 and I can download the software into the chip using this: sudo avrdude -c avrispv2 -p m168 -P /dev/cuaU0 -U flash:w:test.hex (Pololu) HTH [1] http://www.pololu.com/catalog/product/975 > > Any suggestions would be much appreciated. > > > -- > Colin Barnabas > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
avrdude and arduino
Has anyone been able to get the Arduino Uno board working with avrdude? I keep getting programmer not responding errors. avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding This is the command I'm using: %sudo avrdude -F -v -v -v -v -c arduino -p ATMEGA328P -P /dev/cuaU0 -U flash:w:flash.hex Any suggestions would be much appreciated. -- Colin Barnabas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"