|
|||||||
![]() |
Forum Index > Projects > LED Pegboard and Matrix Projects | ||
Can't upload file to Peggy (atmega328) |
|||
| | | Printable Version |
|
Anonymous: Raul Diaz Poblete | ||||||||
|
Hi all! PHP Formatted Code AVRDUDE_PROGRAMMERID=usbtinyAVRDUDE_PORT= usb
PHP Formatted Code AVRDUDE_PROGRAMMERID=avrispAVRDUDE_PORT=com1 AVRDUDE_EXTRA = -b19200 -F
PHP Formatted Code avrdude: stk500_getsync(): not in sync: resp=0x00
PHP Formatted Code avrdude: stk500_disable(): protocol error, expecte=0x14, resp=0x00and the get avrdude done. nake: ** [writeflash] Error 1
PHP Formatted Code AVRDUDE_PROGRAMMERID=sdk500
|
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
Okay, you've got a number of separate issues, and it does not make anything easier that you're trying to solve them all at once. But I was wondering I need to press reset button after click upload in Arduino IDE. I suposse an ATmega328 doesn't need a reset. Am I wrong? Both the '168 and '328 need to be reset for programming, however the Peggy uses an "auto-reset" circuit that allows the USB-TTL cable to do this for you. Normally, you should not need to press the reset button by hand. First I couldn't compile the code for an ATmega328 model: If I only change the MCU configuration to MCU=atmega328p I get an error about PBn and PCn variables were undeclared.In this post (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1237133962/4#4) I get the solution: to change PBn for PINBn and PCn for PINCn. Then code is compiled without errors! Yes, that technically works, but it's an incredibly bad idea. That forum post is dangerous. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Peter_er | ||||||||
|
And it will work for Vista, no? What changes should be done? |
![]() Apprentice Status: offline
Registered: 06/22/11 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Vista is supported, just fine. 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 02:56 PM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits