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

2021-05-25 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 a

Re: [VOTE] Apache NuttX 10.1.0 (incubating) RC1 release

2021-05-25 Thread Duo Zhang
We have enough binding votes from IPMC now, so let's close the vote and finish the release? Thanks. 张铎(Duo Zhang) 于2021年5月20日周四 下午4:17写道: > As Nathan Hartman is an ASF member now, you could ask to join the IPMC, > then we could have 2 binding votes when releasing... > > And let me contact our c

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 th

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 rm

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 common

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 i

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 the

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Nathan Hartman
On Tue, May 25, 2021 at 12:02 PM Sebastien Lorquet wrote: > Back to the business > >> After this we managed to recompile our project using the latest NuttX > >> sources, but it fails when trying to init the PHY irq on our STM32F427 > >> board: We get "unexpected IRQ". > >> > >> Yes I know that's

Re: CAN example crashes

2021-05-25 Thread Tim Hardisty
On 07/05/2021 17:48, Tim wrote: Hi, SAMA5D27 (custom board) - trying to complete the port and also check that the CAN interface works on the board, so I'm trying to use the CAN example app As per my other thread, Linux+VS Code+Segger all up and running so I can see what's going on n

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Gregory Nutt
irq_unexpected_isr: ERROR irq: 3 ... My guess is that AN external IRQ is triggered (possibly not the PHY IRQ) but the ISR handler for that one is not ready yet. I will add debug messages. IRQ 3 is a Hardfault, not an external IRQ or peripheral interrupt. I would expect that situation to be

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Sebastien Lorquet
Back to the business After this we managed to recompile our project using the latest NuttX sources, but it fails when trying to init the PHY irq on our STM32F427 board: We get "unexpected IRQ". Yes I know that's pretty vague :-) Is there anything obvious I should have been careful with in this

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Nathan Hartman
On Tue, May 25, 2021 at 10:22 AM Sebastien Lorquet wrote: > > it will be easier next time. Yes the workflow of git in general is a lot of steps to do a simple thing. If you'd like to, you can still send patches to the mailing list. Just please remember to name the file with ".txt" extension or t

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: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Sebastien Lorquet
it will be easier next time. Does any of the 21 queued test that I see waiting in github enable this driver? Because if they dont (which I suspect, hence this typo) these tests are useless. Sebastien Le 25/05/2021 à 16:17, Sebastien Lorquet a écrit : No, the workflow is very clear, the pu

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Sebastien Lorquet
No, the workflow is very clear, the pull request model is a defacto standard that works everywhere. But it is heavy for trivial changes. fork, mess with remotes, make a branch, forget to change the git config --local user.name, push, deal with github and my ssh agent messing with multiple ssh

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Nathan Hartman
On Tue, May 25, 2021 at 10:05 AM Sebastien Lorquet wrote: > > done, what a process for a 7-character change... > > The PHY and cable detection worked perfectly fine in our project. > > Sebastien Thanks so much for doing that! Regarding the process, did you have any difficulty, i.e., anything tha

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-25 Thread Sebastien Lorquet
done, what a process for a 7-character change... The PHY and cable detection worked perfectly fine in our project. Sebastien Le 24/05/2021 à 23:04, Nathan Hartman a écrit : On Mon, May 24, 2021 at 11:36 AM Sebastien Lorquet wrote: Hello, There is a typo in the PCA9555 driver at line 817: CO

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 to

RE: (Late) heads-up for new risc-v soc and board

2021-05-25 Thread Alin.Jerpelea
Nice Work! -Original Message- From: Abdelatif Guettouche Sent: den 24 maj 2021 21:39 To: dev@nuttx.apache.org Subject: Re: (Late) heads-up for new risc-v soc and board Nice work! Thanks for the contribution! On Mon, May 24, 2021 at 8:34 PM Janne Rosberg wrote: > Hi Alan, > > Yes, it