Re: EasyAVR problem



> Now, my problem was, I couldn't write anything into the chip (90S8515).
> This studio could connect to the board, read the EEPROM and program,
> but if I tried to erase or write something back, it was always failing,
> without any specific error.

Hi Goran,

You might want to check the settings of the fuse bits of your processor. AVR
microcontrollers have a few special memory locations which can be programmed
separately from flash and eeprom, called 'fuses'. One of those fuse bits is
used to write-protect the internal flash/eeprom.

The fuse bits can usually be configured in your programming software, look
for 'Memory lock bits' settings somewhere. Be careful with the fuses though,
since its easy to disable serial programming mode or stop the internal
clock, thus 'breaking' the device (not really broken, but you can't recover
with only a serial programmer)

_Ico

--
:wq
^X^Cy^K^X^C^C^C
.



Relevant Pages

  • Re: Reading a PAL fusemap with a microscope
    ... >I'm beginning to question the organization of the fuse map in a HAL. ... the chip layout should follow the diagrams in the data book. ... The chip layout is laid out to minimize area, ... of mask programming the devices for high volume cost reduction. ...
    (comp.arch.fpga)
  • Re: Reading a PAL fusemap with a microscope
    ... Gabor is correct. ... Programming is a relatively ... They are programmed with a mask (the final, ... > gap at the "blown fuse" is small, ...
    (comp.arch.fpga)
  • Re: programming atmega48/168s
    ... John - the differences in fuses shouldn't make a difference. ... the lo fuse is set and the others are left as they are. ... Anyone know what unenabled serial programming looks like? ...
    (comp.arch.embedded)
  • Re: AVRISP
    ... The suggestion that you accidentally ticked the external oscillator ... fuse was, in fact, what the problem was. ... I only update Flash in the programming window. ... > that you can not even reset the fuse bits anymore. ...
    (comp.arch.embedded)
  • Re: Changing clock source in AVR?
    ... used it just fine when it was running on the internal RC oscillator. ... to respond and change the fuse bits. ... High Voltage Parallel Programming with an STK500 always works. ...
    (comp.arch.embedded)