Author Topic: Did I brick one of my MCUs? :(  (Read 2291 times)

0 Members and 1 Guest are viewing this topic.

Offline corrado33Topic starter

  • Supreme Robot
  • *****
  • Posts: 611
  • Helpful? 11
Did I brick one of my MCUs? :(
« on: July 15, 2011, 08:12:19 PM »
For some reason I can't program my AtTiny4313.  I programmed it once just fine.  However, I was trying to use the reset pin by accident for an output pin.  (I've read this can make it not programmable by normal programmers?)

Anyway, so I go to program it and it goes through the "programming" stage just fine.

But it won't verify it.  I can read from the MCU, and output it to a file and it doesn't match my HEX file (even though it said programming was successful.)  I can also change fuses around and do all that kind of stuff.

I've (obviously) taken out my Reset pin mistake from the program but still, I cannot program it.  I've even tried with a brand new MCU, same problem.  I've checked my connections, SCK, MOSI, MISO, GND, and POWER are all fine.  I've even hooked up JUST the Tiny4313 and required wires to program it.  Nothing.  It won't program it.  What did I break?

I can program my atmega8 just fine.

EDIT:  I programmed it with avrdude using the 2313 "device".  It programmed just fine, I then "read" the 4313 in avrstudio and it confirmed that the device WAS programmed.  WTF is going on?  AVRStudio DID start acting up today, giving me a "search for path" box when I try to start debugging.  It's never done that before, but I heard it was a problem with WinAVR so I uninstalled then reinstalled both winavr and avrstudio to no avail. 
« Last Edit: July 15, 2011, 08:35:15 PM by corrado33 »

Offline corrado33Topic starter

  • Supreme Robot
  • *****
  • Posts: 611
  • Helpful? 11
Re: Did I brick one of my MCUs? :(
« Reply #1 on: July 15, 2011, 09:16:10 PM »
Ah well I know double post, but my ramblings in the first post were too annoying to edit.

I was using AVRStudio.  

I was getting the error described on this page.  
(I had to link a cached version as avrfreaks is down right now)
http://webcache.googleusercontent.com/search?q=cache:f_iMjoJhc-UJ:www.avrfreaks.net/index.php%3Fname%3DPNphpBB2%26file%3Dprintview%26t%3D96937%26start%3D0+avrdude+attiny4313&cd=3&hl=en&ct=clnk&gl=us&client=firefox-a&source=www.google.com

So apparently AVRStudio doesn't like the AtTiny4313.  I mean sure, I'm not using the latest version but...

For now, until I figure out why AVRStudio has been acting stupid lately, I've just been using the compiler in avrstudio, but using avrdude to program.  It's not like it's any harder, just click over to the command prompt, hit down and enter (after it's been programmed once).  

I have successfully implemented a blinking LED program on my 4313s I thought I bricked, so they're all fine.

*Grumble grumble* stupid windows software avrstudio *grumble grumble* I'm going to start programming on my mac *grumble grumble*

 

SMF spam blocked by CleanTalk