free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
dudu9
Thu Feb 14 2008, 04:15AM
 User Offline
Registered Member #5903
Joined: Wed Feb 06 2008, 03:54AM

Posts: 6
Thanked 0 times in 0 posts
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
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??



nobody is perfect. i am nobody!
Back to top


Ajay
Thu Feb 14 2008, 07:48AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
any controller is recognized from its signature bytes.. it may be possible that there is something wrong internally after you connected it the otherway.
try to program it. maybe its possible to use it. just toggle all ports and check on CRO if all pins are working then its fine...

I still have no idea.. why its showing ATMega163

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


dudu9
Tue Feb 19 2008, 11:45PM
 User Offline
Registered Member #5903
Joined: Wed Feb 06 2008, 03:54AM

Posts: 6
Thanked 0 times in 0 posts
hi Ajay:
it wasn't showing atmega163 really. it was showing different signatures each time.

i tried programing it
Reading############################################# | 100% 0.00s

avrdude: Device signature = 0xffffff
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

when i use -F : it programs the chip , but my MM didn't get anything.

i just start to loose my patient with it..

nobody is perfect. i am nobody!
Back to top


Ajay
Wed Feb 20 2008, 04:53AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
I think its gone case now sorry...

may god give you strength to bear this pain

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


dudu9
Wed Feb 20 2008, 10:43PM
 User Offline
Registered Member #5903
Joined: Wed Feb 06 2008, 03:54AM

Posts: 6
Thanked 0 times in 0 posts
hey, thanks for the

it happens with everyone , thank god we are fine.
now i am playing with my mega32 , but i must be carefull - it the one and only now -

the proplem is that i am using a cheap programmer and my breadboard so the chip is grasped from here and put over there all the time.



nobody is perfect. i am nobody!
Back to top


Ajay
Thu Feb 21 2008, 10:12AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
its better to make a simple test board with all pinouts and stuff.. so you can just connect things with wires.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


dudu9
Thu Feb 28 2008, 12:10AM
 User Offline
Registered Member #5903
Joined: Wed Feb 06 2008, 03:54AM

Posts: 6
Thanked 0 times in 0 posts
hi ajay:
can u give me such a schematic for the board. i need it to be a programmer
and a test board in the same time so that i can test my serial, ADC, LCD, etc
stuff with it.

can i make it in a simple breadboard , i do not like smell of soldering.

thanks.

nobody is perfect. i am nobody!
Back to top


Ajay
Fri Feb 29 2008, 03:46AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 3753
Thanked 696 times in 655 posts
well you just need to make your board once.. not everytime soldering is good..
start your schematic.. will help you as you go forward..

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems