NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » Newbie needs help with first attempt at flashing....
December 11, 2010 by mbobak ![]() |
Hi all, I'm trying to flash my first program, (the initialload.c example code). It compiled fine, but, when I get to the flashing step, I get:
Anyone have an idea what my problem may be? Thanks, -Mark |
---|---|
December 11, 2010 by met_fredrik ![]() |
Sure the MCU is set to programming mode? And the COM port is the right one? :) |
December 11, 2010 by hevans (NerdKits Staff) ![]() |
Hi mbobak, met_fredrik is exactly right. The error you are getting is a pretty generic error that pretty much means your computer can't talk to your MCU. Make sure all the wires are nice and snug, make sure your battery connections are right, and make sure you are in programming mode. If you still can't it to work post some good close up pictures, we might be able to help you find the issue. Humberto |
December 11, 2010 by mbobak ![]() |
Hi Guys, Thanks for your reply. Yes, double checked, I'm on COM5. And the programming mode, that's with the switch 'up', that is, closed on pins 24 and 25, correct? At this point, I think I'm going to strip it down and recheck all the wiring. Also, I think the project for tomorrow is going to be to build a mounting board, so I can mount my breadboard, battery, and LCD, so that they are in a fixed position relative to each other. Right now, seems I'm stumbling and pulling wires when reaching for other wires, and I've got a bit of a tangled mess on my hands. -Mark |
December 11, 2010 by mbobak ![]() |
Making progress!
Yay! Of course, now I switch program mode off, and power cycled the system, and I get nothing....so, I'm sure it's just a loose connection somewhere. I'll be better off when I get this stuff mounted. FYI, my bonehead move that was causing my problem? At some point, the battery power became detached, when I plugged it back in, I plugged it in on the right side instead of the left. As soon as I moved it to the left, I was in business! Thanks for the help, I'm sure I'll have many more questions as I progress. -Mark |
Please log in to post a reply.
Did you know that interrupts can cause problems if you're not careful about timing and memory access? Learn more...
|