mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
Fix error reporting by avr_write_byte().
Fix setting of status LEDs under various write-fail conditions. Add a flag to indicate that a memory type requires the device to possibly be powered off and back on after a write to it. This is due to a hardware problem on some Atmel devices, see: http://www.atmel.com/atmel/acrobat/doc1280.pdf Add greater verbosity to the part-display code when verbose>1 to display avrprog's encoding of the defined programming instructions. This is primarily for debugging purposes. Part updates: * add the AT90S4414 part * add fuse and lock bit access instructions for the AT90S1200, AT90S4434, and AT90S8515. * add the pwroff_after_write flag to the fuse bits for the AT90S2333 and AT90S4433 parts git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@123 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
%token K_NUM_PAGES
|
||||
%token K_PART
|
||||
%token K_PGMLED
|
||||
%token K_PWROFF_AFTER_WRITE
|
||||
%token K_PROGRAMMER
|
||||
%token K_RDYLED
|
||||
%token K_READBACK_P1
|
||||
@@ -398,6 +399,12 @@ mem_spec :
|
||||
free_token($3);
|
||||
} |
|
||||
|
||||
K_PWROFF_AFTER_WRITE TKN_EQUAL TKN_NUMBER
|
||||
{
|
||||
current_mem->pwroff_after_write = $3->value.number;
|
||||
free_token($3);
|
||||
} |
|
||||
|
||||
K_READBACK_P1 TKN_EQUAL TKN_NUMBER
|
||||
{
|
||||
current_mem->readback[0] = $3->value.number;
|
||||
|
Reference in New Issue
Block a user