Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread Mo Chen
Hi Lukasz, We are also trying FreeRTOS + Nimble on nrf52. Have you realized DFU OTA via BLE with FreeRTOS? We are not sure if this is something doable. Thanks, On Sun, Jun 14, 2020 at 4:19 PM Łukasz Rymanowski < lukasz.rymanow...@codecoup.pl> wrote: > Hi, > > so indeed your logs show that after

Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread Łukasz Rymanowski
Hi Mo Chen, I'm actually using Mynewt OS where OTA is supported when using MCUBoot. Maybe worth considering using MCUBoot? Best Łukasz On Mon, 15 Jun 2020 at 17:19, Mo Chen wrote: > Hi Lukasz, > > We are also trying FreeRTOS + Nimble on nrf52. Have you realized DFU OTA > via BLE with FreeRTOS?

Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread Mo Chen
Maybe I should direct my question to JF then. Thanks for your reply. Mo Chen On Mon, Jun 15, 2020, 10:18 Mo Chen wrote: > Hi Lukasz, > > We are also trying FreeRTOS + Nimble on nrf52. Have you realized DFU OTA > via BLE with FreeRTOS? We are not sure if this is something doable. > > Thanks, >

Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread jf
Hi, The ACK you're talking about, are they the "Rcvd Read" listed in the capture? If BLE_MONITOR_RTT means that nimble supports JLink RTT, then yes, I have a console available. I'll try to enable it. I'll also have a look at the stats and how to use them. Thanks for the pointers, I'll repo

Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread jf
Hi again, Ok, I had a look to BLE_MONITOR_RTT, but I can't figure out how to enable it in my code (which does not use mynewt as RTOS) : at first, the code did not compile. I tried to fix the compilation errors (for example, I had to define struct File_methods and struct File). Then, I built th

Re: Nimble on NRF52 : connectivity issue with Android, stack seems to freeze

2020-06-15 Thread jf
Hi, Sorry, I do not mean to spam this mailing list. I just wanted to say I misread the article, and manage to use the monitor over RTT. I build the tool rtt2pty, ran it and then launched "btmon -J nrf52" and I see very detailed logs about BLE communication! It's running late, I'll analyze th