Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-13 Thread Miguel Wisintainer
During the BLE scan, shows Nuttx for you ? I remember that weeks ago i had seen it...when i was tryng to compile nuttx (ble) Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-09 Thread Miguel Wisintainer
Hi Matias, No, it´s referent to an app example, if you some example to access the NIMBLE on Nuttx Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-09 Thread Matias N.
Hi Miguel, if you have questions regarding using nimBLE I suggest you go to their support channels as this is really not NuttX related. Best, Matias On Tue, Jun 8, 2021, at 14:01, Miguel Wisintainer wrote: > Hi Matias > > Have you some example to make the scan ? > > Enviado do Email

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-08 Thread Miguel Wisintainer
Hi Matias Have you some example to make the scan ? Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-03 Thread Miguel Wisintainer
How can i do a scan test ? Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Miguel Wisintainer
First experiments on NRF52840 nsh> nimble & nimble [5:255] hci init port init gap init gatt init ans init ias init lls init tps init hci_sock task init ble_host task init nsh> hci sock task host task nsh> free nsh: free: Could not open /proc/meminfo (is procfs mounted?): 2 nsh> mount -t procfs

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Alan Carvalho de Assis
Thank you Matias, I'll do it! BR, Alan On 6/1/21, Matias N. wrote: > Sorry, no idea. You should probably enable debugging and see what is > happening. > > Best, > Matias > > On Tue, Jun 1, 2021, at 11:54, Alan Carvalho de Assis wrote: >> After reducing the stack from 16KB to 2KB I got same

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Alan Carvalho de Assis
After reducing the stack from 16KB to 2KB I got same result as yours Erik: NuttShell (NSH) NuttX-10.1.0-RC1 nsh> nimble & nimble [5:255] hci init port init gap init gatt init ans init ias init lls init tps init hci_sock task init ble_host task init nsh> hci sock task host task nsh> ifconfig

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Erik Englund
Change the Nimble stacksize from 16384 to 2048, the nimble application starts as it should. Haven't had time to look into it anymore, it should've been 16k for a reason. We´ll have to trim stacksizes to leave some ram for the actual application though. I guess the board should start advertising

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-30 Thread Alan Carvalho de Assis
Hi Miguel, the size text font in the image you sent is impossible to read. I suggest you to select the text and post it here as raw text instead attaching image. BR, Alan On 5/29/21, Miguel Wisintainer wrote: > Some questions, > I can see the nimble and i can execute, but freeze...must it to

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-29 Thread Miguel Wisintainer
Some questions, I can see the nimble and i can execute, but freeze...must it to be execute with & I can see too the bnep0 Wich app and sintax to test it ? [cid:image002.png@01D754A2.25216660] Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-28 Thread Nathan Hartman
On Fri, May 28, 2021 at 5:24 PM Alan Carvalho de Assis wrote: > Hi Nathan, > > On 5/28/21, Nathan Hartman wrote: > > On Fri, May 28, 2021 at 4:43 PM Alan Carvalho de Assis > > wrote: > >> > >> Hi Erik, > >> > >> Thank you very much for your help. > >> > >> I noticed the final binary is too big

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-28 Thread Alan Carvalho de Assis
Hi Nathan, On 5/28/21, Nathan Hartman wrote: > On Fri, May 28, 2021 at 4:43 PM Alan Carvalho de Assis > wrote: >> >> Hi Erik, >> >> Thank you very much for your help. >> >> I noticed the final binary is too big (more than 300KB), is it also >> happening to you? >> >> BR, >> >> Alan > > > Do

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-28 Thread Alan Carvalho de Assis
Hi Erik, Thank you very much for your help. I noticed the final binary is too big (more than 300KB), is it also happening to you? BR, Alan On 5/27/21, Erik Englund wrote: > Yes, I think seamless Nordic BLE support is important for NuttX. > > I will try to release some time for this, I´ve got

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-27 Thread Erik Englund
Yes, I think seamless Nordic BLE support is important for NuttX. I will try to release some time for this, I´ve got nrf52832, nrf52833 and nrf52840 boards/products at my disposal. Med vänlig hälsning Erik Englund Innoware Development AB Hyttvägen 13 73338 SALA Org.nr. 556790-2977

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-26 Thread Alan Carvalho de Assis
Thank you Erik and Greg, I think we need to modify the default "sdc" board config to get nimBLE running correctly. Thank you for these suggestions. BR, Alan On Wednesday, May 26, 2021, Erik Englund wrote: > I was encountering the same error while trying to run NuttX 10.x / nimble > on

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-26 Thread Erik Englund
I was encountering the same error while trying to run NuttX 10.x / nimble on NRF52832, tracked it down to insufficient ram available. The nimble nsh-app were present in the builtin-apps internal lists, but when trying to allocate application stack NuttX will return an error code, and it seems all

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Gregory Nutt
The failure doesn't seem to have anything to do with nimBLE.  The nimble app is not running at all! Put a breakpoint on nimble_main().  I doubt that you ever get there.  But I don't know why. The error report is probably misleading too...  I seem to recall that that there is an issue that

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Alan Carvalho de Assis
Seams specific to nimble: NuttShell (NSH) NuttX-10.1.0-RC1 nsh> ? help usage: help [-v] [] . cdecho hexdump mkdir pssource unset [ cpexec ifconfig mkfatfs pwd test usleep ? cmp exit ifdownmkrd

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Matias N.
I can try tomorrow. Maybe you can try enabling another app and see if you can run it. The "command not found" seems unrelated to nimBLE. On Tue, May 25, 2021, at 20:26, Alan Carvalho de Assis wrote: > Hi Matias, > > No, this is not the issue: > > Symbol: BUILTIN [=y] > Symbol: NSH_BUILTIN_APPS

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Alan Carvalho de Assis
Hi Matias, No, this is not the issue: Symbol: BUILTIN [=y] Symbol: NSH_BUILTIN_APPS [=y] As you saw I used your "nrf52832-mdk:sdc" and you enabled it there. Is it working for you? BR, Alan On 5/25/21, Matias N. wrote: > The problem with apps listed but not being able to run them is a

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Matias N.
The problem with apps listed but not being able to run them is a common error (something worth adding to the FAQ) I faced many times. It is due to not having support for BUILTIN apps on menuconfig (you need general support as well as enabling NSH BUILTIN support). It is strange that the config

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Alan Carvalho de Assis
Hi Matias and Miguel, I just tried nimble on nrf52832-mdk board without success: $ ./tools/configure.sh nrf52832-mdk:sdc $ make It downloaded and compiled nimble for NuttX correctly, the nuttx.bin was about 314944 bytes. When I drop this file inside DAPLINK disk it tries to flash and create

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Miguel Wisintainer
Matias Me and Alan will investigate! Thank you so much! Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-25 Thread Matias N.
Hi Miguel, from the looks of it, it is a problem with NuttX's Bluetooth host-layer. There's an unhandled opcode which corresponds to "scan enable", which is not being recognized when the controller sends "command complete". In my case I used nimBLE for host layer which works well. You can try

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-24 Thread Miguel Wisintainer
Sometimes show and disappears the nuttx on my ble scan Enviado do Email para Windows 10

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-23 Thread Miguel Wisintainer
 Hello Brennan Plans changed, i had spent a lot of time today on NRF52832 then i suspect that should be a Softdevice Version (132) Then i ported the NRF52840 and repeated all the process, and finally that error was removed. Look the boot ABCDEG bt_initialize: btdev 0x47384

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-23 Thread Brennan Ashton
On Sun, May 23, 2021, 6:32 AM Miguel Wisintainer wrote: > Sir > > How are you ? > > I compiled the SDC Nimble to run on NRF52832 but i am getting the > following error > > NuttShell (NSH) NuttX-10.1.0-RC1 > nsh> ERROR: nrf52_sdc_initialize() failed: -45 > You will likely need to turn on the

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-05-23 Thread Alan Carvalho de Assis
Hi Miguel, We didn't receive your config, please rename it to config.txt and send again. BR, Alan On Sunday, May 23, 2021, Miguel Wisintainer wrote: > Sir > > How are you ? > > I compiled the SDC Nimble to run on NRF52832 but i am getting the > following error > > NuttShell (NSH)