NFC and FOTA does not work

Hi

SDK: nRF Connect v2.6.1
uP: nRF52832

In my project I try to compbine NFC and FOTA (DFU over BLE). First I did setup a NFC project from the example "writable_ndef_msg". This is running. Then I did setup a demo project based on that example: https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/

But after combining those two example project, FOTA does not run. In the "Device Manager" App on my mobile phone I received a "GATT CONN TIMEOUT" error, after starting a firmware upgrade. To speed up the start time, CONFIG_BOOT_VALIDATE_SLOT0=n is set to no in child_image/mcuboot.conf

I think I missed to set a configuration in the prj.conf file but I have no idea what could be wrong.

Further could that be a problem that NFC is allowed to write to the flash?

Attached you find my project.

https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-a7f5b019eaa74035ad2cfbc50a7bde9d/writable_5F00_ndef_5F00_msg.zip

Thanks and best regards
Markus

Parents
  • I am not an expert in this but looking into other forums it seems like there could be some configs missing in your prj.conf 

    If this did not work, then I can try asking the author of the lesson to give some guidance. 

  • Hi

    adding this configs does not fix the problem. I stille receive the "GATT CONN TIMEOUT" error, whil trying to upload a firmware with the "Device Manager" App

    My prj.conf files looks like this:

    As mentioned bevor. When using the code of the FOTA lesson, then FOTA is running correct. But when combining the FOTA Code with the NFC sample project, then FOTA does not run anymore.

    Yes please ask the author. Thanks a lot

  • Can you please provide me with the Air sniffer log of the connection and disconnection, so that I have more context to share and analyze?

  • I will try to setup the air sniffer. But I have some problems to run the sniffer.

    Meanwhile have tried to run the code which is attached in the first post?

Reply
  • I will try to setup the air sniffer. But I have some problems to run the sniffer.

    Meanwhile have tried to run the code which is attached in the first post?

Children