my AVR Problem

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hey guys, i need a help.!
i programmed my (only) atmega162 using my small programmer, then i made a mistake and put it wrong in my board :x
the XTAL1 is connected to ground instead of GND
SCK is connected to VCC instead of RESET

I put it one pin down.. you get it.

i didn't suspect there is a problem, but when i want to reprogram it , i was surprised:
uisp -dprog=dapa -dlpt=/dev/parport0
Atmel AVR ATmega163 is found.

can i just use it, or??
any advice??

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why are you using uisp? - it's an abandoned tool - avrdude is much better if you are working in a Linux environment.

(but sadly it sounds like you fried the chip if the programmer worked before but now longer does so)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes i am working in a virtual linux env. i just installed uisp and found it fine . i can switch to avrdude later if there is a chance with my chip!!. (hope so).
i got diff messages each time:

uisp -dprog=dapa -dlpt=/dev/parport0
Cannot identify device because it is locked.
Device similar to the ATmega103-old is found.

Probably the AVR MCU is not in the RESET state.
Check it out and run me again.

An error has occurred during the AVR initialization.
* Target status:
Vendor Code = 0xff, Part Family = 0xff, Part Number = 0xff

Check if the programmer is properly connected.
The wiring may be incorrect or target might be 'damaged'.

Quote:
sadly it sounds like you fried the chip

Oh clawson. donot say this ..

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think Cliff is right The chip went POOF

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Holy smoke ....

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi guys .. i didn't believe that i just found such a site, and it goes wrong.
i am just in my first steps.. happiness doesn't continue.

it will take me time to realize this. :cry:
see you .

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
happiness doesn't continue
Neither does bad luck. It hurts, I know. And I think many of us know. You're not alone.

Before more things go wrong for you, buy either a decent programmer, or, if money is scarce, build this one: it will protect your PC and the next AVR.
http://www.aplomb.nl/TechStuff/PPPD/PPPD%20English.html

I hope this helps.

A GIF is worth a thousend words   They are called Rosa, Sylvia, Tricia, and Ulyana. You can find them https://www.linuxmint.com/

Dragon broken ? http://aplomb.nl/TechStuff/Dragon/Dragon.html for how-to-fix tips