[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] invalid pin definition - Configured as pin 12, but hig
From: |
Hannes Weisbach |
Subject: |
Re: [avrdude-dev] invalid pin definition - Configured as pin 12, but highest pin is 11. |
Date: |
Mon, 13 Aug 2012 22:31:01 +0200 |
Am 13.08.2012 um 22:04 schrieb Ing. Daniel RozsnyĆ³:
> During write it knowingly pulses PGM and ERR .... there is a bug in the code.
> That should not happen.
> Log attached,
No - it is correct. Well at least it does what the code says: for each memory
page programmed turn the error led off, the program led on. If finished turn
the program led off. And that is what it does. I don't know what the original
author's intent was, though. I think you could argue the PGM led should be on
the entire time, like the verify-led but for the human eye the result is the
same. Similarly one could argue the error led can be turned of once and only
turned on if an error occurs.
Maybe a core developer can say something on this issue?
>>
>> Error / Verify / Program / Ready
>>
>> 0000 = not using the programmer
>> 0110 = programming write
>> 1010 = reading in verify
>> 0000 = end
Does your error led flash during verify or did I misinterpret your chart?
Because avrdude says it is flashing the VFY led on the 13th pin of port A
(ACBUS4 - don't get confused because it says ACBUS12 - I got the naming wrong,
too. You can subtract 7 from the ACBUS12 for the ADBUSx pins and you have
ACBUS4) - so the VFY led should turn on and nothing else.
Best regards,
Hannes