BLE Friend Hardware Reset
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
Where are you adafruit support mike?
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
My last post is unanswered and is 24 hours old...
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: Ble friend "couldn't factory reset"
I seem to have two threads going on the same subject. can we use the other one?
I am using the arduino environment and the monitor
I am using the arduino environment and the monitor
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
I was able to reset the module using the DFU pin. the factory reset pad on the back of the board does not reset the board.
Still "unable to factory reset" when running the factory reset sketch.
ble.begin(VERBOSE_MODE) results in an "OK" indicating that there was a successful communication to the board.
just the reset is not working.
here is the output of the factory reset sketch:
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Performing a factory reset:
AT+FACTORYRESET
<- Couldn't factory reset
Still "unable to factory reset" when running the factory reset sketch.
ble.begin(VERBOSE_MODE) results in an "OK" indicating that there was a successful communication to the board.
just the reset is not working.
here is the output of the factory reset sketch:
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Performing a factory reset:
AT+FACTORYRESET
<- Couldn't factory reset
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: BLE Friend Hardware Reset
About the FCR pad on the back of the BLE module: are you connecting that to GND before connecting the 5v pin, and holding it low while the board powers up? That's how that signal behaves.
Only connecting power and ground while doing a factory reset is fine.
About the factory reset sketch failing, what voltage do you see on the MOD pin while the sketch is running?
Only connecting power and ground while doing a factory reset is fine.
About the factory reset sketch failing, what voltage do you see on the MOD pin while the sketch is running?
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
Here is the state of the MOD pin. I connected it to D7 and read it just Prior to the factory reset command.
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Mode Pin State: 1 <<------------------------------------------------------------
Performing a factory reset:
AT+FACTORYRESET
<- ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Mode Pin State: 1 <<------------------------------------------------------------
Performing a factory reset:
AT+FACTORYRESET
<- ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Mode Pin State: 1 <<------------------------------------------------------------
Performing a factory reset:
AT+FACTORYRESET
<- ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ CANT FIGURE OUT WHERE THIS IS COMING FROM. TRIED TRACING THE CODE IN THE LIBRARIES, BUT CAN NOT FIND ANY INSTANCE OF
Serial.print
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Mode Pin State: 1 <<------------------------------------------------------------
Performing a factory reset:
AT+FACTORYRESET
<- ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ CANT FIGURE OUT WHERE THIS IS COMING FROM. TRIED TRACING THE CODE IN THE LIBRARIES, BUT CAN NOT FIND ANY INSTANCE OF
Serial.print
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: BLE Friend Hardware Reset
I asked for the voltage on the M0 pin, not the output from the serial monitor. There are some hardware issues I want to rule out.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: BLE Friend Hardware Reset
Can you try a different set of pins on your redboard? You may have a bad pin.
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
using pins 2 thru 7
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Performing a factory reset:
AT+FACTORYRESET
<- Couldn't factory reset
Adafruit Factory Reset Example
------------------------------------------------
Initialising the Bluefruit LE module: OK!
Performing a factory reset:
AT+FACTORYRESET
<- Couldn't factory reset
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
I get exactly the same response with the ble friend removed from the circuit!
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
to be clear, I unplugged the module from the circuit and the software still reported OK for ble.begin()
- chrismolloy
- Posts: 30
- Joined: Mon Dec 10, 2012 6:15 pm
Re: BLE Friend Hardware Reset
I tried a genuine UNO instead of the redboard with the same results. I also downgraded the library to the previous 2 versions with no change.
hooked it up with an FTDI and everything works perfectly.
I will try communicating from the arduino software serial back thru the FTDI to a terminal program to confirm the software serial is working.
hooked it up with an FTDI and everything works perfectly.
I will try communicating from the arduino software serial back thru the FTDI to a terminal program to confirm the software serial is working.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: BLE Friend Hardware Reset
Looking at the library, I think there's a bug in begin. It looks like it will always return OK.
So, are you using the correct constructor in your sketch? You're connected with software spi? Are you using the software SPI constructor?
So, are you using the correct constructor in your sketch? You're connected with software spi? Are you using the software SPI constructor?
Please be positive and constructive with your questions and comments.