[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AVRDUDE & AT90PWM3
From: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] AVRDUDE & AT90PWM3 |
Date: |
Tue, 21 Feb 2006 22:28:52 +0100 (MET) |
Joerg Wunsch <address@hidden> wrote:
>>I'm using STK200, can read the signature bytes, seem to be able to
>>program the fuses (although it complains sometimes), but cannot
>>program (verify fails on first byte).
> Strangely enough, writing the EEPROM works (using the same data I
> wrote to the flash ROM). Also, the error pattern is consistent.
> No idea offhand.
I found (and fixed) that now.
The datasheet erroneously specifies 6 address bits per page for the
page load and page write instructions, but these devices do have only
32 words per page (i. e. 5 address bits). Moving the "a5" name from
the loadpage_{lo,hi} definitions to the writepage one fixes writing
through bit-bang programming adapters (like the STK500).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)