Open GoogleCodeExporter opened 8 years ago
Well the following worked for me.And I guess it should be the same case with
you.Make sure that you are in the folder in which your avrdude has been copied,
when you sun the code(cd /sdcard in my case)
1.Genrating hex file from rooted android tablet:
open Better Teminal app
su
export PATH= $PATH:/data/data/jackpal.androidterm/local/bin
cd /sdcard
avrdude -p m32 -c avrispmkII -P usb -C /path/to/avrdude.conf -U flash.hex
Happy coding :)
Original comment by ashwinn...@gmail.com
on 20 Feb 2013 at 12:17
http://www.nongnu.org/avr-libc/user-manual/group__demo__project.html may be
this will help you.
Original comment by ashwinn...@gmail.com
on 20 Feb 2013 at 12:20
HI!
Thanks for answer me, but I have a other cuestion. How do you find the
serial port in android? I have a Arduino Mega 2560 and I want to upload the
.hex but I can't to access to /dev/bus/usb/002 , and I use Code in java to
upload, all the instrucions are perfect except the serial port.
I have a Samsumg Galaxy s2 with ROOT access.
best regards.
Original comment by josemigu...@upp.edu.mx
on 22 Feb 2013 at 8:23
If you are root, simply create /usr/local/etc/ and copy avrdude.conf from
/data/data/jackpal.androidterm/local/bin
That worked for me. I think an simbolic link (ln -s) will work too instead of cp
Original comment by bademeis...@gmail.com
on 12 Apr 2013 at 9:43
Ok, thanks for answer me, but can you tell me how create a serial to
download the .hex? A example please?
Best regards!
El abr 12, 2013 4:43 PM, <andavr@googlecode.com> escribi�:
Original comment by josemigu...@upp.edu.mx
on 12 Apr 2013 at 9:55
Recently i am try to using Avrdude(andavr) to upload hex file to arduino
uno.But i don't konw andorid usb device name. I used
"dev/bus/usb/002/002".System show error-
avrdude: ser_open(): can't set attriutes for device “/devs/usb/002/002"
Can you give me some guide? thanks!
Original comment by sunkeshi...@gmail.com
on 12 Oct 2013 at 1:36
For me it shows usbtiny not found. How to write the /dev/USB command in
avrdude? Please help
Original comment by santan...@gmail.com
on 12 Nov 2013 at 5:35
Hi,
How can we do this in a non rooted device
Original comment by touazi.i...@gmail.com
on 17 Jan 2014 at 1:47
Original issue reported on code.google.com by
josemigu...@upp.edu.mx
on 30 Jan 2013 at 4:31