THREAD CAN BE CLOSED -- SOLVED! SOLUTIONS: 1) File Descriptor expanding freezes MCU Like Bernd stated!
2) SDIO -116 when I enable DEV-GPIO Datasheet also comfirms: PD2 -> SDIO_CMD Changed: #define GPIO_OUT1 (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_PORTD|GPIO_PIN2) To: #define GPIO_OUT1 (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_PORTE|GPIO_PIN9) Thanks again all! Ben -----Oorspronkelijk bericht----- Van: Bernd Walter <ti...@cicely7.cicely.de> Verzonden: donderdag 9 april 2020 11:21 Aan: dev@nuttx.apache.org Onderwerp: Re: File Descriptor expanding freezes MCU and SDIO -116 when I enable DEV-GPIO On Thu, Apr 09, 2020 at 10:29:30AM +0200, disruptivesolution...@gmail.com wrote: > Hi all, > > > > 2 questions: > > > > File Descriptor expanding freezes MCU > > 1) > > Maybe a too simple question.. But why is my MCU "freezing up" when I > expand my File Descriptors: > > RTOS Features -> Files and I/O -> Maximum number of file descriptors > per task .. From 8 --> 10. freeze. Back to 8. Oke. Try a distclean. You can backup your nuttx/.config in case you've changed a lot. Something similar happened to me a while back. The allocation routine wasn't recompiled when I raised the number of file descriptors and therefor the table overflowed. > > > SDIO -116 when I enable DEV_GPIO. Disabling DEV_GPIO my SDIO works fine. > > 2) > > I am trying to debug, but 1 is keeping me from doing that. > > > > Thanks again. > > Ben > -- B.Walter <be...@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.