Modifications

Sauter à la navigation Sauter à la recherche
3 828 octets ajoutés ,  30 juillet 2017 à 15:14
aucun résumé de modification
Ligne 38 : Ligne 38 :  
We regularly release [https://github.com/adafruit/Adafruit_BluefruitLE_Firmware Bluefruit LE firmware images] with bug fixes and new features. Each AT command in this learning guide lists the minimum firmware version required to use that command, but for a higher level overview of the changes from one firmware version to the next, consult the [https://learn.adafruit.com/introducing-adafruit-ble-bluetooth-low-energy-friend/history firmware history page].
 
We regularly release [https://github.com/adafruit/Adafruit_BluefruitLE_Firmware Bluefruit LE firmware images] with bug fixes and new features. Each AT command in this learning guide lists the minimum firmware version required to use that command, but for a higher level overview of the changes from one firmware version to the next, consult the [https://learn.adafruit.com/introducing-adafruit-ble-bluetooth-low-energy-friend/history firmware history page].
    +
== Does my Bluefruit LE device support ANCS? ==
 +
ANCS is on the roadmap for us (most likely in the 0.7.x release family), but we don't currently support it since there are some unusual edge cases when implementing it as a service.
 +
 +
== My Bluefruit LE device is stuck in DFU mode ... what can I do?
 +
 +
If your device is stuck in DFU mode for some reason and the firmware was corrupted, you have several options.
 +
 +
First, try a factory reset by holding down the DFU button for about 10 seconds until the CONN LED starts flashing, then release the DFU button to perform a factory reset.
 +
 +
If this doesn't work, you may need to reflash your firmware starting from DFU mode, which can be done in one of the following ways:
 +
Bluefruit LE Connect (Android)
 +
 +
* Place the module in DFU mode (constant LED blinky)
 +
* Open Bluefruit LE Connect
 +
* Connect to the 'DfuTarg' device
 +
* Once connected, you will see a screen with some basic device information. Click the '...' in the top-right corner and select '''Firmware Updates'''
 +
* Click the '''Use Custom Firmware''' button
 +
* Select the appropriate .hex and .init files (copied from the [https://github.com/adafruit/Adafruit_BluefruitLE_Firmware Bluefruit LE Firmware repo]) ... for the BLEFRIEND32 firmware version 0.6.7, this would be:
 +
** Hex File: blefriend32_s110_xxac_0_6_7_150917_blefriend32.hex
 +
** Init File: blefriend32_s110_xxac_0_6_7_150917_blefriend32_init.dat
 +
* Click '''Start Update'''
 +
 +
Unfortunately, the iOS app doesn't yet support custom firmware updates from DFU mode yet, but we will get this into the next release.
 +
Nordic nRF Toolbox
 +
 +
You can also use Nordic's nRF Toolbox application to update the firmware using the OTA bootloader.
 +
 +
On '''Android''':
 +
* Open nRF Toolbox (using the latest version)
 +
* Click the '''DFU''' icon
 +
* Click the '''Select File''' button
 +
* Select '''Application''' from the radio button list, then click '''OK'''
 +
* Find the appropriate .hex file (ex. 'blefriend32_s110_xxac_0_6_7_150917_blefriend32.hex')
 +
* When asked about the '''Init packet''', indicate '''Yes''', and select the appropriate *_init.dat file (for example: 'blefriend32_s110_xxac_0_6_7_150917_blefriend32_init.dat').
 +
* Click the '''Select Device''' button at the bottom of the main screen and find the '''DfuTarg''' device, clicking on it
 +
* Click the '''Upload''' button, which should now be enabled on the home screen
 +
* This will begin the DFU update process which should cause the firmware to be updated or restored on your Bluefruit LE module
 +
 +
On '''iOS''':
 +
* Create a .zip file containing the .hex file and init.dat file that you will use for the firmware update.  For example:
 +
** Rename 'blefriend32_s110_xxac_0_6_7_150917_blefriend32.hex' to '''application.hex'''
 +
** Rename 'blefriend32_s110_xxac_0_6_7_150917_blefriend32_init.dat' to '''application.dat'''
 +
* Upload the '''.zip file''' containing the application.hex and application.dat files to your iPhone using uTunes, as described here
 +
* Open the nRF Toolbox app (using the latest version)
 +
* Click the '''DFU''' icon
 +
* Click the '''Select File''' text label
 +
* Switch to '''User Files''' to see the .zip file you uploaded above
 +
* Select the .zip file (ex. blefriend32_065.zip)
 +
* On the main screen select '''Select File Type'''
 +
* Select '''application'''
 +
* On the main screen select '''SELECT DEVICE'''
 +
* Select '''DfuTarg'''
 +
* Click the '''Upload''' button which should now be enabled
 +
* This will begin the DFU process and your Bluefruit LE module will reset when the update is complete
 +
* If you get the normal 2 or 3 pulse blinky pattern, the update worked!
 +
 +
on '''Adafruit_nRF51822_Flasher''':
 +
 +
As a last resort, if you have access to a Raspberry Pi, a Segger J-Link or a STLink/V2, you can also try manually reflashing the entire device, as described in the FAQ above, with further details on the Software Resources page.
 
{{Bluefruit-LE-Shield-TRAILER}}
 
{{Bluefruit-LE-Shield-TRAILER}}
29 917

modifications

Menu de navigation