Writing EEPROM from STK500 to AT90LS8535

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

When attempting to program the EEPROM memory on a AT90LS8535 (DIP package running at 3.3 V), the process aborts. The first half of the EEPROM data is written correctly, but the second half does not get written to (all the values in the second half are 0xff). AVR Studio says that the "Programming EEPROM using block mode. 0% FAILED!" I can read the entire EEPROM without a failure. Are there settings for EEPROM programming that I need to adjust? Or is there a workaround to this problem?

admin's test signature
 

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

Hello Ben,

How are you programming your part? What kind of programming software are you using? If you're doing a parallel programming, you need to supply 4.5-5.5 Volts to the AT90LS8535.

Anyhow, the "...0% FAILED!" indicates you're using AVR Studio, and that no part of the EEPROM is successfully programmed. Is this the programming SW you're using? Are you programming your device in an STK500? If not, what is your target? The STK500 board has separate voltage and frequency settings. How are these set?

Can you program you Flash?

A lot of questions here, but obviously it should work, so I'd like to narrow it down a bit :)

Morten, Atmel FAE

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

I am using AVR Studio Ver 3.22 with the STK500 board with a AT90LS8535 placed in SCKT3100A3 socket. I am using the ISP programming method (ISP6PIN connected to SPROG3). The STK500 frequency setting (set in AVR Studio) is at 3.69 MHz. The STK500 voltage setting (set in AVR Studio) is at 3.3 V.

I can program the FLASH without any problems.

I can read EEPROM without any problems.

The first half (up to address 0xff) the EEPROM in the AT90LS8435 does get updated correctly. The second half (0x100 to 0x1ff) does not get updated.

The VTARGET, AREF, RESET, and the XTAL1 board jumpers are connected.

The OSCSEL jumper is mounted on pins 1 and 2.

The BSLE2 and the PJUMP jumpers are not connected.

-Ben

admin's test signature