Update avrintel.c

This commit is contained in:
Stefan Rueger
2024-08-15 22:17:45 +01:00
parent e230d8898e
commit d45bb3937e
3 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
* Meta-author Stefan Rueger <stefan.rueger@urclocks.com>
*
* v 1.39
* 25.06.2024
* 15.08.2024
*
*/
@@ -180,7 +180,7 @@ const Avrintel uP_table[] = { // Value of -1 typically means unknown
//ATtiny11 atdf, avr-gcc 12.2.0, avrdude // Sources
{"ATtiny11", 8, F_AVR8, {0x1E, 0x90, 0x04}, // ID
/*ATtiny11*/ 0, 0x00400, 0x001, 0, 0, 0, 0, 1, 0x0060, 0x0020, // Mem
/*ATtiny11*/ 0, 0x00400, 0x001, 0, 0, 0, 0, 0, 0x0060, 0x0020, // Mem
/*ATtiny11*/ 1, 1, 5, vtab_attiny11, 4, cfgtab_attiny11, // ISRs, Config
/*ATtiny11*/ 14, rgftab_attiny11}, // Register file

View File

@@ -617,7 +617,7 @@ static void dryrun_enable(PROGRAMMER *pgm, const AVRPART *p) {
AVRMEM *ee = avr_locate_eeprom(q);
int incons = flm && up && (
up->flashsize != flm->size || flm->size <= 0 ||
(ee && (up->eeprompagesize != ee->page_size || ee->page_size <= 0)) ||
(ee && (up->eepromsize != ee->size || ee->size <= 0)) ||
up->nboots != q->n_boot_sections || up->nboots < 0 ||
up->bootsize != q->boot_section_size || up->bootsize < 0 ||
memcmp(up->sigs, q->signature, 3)
@@ -626,7 +626,7 @@ static void dryrun_enable(PROGRAMMER *pgm, const AVRPART *p) {
// Ensure can use up and cp with impunity
if(!flm || !up || incons || !cp) {
pmsg_warning("%s for %s; not initialising memories beyond factory settings\n", !flm? "no flash":
!up? "no uP_table[] entry": incons? "inconsistent upP_table[] entry": "no config table", q->desc);
!up? "no uP_table[] entry": incons? "inconsistent uP_table[] entry": "no config table", q->desc);
return;
}

View File

@@ -12,7 +12,7 @@
* Meta-author Stefan Rueger <stefan.rueger@urclocks.com>
*
* v 1.39
* 25.06.2024
* 15.08.2024
*
*/