Disable safemode for Xmega parts.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@902 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2010-01-11 14:29:26 +00:00
parent 1b16aa8140
commit 8743e20e25
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-01-11 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* main.c (main): disable safemode for Xmega parts.
2010-01-12 Michal Ludvig <mludvig@logix.net.nz> 2010-01-12 Michal Ludvig <mludvig@logix.net.nz>
* buspirate.c: If the BusPirate doesn't respond * buspirate.c: If the BusPirate doesn't respond

4
main.c
View File

@ -728,6 +728,10 @@ int main(int argc, char * argv [])
auto_erase = 0; auto_erase = 0;
} }
if(p->flags & AVRPART_HAS_PDI) {
safemode = 0;
}
/* /*
* set up seperate instances of the avr part, one for use in * set up seperate instances of the avr part, one for use in
* programming, one for use in verifying. These are separate * programming, one for use in verifying. These are separate