fbd38
July 7, 2024, 3:16pm
#1
Hi.
I use the central_bueuart example but fail to detect any UART service.
The device i want to detect implement a Beacon and a UART service (no DFU). It works fine with the Nordik Android application but not with this “central_bueuart.ino” example.
Any Idéa ? any library I should have loaded ?
Which library are you using? BLEDevice.h?
fbd38
July 10, 2024, 12:05pm
#3
I am not using the MBED stuff, but the “Adafruit” one. I have:
#include <bluefruit.h>
Could it be an issue with the 1MB E2PROM, as I have erazed it in a previous try ?
Hi there,
Can you post the compiler output using the Code Tags above </> paste it in there,
The first 5 lines and the last 20 ish lines.
HTH
GL PJ
fbd38
July 11, 2024, 7:40am
#5
Hi PG.
Begining:
FQBN: Seeeduino:nrf52:xiaonRF52840
Using board ‘xiaonRF52840’ from platform in folder: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8
Using core ‘nRF5’ from platform in folder: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8
Detecting libraries used…
C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -c -g -Werror=return-type -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=64000000 -DARDUINO=10607 -DARDUINO_Seeed_XIAO_nRF52840 -DARDUINO_ARCH_NRF52 -DARDUINO_BSP_VERSION=“1.1.8” -DNRF52840_XXAA -DUSBCON -DUSE_TINYUSB -DUSB_VID=0x2886 -DUSB_PID=0x8044 -DUSB_MANUFACTURER=“Seeed” -DUSB_PRODUCT=“XIAO nRF52840” -DSOFTDEVICE_PRESENT -DARDUINO_NRF52_ADAFRUIT -DNRF52_SERIES -DDX_CC_TEE -DLFS_NAME_MAX=64 -Ofast -DCFG_DEBUG=0 -DCFG_LOGGER=0 -DCFG_SYSVIEW=0 -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/Core/Include/ -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Include/ -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx/hal -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx/mdk -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx/soc -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx/drivers/include -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/nrfx/drivers/src -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/nordic/softdevice/s140_nrf52_7.3.0_API/include/nrf52 -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/freertos/Source/include -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/freertos/config -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/freertos/portable/GCC/nrf52 -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/freertos/portable/CMSIS/nrf52 -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/sysview/SEGGER -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/sysview/Config -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8/libraries/Adafruit_TinyUSB_Arduino/src/arduino -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5 -IC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\variants\Seeed_XIAO_nRF52840 C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\sketch\central_bleuart.ino.cpp -o nul
Alternative pour bluefruit.h: [Adafruit Bluefruit nRF52 [email protected] ]
ResolveLibrary(bluefruit.h)
→ candidates: [Adafruit Bluefruit nRF52 [email protected] ]
Ending:
Compiling library “Adafruit Internal File System on Bluefruit nRF52”
Utilisation du fichier déjà compilé: C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\InternalFileSystem.cpp.o
Utilisation du fichier déjà compilé: C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\flash\flash_cache.c.o
Utilisation du fichier déjà compilé: C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\flash\flash_nrf5x.c.o
Compiling core…
Utilisation du fichier déjà compilé: C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\core\variant.cpp.o
Using precompiled core: C:\Users\franc\AppData\Local\Temp\arduino\cores\Seeeduino_nrf52_xiaonRF52840_softdevice_s140v6,debug_l0_79e7f937ca44b64496dd4211d3f1ae79\core.a
Linking everything together…
“C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-g++” “-LC:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5” -Ofast -Wl,–gc-sections -save-temps “-LC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\cores\nRF5/linker” -Tnrf52840_s140_v7.ld “-Wl,-Map,C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.map” -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -u _printf_float -Wl,–cref -Wl,–check-sections -Wl,–gc-sections -Wl,–unresolved-symbols=report-all -Wl,–warn-common -Wl,–warn-section-align -Wl,–wrap=malloc -Wl,–wrap=free --specs=nano.specs --specs=nosys.specs -o “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.elf” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\sketch\central_bleuart.ino.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEAdvertising.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLECentral.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLECharacteristic.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEClientCharacteristic.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEClientService.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEConnection.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEDiscovery.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEGatt.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEPeriph.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEScanner.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLESecurity.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEService.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\BLEUuid.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\bluefruit.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEAncs.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEClientBas.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEClientCts.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEClientDis.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEClientHidAdafruit.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\clients\BLEClientUart.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEBas.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEBeacon.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEComm.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEDfu.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEDis.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEHidAdafruit.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEHidGamepad.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEHidGeneric.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEMidi.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\BLEUart.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\services\EddyStone.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\utility\AdaMsg.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\utility\bonding.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Bluefruit52Lib\utility\bootloader_util.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\Adafruit_nRFCrypto.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\ecc\nRFCrypto_ECC.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\ecc\nRFCrypto_ECC_PrivateKey.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\ecc\nRFCrypto_ECC_PublicKey.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\nRFCrypto_Hash.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_nRFCrypto\nRFCrypto_Random.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\Adafruit_TinyUSB_API.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\Adafruit_USBD_CDC.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\Adafruit_USBD_Device.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\hid\Adafruit_USBD_HID.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\midi\Adafruit_USBD_MIDI.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\msc\Adafruit_USBD_MSC.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\ports\esp32\Adafruit_TinyUSB_esp32.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\ports\nrf\Adafruit_TinyUSB_nrf.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\ports\rp2040\Adafruit_TinyUSB_rp2040.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\ports\samd\Adafruit_TinyUSB_samd.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\arduino\webusb\Adafruit_USBD_WebUSB.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\audio\audio_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\bth\bth_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\cdc\cdc_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\dfu\dfu_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\dfu\dfu_rt_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\hid\hid_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\midi\midi_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\msc\msc_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\net\ecm_rndis_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\net\ncm_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\usbtmc\usbtmc_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\class\vendor\vendor_device.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\common\tusb_fifo.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\device\usbd.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\device\usbd_control.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\espressif\esp32sx\dcd_esp32sx.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\microchip\samd\dcd_samd.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\nordic\nrf5x\dcd_nrf5x.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\nxp\transdimension\dcd_transdimension.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\raspberrypi\rp2040\dcd_rp2040.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\raspberrypi\rp2040\hcd_rp2040.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\portable\raspberrypi\rp2040\rp2040_usb.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_TinyUSB_Arduino\tusb.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_LittleFS\Adafruit_LittleFS.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_LittleFS\Adafruit_LittleFS_File.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_LittleFS\littlefs\lfs.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\Adafruit_LittleFS\littlefs\lfs_util.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\InternalFileSystem.cpp.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\flash\flash_cache.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\libraries\InternalFileSytem\flash\flash_nrf5x.c.o” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\core\variant.cpp.o” -Wl,–start-group “-LC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\CMSIS\5.7.0/CMSIS/DSP/Lib/GCC/” -larm_cortexM4lf_math -lm “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/…\…\cores\Seeeduino_nrf52_xiaonRF52840_softdevice_s140v6,debug_l0_79e7f937ca44b64496dd4211d3f1ae79\core.a” “-LC:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\Adafruit_nRFCrypto\src\cortex-m4\fpv4-sp-d16-hard” -lnrf_cc310_0.9.13-no-interrupts -lnrf_cc310_0.9.13-no-interrupts -Wl,–end-group
“C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-objcopy” -O ihex “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.elf” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.hex”
“C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8/tools/adafruit-nrfutil/win32/adafruit-nrfutil.exe” dfu genpkg --dev-type 0x0052 --sd-req 0x0123 --application “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.hex” “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.zip”
Zip created at C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.zip
Utilisation de la bibliothèque Adafruit Bluefruit nRF52 Libraries version 0.21.0 dans le dossier: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\Bluefruit52Lib
Utilisation de la bibliothèque Adafruit nRFCrypto version 0.0.5 dans le dossier: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\Adafruit_nRFCrypto
Utilisation de la bibliothèque Adafruit TinyUSB Library version 1.7.0 dans le dossier: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\Adafruit_TinyUSB_Arduino
Utilisation de la bibliothèque Adafruit Little File System Libraries version 0.11.0 dans le dossier: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\Adafruit_LittleFS
Utilisation de la bibliothèque Adafruit Internal File System on Bluefruit nRF52 version 0.11.0 dans le dossier: C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\hardware\nrf52\1.1.8\libraries\InternalFileSytem
“C:\Users\franc\AppData\Local\Arduino15\packages\Seeeduino\tools\arm-none-eabi-gcc\9-2019q4/bin/arm-none-eabi-size” -A “C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5/central_bleuart.ino.elf”
Le croquis utilise 123944 octets (15%) de l’espace de stockage de programmes. Le maximum est de 811008 octets.
Les variables globales utilisent 14300 octets (6%) de mémoire dynamique, ce qui laisse 223268 octets pour les variables locales. Le maximum est de 237568 octets.
Upgrading target on COM78 with DFU package C:\Users\franc\AppData\Local\Temp\arduino\sketches\76F0FFF7B653A9EAC8C11949CB06C6E5\central_bleuart.ino.zip. Flow control is disabled, Single bank, Touch disabled
Hi there,
Ok, Looks like BSP is not right,“Seeeduino:nrf52:xiaonRF52840”.
looks like BOARD files are corrupt? maybe? reload install the ESP board package may be it’s corrupt and that is where the BLEDevice lib comes from AFAIK.
and / or…
I would roll back the BSP to 1.1.1 and also if you have ArduinoBLE present on the system , REMOVE it. and try again. I had a situation a while ago that just having it installed on the IDE it was nurffing up (technical term) the BLE on a ESP32 compile. Once I uninstalled it from the IDE the code worked even though there were NO errors in the compile. Try those things and report back. Also look at the options on the IDE for the Board and verify the tools settings make sense i.e softdevice , etc.
It is a LIB issue for sure. reinstall Adafruit TinyUSB. lib you get any errors installing the .LIB ZIP files?
HTH
GL PJ