ATtiny15L and SPIEN

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

Hi,

I've recently started building stuff with some ATtiny15 I bought long ago. The chips are still in the tube I bought them in, new, from Arrow. I designed the board so I could program the completed boards with ISP.

But on my completed boards I find that SPIEN isn't programmed (serial programming not enabled). I'm using the 6-pin interface ("ISP6PIN") on my STK500. I've had to first enable SPIEN with high-voltage programming and then each chip programs properly with the 6-pin cable, in my target.

This wouldn't bother me much, but my parts are surface mount. :?

I think I can rule out the STK500 messing with the fuses because after I fix it, the fuse doesn't get messed up again.

All of the affected parts read a signature of 0xFF 0xFF 0xFF, and the oscillator calibration byte is reported 0xFF.

I've searched for this problem and can't find any reference to similar problems. Is there a common error that I could be making? Did any early date codes have this issue?

Details.....
STK500 (hardware 0x02, firmware 0x020a)

ATtiny15L marked on top:

   ATMEL119
   TINY15L
   (delta)1SC

marked on underside:

   117CHINA
   1A1188
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's pretty strange that SPIEN should be off for new chips. And of course, in theory, you cannot change that fuse with ISP.

What programming interface are you using for the STK00? (Studio ot other)

Do you have any spare, unused, chips ? I would check them with high-voltage programming. If SPIEN is really off then you have a good case for complain to Arrow.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

I'm using Studio 4.15 build 623 for the STK500. The time to complain to Arrow is long past as I've held these chips for several years.

Yes, I've confirmed, with high voltage programming, that SPIEN is off on unused chips. I use high voltage programming to fix them. I just wondered if there was a common mistake I might have been making.

I don't have a socket, so I'm just pressing the chips onto an adapter. It seems to work.

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

Good news, I was able to press each chip onto a DIP adapter and eventually program the fuses on all of them without any more soldering.

Problem solved, still mystified.

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

It would have been interesting to see if there was any code/eeprom contents present in the parts.

It is "feasible" that a customer purchased a lot of parts, had them pre-programmed (possibly by Arrow or a programming house) and then decided to return excess parts to Arrow. As long was they appeared new and in the original rails and antistatic packaging Arrow would likely have accepted them back as new and then potentially re-sold them.

Just a thought...

cheers,
george.

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

Quote:
I'm using Studio 4.15 build 623
That was about the worst version released lately. :) get the new 4.18 version including SP1 and SP2.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly