|
|||||||
![]() |
Forum Index > General > Ask an Evil Mad Scientist! | ||
avrdude: initialization failed, rc=-1 |
|||
| | | Printable Version |
|
Anonymous: jbisjim | ||||||||
|
PHP Formatted Code > "make.exe" program avrdude -p t2313 -c usbtiny -P usb -v -e -b 115200 \ -U lfuse:w:0x64:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m \ -U flash:w:larson_jm.hex avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf" Using Port : usb Using Programmer : usbtiny Overriding Baud Rate : 115200 AVR Part : ATtiny2313 Chip Erase delay : 9000 us PAGEL : PD4 BS2 : PD6 RESET disposition : possible i/o 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 6 4 0 no 128 4 0 4000 4500 0xff 0xff flash 65 6 32 0 yes 2048 32 64 4500 4500 0xff 0xff signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00 lock 0 0 0 0 no 1 0 0 9000 9000 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 calibration 0 0 0 0 no 2 0 0 0 0 0x00 0x00 Programmer Type : USBtiny Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/ avrdude: programmer operation not supported avrdude: Using SCK period of 10 usec avrdude: error: usbtiny_transmit: usb_control_msg: sending control message failed, win error: The I/O operation has been aborted because of either a thread exit or an application request. avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude: error: usbtiny_transmit: usb_control_msg: sending control message failed, win error: The device does not recognize the command. avrdude done. Thank you. make.exe: *** [program] Error 1 > Process Exit Code: 2 > Time Taken: 00:01 any help or comments would be aprecited |
![]()
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
Hi jbisjim, Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Anonymous: jbisjim | ||||||||
|
First thank you for your resonse, and I realize i really didnt ask a question persay, and i apologize for that. Frustration told me to slap the log up and go from there. I am almost 99% sure that the usbtiny is working correctly. Power light is lit and the data light blinks when i issue programming commands. I get voltage all the way through the unit. And i have double checked my solder points. I am not sure on the 6 pin connector. I have spent a lot of time with my meter. So i know where power is and can decrypt from there. I do have a similar post on the adafruit forums http://forums.adafruit.com/viewtopic.php?f=20&t=17705 where a someone posted the 6 pin configuration, and i currently have my target wired based on that. To be honest i am not sure it is right, on other posts i have seen a complete different pinout. I assume the diagram is from the bottom. Again, love my multimeter. Is my target board working? I made mine based on your simple design, Although i ordered one of your avr target boards today to neaten it up and frankly its labled and that appeals to me greatly. So to answer your questionis it working? Ill state maybe. I can follow voltage into my target board. I am further with the usbtiny programmer that i was with my "ghetto programmer" oh and thanks for putting up my my emails on that too. I know im close, i just dont know how close |
![]()
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
See also, here: http://www.evilmadscientist.com/article.php/avrtargetboards Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
squall_line | ||||||||
|
Are you trying to power the board with the USBTinyISP? |
![]() Mad Scientist Status: offline
Registered: 04/13/10 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
|
Yes I am attempting to power the chip via the USBTinyISP. |
![]() Apprentice ![]() ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
squall_line | ||||||||
Quote by: jbisjimYes I am attempting to power the chip via the USBTinyISP.
|
![]() Mad Scientist Status: offline
Registered: 04/13/10 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
|
Jumper removed, no power out of the usbtinyisp |
![]() Apprentice ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
You can only power your target with one power source at a time, so just be careful of that. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
BTW: Is your usbtiny from Adafruit (green circuit board?) yes You can only power your target with one power source at a time, so just be careful of that.I had the jumper pulled and according to my meter there was no power coming from the usbtiny You may also want to see this post about similar issues: avrdude: error: usbtiny_transmit: usb_control_msg hmm i will check it out |
![]() Apprentice ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
avrdude: error: usbtiny_transmit: usb_control_msg
if you want to fix it yourself, simply replace the lines in usbtiny.c in avrdude that havesizeof(res) with 4 can not seem to find that one, I assume its for linux .. |
![]() Apprentice ![]() ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
squall_line | ||||||||
Quote by: jbisjim avrdude: error: usbtiny_transmit: usb_control_msg
if you want to fix it yourself, simply replace the lines in usbtiny.c in avrdude that havesizeof(res) with 4 can not seem to find that one, I assume its for linux ..
|
![]() Mad Scientist Status: offline
Registered: 04/13/10 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
If you have a Larson Scanner Kit already, and have it working, Frak yeah, got my pumpkin sitting in the kitchen ready to be made into a Cylon I was excited to see the post on the linking of the 2 and 3 scanners together. Run that during episodes of Caprica. [insert nerd comment here] I would recommend adding the programming header to one of the boards. This brings me another glimmer of hope What hardware/OS are you using to program? Mac, Windows, Linux?
|
![]() Apprentice ![]() ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
jbisjim | ||||||||
|
Update: |
![]() Apprentice ![]() Status: offline
Registered: 10/26/10 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
As before, the problem can be in several different places: Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 11:19 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits