|
|||||||
![]() |
Forum Index > Projects > LED Pegboard and Matrix Projects | ||
Can't program Meggy on Mac |
|||
| | | Printable Version |
|
Windell | ||||||||
|
Does this thread help? Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
Quote by: WindellDoes this thread help?
|
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
One thing to check: Make sure that your USBtinyISP is *not* providing power to the Meggy-- that is, make sure that the power jumper by the ribbon cables is disconnected, and make sure that Meggy is providing its own power. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
Yeah, my USBTiny is not providing power... Goodness, I wish I had socketed the 168 now |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
>Goodness, I wish I had socketed the 168 now Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
No, but if I had, I could use my target board to program it... Well, now that i think of it, I don't need the target board... There's an ISP header build in - Duh! Ha ha... I'll either have to try to get AVRDude set up on my Mac or resign to using my PC again, I guess |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
> I'll either have to try to get AVRDude set up on my Mac or resign to using my PC again Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
Hmmph! I installed AVRDude and everything looks good with that, but when I tried to program the Meggy, it's still a no-go. Here's the output: PHP Formatted Code ben-perkinss-macbook:Documents magician13134$ avrdude -c usbtiny -p atmega168 -U flash:w:test.hexavrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you. ben-perkinss-macbook:Documents magician13134$ avrdude -c usbtiny -p atmega168 -U flash:w:test.hex -F avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA168 is 1E 94 06 avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "test.hex" avrdude: input file test.hex auto detected as Intel Hex avrdude: writing flash (2830 bytes): Writing | ################################################## | 100% 3.69s avrdude: 2830 bytes of flash written avrdude: verifying flash memory against test.hex: avrdude: load data flash data from input file test.hex: avrdude: input file test.hex auto detected as Intel Hex avrdude: input file test.hex contains 2830 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 2.53s avrdude: verifying ... avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x00 avrdude: verification error; content mismatch avrdude: safemode: Fuses OK avrdude done. Thank you. |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Okay, so now we're debugging *two* different problems: USB-TTL cable programming and ISP programming. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
Sorry to bring up an old thread, but I haven't been able to get this working still... I've tried everything in here except using an oscilloscope, I really don't have a working one, nor do I know where to go to use one... I got a new computer, everything has worked so far (Arduino, USBTiny, AVRDude), but still nothing works with my Meggy Jr... |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Well, this is weird indeed. And I'm sorry that it has dragged on so long. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
Hmm.... R4... 10k? My R4 is 220... It's been so long since I've made this now... Maybe it was a 10k it didn't come with and I mistakenly thought it was a 100 so I used a 220 to replace it? I'm not sure. All my resistors look the same size, so I'm guessing that's the only problem. Would that cause the issue? And should I just replace it to get it working? (If I can't find a 10k here, I know I have 1k... Would that work?) |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Yeah... that would do it. Substituting a 220 ohm resistor for the 10 k would almost certainly have no effect *except* preventing programming from being possible. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
I had to dig through a couple boxed from Mouser, but I finally found a small pack of 10ks. I'll get that replaced in a little bit and hopefully get to start programming for it soon! |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
magician13134 | ||||||||
|
Phew! Finally. That took way too long... Now I feel bad that it was such a simple problem I had overlooked. Thanks for being patient with me. It all works now |
![]() Apprentice Status: offline
Registered: 12/29/08 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 08:28 AM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits