Electronics > Electronics
AT Mega8 has sufficient power but AVR Studio cant see it
HDL_CinC_Dragon:
Ive checked and rechecked and rechecked and rechecked and rechecked (continue about 30 more times) and rechecked my soldering. Everything is connected to where it should be and nothing is connected where it shouldnt be. Ive got a regulated 5.15 volts between VCC pin 7 and GND pin 8. Ive got my AT Mega in its 28 pin DIP socket and putting the black lead(GND) from my tester on pin 8(GND), and the red lead from my tester on pin 7 and its reading the 5.15 volts. That tells me that the MCU is in fact getting power. All the connections go where they need to and no connections are made where they shouldnt.
Based on this information, I am lead to believe that my MCU has been fried. Is there a way to find out if it is? the connection between VCC and GND is good, i know that... Is there a way to see if perhaps a different part of the MCU is broken? Are there certain connections I can check? Should everything have connection to ground or something like that?
Admin:
Im guessing this post is related somehow?
http://www.societyofrobots.com/robotforum/index.php?topic=1536.msg10340#msg10340
(try and keep related posts as a single post)
So Im confused about your post . . . you say everything is perfect, and then ask if its fried. You forgot to mention anything about what isnt working :P
Its not programming or something?
5.15V is a little high for the regulator output. Are you sure its regulated?
Guessing from your previous post, chances are you fried something. The only way to know is to buy another one and try it out . . . I usually buy extras for myself cause I fry them occasionally, too.
HDL_CinC_Dragon:
Im curious to know if theres a way I can check if its fried without spending 10 dollars for a new MCU. $3.66 for the controller, $7 for the shipping. I dont have a lot of money unfortunately.
Also, the two threads aren't 100% correlated with eachother. The other one is a 5vreg missing about 2/3 of a volt from its regulated output so I was wondering If I needed to replace it. This thread is asking if the MCU might be fried.
Ill try to be as specific as I can this time, sorry I wasnt before, When I posted that I was also working on it so my thoughts were scattered with frustration
alrighty, here goes:
1) I soldered in my 28pin DIP socket and then made all the necessary connections for VCC and GND and also for the Data connections for the 3x2 header to the DIP socket. Pin 1 from the ISP programmer to pin 18(MISO), pin 2 to 7(VCC), 3 to 19(SCK), 4 to 17(MOSI), 5 to 1(Reset), 6 to 8(GND).
2) I put the AT Mega8 AVR in the 28 pin DIP socket
3) I plug in its power source (be it battery pack or USB)
4) I connect the ISPII 3x2 programming cable to the 3x2 header on the motherboard
5) I load up AVR Studio and try to connect to the device -- I select the AVRISP mkII and select USB for the port
6) When the window pops up, I choose the AT mega8 device and the programming mode is set to ISP mode
7) When I click Erase Device just to see if it even sees the MCU it tells me that no target was detected.
Im pretty sure I didnt leave anything out that I normally do... Did I not do something that I was supposed to? Or do I have to spend the money to get a new one shipped to me?
Admin:
Before you tell it to erase, you originally tell it to connect, correct?
Does it give you an error when you select this option? Because if it cant connect, you shouldnt even have the option to erase . . . I suspect that you are either using the wrong port, or its truely fried.
Try programming it and see what happens (probably wont work, though).
If its truely fried, you may want to consider just upgrading now since you have the option:
http://www.societyofrobots.com/step_by_step_atmega168_swapout.shtml
(requires zero rewiring, just a few changes in the code)
garriwilson:
I'm not sure but I think you're supposed to plug in the 9v battery when you connect to PC? IF I'm wrong sorry :-[.
P.S. I'm a major noob. lol ;D
Navigation
[0] Message Index
[#] Next page
Go to full version