mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 06:55:27 +00:00
First cut at supporting the ATmega 103 which uses bank addressing and
has a 128K flash. Due to the bank addressing required, interactive update of the flash is not supported, though the eeprom can be updated interactively. Both memories can be programmed via non-interactive mode. Intel Hex Record type '04' is now generated as required for outputing memory contents that go beyond 64K. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@78 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
7
avr.h
7
avr.h
@@ -110,12 +110,15 @@ unsigned char avr_txrx(int fd, unsigned char byte);
|
||||
int avr_cmd(int fd, unsigned char cmd[4], unsigned char res[4]);
|
||||
|
||||
unsigned char avr_read_byte(int fd, struct avrpart * p,
|
||||
int memtype, unsigned short addr);
|
||||
int memtype, unsigned long addr);
|
||||
|
||||
int avr_read(int fd, struct avrpart * p, int memtype);
|
||||
|
||||
int avr_write_bank(int fd, struct avrpart * p, int memtype,
|
||||
unsigned short bank);
|
||||
|
||||
int avr_write_byte(int fd, struct avrpart * p, int memtype,
|
||||
unsigned short addr, unsigned char data);
|
||||
unsigned long addr, unsigned char data);
|
||||
|
||||
int avr_write(int fd, struct avrpart * p, int memtype, int size);
|
||||
|
||||
|
Reference in New Issue
Block a user