test this.
--- a/firmware/configs/not_element14.h Wed Feb 17 12:39:46 2016 +0000
+++ b/firmware/configs/not_element14.h Wed Feb 17 12:48:55 2016 +0000
@@ -455,7 +455,7 @@
#define _CONFIG_VALID_
#if defined(PUT_CONFIG_BITS_HERE)
- /* Like chipKIT Pi USB but with MX270 processor and 48MHz oscillator */
+ /* Like chipKIT Pi USB but with MX270 processor and 48MHz oscillator and without BOOTLOAD-EN */
//* Oscillator Settings
#pragma config FNOSC = PRIPLL // Oscillator selection
@@ -498,24 +498,17 @@
// LED1 on RA0
// LED2 on RB15
- // Boot button on RB9
- #define CAPABILITIES (blCapBootLED | blCapSplitFlashBootloader | blCapUSBInterface | blCapProgramButton | blCapVirtualProgramButton | CAPCOMMON)
+ #define CAPABILITIES (blCapBootLED | blCapSplitFlashBootloader | blCapUSBInterface | blCapAutoResetListening | CAPCOMMON)
- // BTN / LED sense
+ // LED sense
#define LedOn High
- #define BntOn Low
// Boot LED
#define BLedLat A
#define BLedBit 0
- // Virtual program button
- #define VPBntLat B
- #define VPBntBit 9
-
- // Program button
- #define PBntPort B
- #define PBntBit 9
+ // Other capabilities
+ #define LISTEN_BEFORE_LOAD 3000 // no less than 3 seconds
#define _CPU_NAME_ "32MX270F256B"
#define VEND vendElement14