From: Stephan Baerwolf Date: Wed, 1 Aug 2012 12:57:10 +0000 (+0200) Subject: remove the backdoor since it is too hard to use X-Git-Tag: 2010-07-27-stephan-201208011730~1 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/75d2c2e6cf042deafe21b0e9a299c2b6091fd62b?ds=inline remove the backdoor since it is too hard to use Signed-off-by: Stephan Baerwolf --- diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h index 34d6cdf..32b6654 100644 --- a/firmware/bootloaderconfig.h +++ b/firmware/bootloaderconfig.h @@ -93,14 +93,6 @@ these macros are defined, the boot loader usees them. * to erase itself from the bootregion */ -#define HAVE_BLB11_SOFTW_BACKDOOR 1 -/* - * When "HAVE_BLB11_SOFTW_LOCKBIT" is enabled, this backdoor will allow writing - * to the BLS while JUMPER stays low. (keeps be pressed) - * If JUMPER is released (and after a short debouncing period) repressing it - * will have NO affect on disabling the writelock. - */ - #define HAVE_DOSPM_TUNNELCMD 1 /* * When enabled, "HAVE_DOSPM_TUNNELCMD" will implement an PROGMEM ARRAY diff --git a/firmware/main.c b/firmware/main.c index 5c1233b..2d54b47 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -282,11 +282,6 @@ uchar isLast; for(i = 0; i < len;){ #if HAVE_BLB11_SOFTW_LOCKBIT if (CURRENT_ADDRESS >= (addr_t)(BOOTLOADER_ADDRESS)) { -#if HAVE_BLB11_SOFTW_BACKDOOR - if (!((stayinloader >= 0x10) && (bootLoaderCondition()))) return 1; -#else - return 1; -#endif } #endif i += 2;