mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-29 04:18:54 +03:00
Add lock write command for AT89S51/2
This commit is contained in:
@@ -3111,7 +3111,13 @@ part
|
||||
memory "lock"
|
||||
size = 1;
|
||||
read = "0010.0100--xxxx.xxxx--xxxx.xxxx--xxxo.ooxx";
|
||||
# Nonstandard lock write is available but not implemented
|
||||
# Nonstandard write
|
||||
# See datasheet Page 20, Note 1 https://ww1.microchip.com/downloads/en/DeviceDoc/doc2487.pdf
|
||||
# Activating lock mode 0: -U lock:w:0:m
|
||||
# Activating lock mode 1: -U lock:w:0:m -U lock:w:1:m
|
||||
# Activating lock mode 2: -U lock:w:0:m -U lock:w:1:m -U lock:w:2:m
|
||||
# Activating lock mode 3: -U lock:w:0:m -U lock:w:1:m -U lock:w:2:m -U lock:w:3:m
|
||||
write = "1010.1100--1110.00ii--xxxx.xxxx--xxxx.xxxx";
|
||||
;
|
||||
|
||||
memory "signature"
|
||||
|
||||
@@ -176,7 +176,7 @@ enum ctl_stack_t {
|
||||
typedef struct cmdbit {
|
||||
int type; /* AVR_CMDBIT_* */
|
||||
int bitno; /* which input bit to use for this command bit */
|
||||
int value; /* bit value if type == AVR_CMDBIT_VALUD */
|
||||
int value; /* bit value if type == AVR_CMDBIT_VALUE */
|
||||
} CMDBIT;
|
||||
|
||||
typedef struct opcode {
|
||||
|
||||
Reference in New Issue
Block a user