go away spammer

Author Topic: Problem with ISP Programmer  (Read 2471 times)

0 Members and 1 Guest are viewing this topic.

Offline w_bwrTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Problem with ISP Programmer
« on: August 04, 2010, 05:26:23 AM »
I have home made ISP Programmer for AVR. It was working fine a few days back.
but now it is giving an error message which is:

write error at the address 00000000 byte written: 0F byte read: 9F
and some times

write error at the address 00000002 byte written: 14 byte read: 97

It reades the device signature correctly.
Device Signature: ATmega162, Flash 16 kb, EEPROM: 512 bytes



plz help???

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Problem with ISP Programmer
« Reply #1 on: August 04, 2010, 04:51:03 PM »
Hi,

Did you try this on more than one controller? (Might be your controller that went bust).
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline madsci1016

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,450
  • Helpful? 43
    • Personal Website
Re: Problem with ISP Programmer
« Reply #2 on: August 04, 2010, 05:09:34 PM »
is your battery dead? could be a power issue if your controller isn't powered by your programmer.

Offline Chowsfe

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Re: Problem with ISP Programmer
« Reply #3 on: August 04, 2010, 06:51:53 PM »
Hi,
Maybe there is something wrong with your target board,check it

Offline amando96

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 1
Re: Problem with ISP Programmer
« Reply #4 on: August 05, 2010, 04:18:09 AM »
The programmer is on a breadboard right? looks like it could just be a loose wire, with bad contacts, check the power lines and the programming wires.
Rorcle, 60% complete
AATV, 5% complete

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Problem with ISP Programmer
« Reply #5 on: August 06, 2010, 09:23:57 PM »
Hi,

The programmer is on a breadboard right? looks like it could just be a loose wire, with bad contacts, check the power lines and the programming wires.
Maybe, but the signature reads OK.
There is a consistent lack of bit7 and an intermittent lack of bit4 @ adr2 - sounds to me like stuck bits.
It may be the I/O lines if the signature reads out in a very different way (I don't think it does though).
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

Offline w_bwrTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
Re: Problem with ISP Programmer
« Reply #6 on: August 06, 2010, 10:45:40 PM »
The target Board is not on breadboard. Its a PCB, and was working fine a few weeks ago.
i guess that the controller is busted. I 'm out of town so can't replace it now. it 'll take some time!

Offline Soeren

  • Supreme Robot
  • *****
  • Posts: 4,672
  • Helpful? 227
  • Mind Reading: 0.0
Re: Problem with ISP Programmer
« Reply #7 on: August 07, 2010, 03:03:12 AM »
Hi,

Just to be sure... Remove the chip and reinsert it. Sometimes sockets develope a bad connection, especially if the two metals (socket and pin) is different, i.e. tin/gold or something similar.
Regards,
Søren

A rather fast and fairly heavy robot with quite large wheels needs what? A lot of power?
Please remember...
Engineering is based on numbers - not adjectives

 


Get Your Ad Here