priv->fbmem = (FAR uint8_t *)kmm_zalloc(priv->fblen); if (priv->fbmem == NULL)
{ lcderr("ERROR: Failed to allocate frame buffer memory\n"); I dont seem to get fbmem filled. tried all config options, but it stays empty. I do not have NX(WM) activated. The framebuffer should be made before this application stack right? Van: disruptivesolution...@gmail.com <disruptivesolution...@gmail.com> Verzonden: zaterdag 4 januari 2020 14:49 Aan: 'dev@nuttx.apache.org' <dev@nuttx.apache.org> Onderwerp: NX Graphics All, I am trying to get a ILI9341 working and a tip from Dave gave me the option to implement it as a generic SPI driver. Before I have tried to do this with LTDC and FMC like on the STM32F429i. But in both cases I get in pdccurses: * Unable to create SP: in pdc_initscr.c its not really clear to me what the cause could be.. In both casus in NX I get: nsh> nxhello nxmu_start: Starting server task lcddrv_spiif_initialize: initialize lcddrv spi subdriver board_lcd_getdev: SPI port 2 bound to LCD 0 spi_send: Sent: 0001 Return: 00ff Status: 02 spi_send: Sent: 0001 Return: 00ff Status: 02 stm32_spi2select: devid: 262144 CS: assert nxbe_configure: WARNING: NX configured for 1 planes, controller only needs 0 nxmu_setup: ERROR: mq_open(nxs) failed: 28 nx_server: nx_run returned: -28 nx_connectinstance: ERROR: mq_open(nxc1) failed: 28 nxhello_initialize: nx_connect failed: 28 nxhello_main: NX handle=0 nxhello_main: Failed to get NX handle: 28 What am I doing wrong? My SPI signals seem to be correct.