Re: ILI9341 port to STM32F4

2020-01-02 Thread Disruptive Solutions
That would be very nice! Op wo 1 jan. 2020 19:57 schreef Dave Marples : > Ben, > > I have this up and running on an imxrt with a 'generic' spi driver > (i.e.that should work with any spi device rather than the platform specific > one that was previously in use). When I'm back at my desk this even

Re: ILI9341 port to STM32F4

2020-01-01 Thread Dave Marples
Ben, I have this up and running on an imxrt with a 'generic' spi driver (i.e.that should work with any spi device rather than the platform specific one that was previously in use). When I'm back at my desk this evening I'll send the files to you so you can compare and contrast to make something su

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
I am trying to put it all together, because I am not using the STM32F429i-disco with integrated TFT-LCD. But a ILI9431 Here I could find the Memory regions (also FMC and 3 memory regions [if I get it right...]) https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/c

Re: ILI9341 port to STM32F4

2020-01-01 Thread Gregory Nutt
Disabling the colormap config (CONFIG_STM32_FB_CMAP) it gives a white screen (no text "Hello World"), but no hardfault... and if I start nxhello for the second time I get: stm32_spi2select: devid: 262144 CS: assert White is probably better.  That just means that the data sent to the LCD is bad

Re: ILI9341 port to STM32F4

2020-01-01 Thread Gregory Nutt
Does that hardware support color mapping?  Normally that is used with 8-bit palette colors like old fashioned computers from the 80's.  You probably don't want it. On 1/1/2020 11:56 AM, Disruptive Solutions wrote: I am close, but looking in a loop? In ili9341_getvideoinfo the vinfo struct is

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
I am close, but looking in a loop? In ili9341_getvideoinfo the vinfo struct is filled correctly? fmt = 11 xres = 320 yres = 240 nplanes = 1 noverlays = 0 Is seems that the colormap is setting some problems in nxbe_colormap.c (lcd.h) /* Then set the color map */ ret = dev->putcmap(dev, &cmap);

Re: ILI9341 port to STM32F4

2020-01-01 Thread spudaneco
Sent from Samsung tablet. It seems strange that by not selecting CONFIG_NX_KBD it stil is trying tocompile stuff that has relations with this config?src/cnxwidget.cxx:691:65: error: 'class NXWidgets::CWidgetControl' has nomember named 'doubleClick'   if (m_flags.doubleClickable && hasFocus() &&

Re: ILI9341 port to STM32F4

2020-01-01 Thread spudaneco
Looks fine to me.  Same document is in nuttx/DocumentsSent from Samsung tablet. null

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
This has docu... http://nuttx.org/doku.php?id=documentation:nxgraphics --> Strange... sometimes its white? Op wo 1 jan. 2020 om 11:47 schreef Disruptive Solutions < disruptivesolution...@gmail.com>: > I wanted to use NX on the ILI9341... but is the documentation somewhere > filled? Or are there

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
I wanted to use NX on the ILI9341... but is the documentation somewhere filled? Or are there some examples how to configure this? https://nuttx.org/doku.php?id=documentation:nxgraphics --> Is empty? Ben Op wo 1 jan. 2020 om 11:31 schreef Disruptive Solutions < disruptivesolution...@gmail.com>:

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
I just checked your proposal Brennan. In my install base it's not doing it for me. Eclipse does. I already had this extension installed. To bad though. I really loved Visual Studio Code and I can use it for some coding... but for debugging I have to jump to Eclipse. Ben Op wo 1 jan. 2020 om 11:20

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
In have Cortex-Debug but I have to look at this, maybe its a different version. In my version I could not Copy-Paste the LR register address in PC and then go from there Verstuurd vanaf mijn iPhone > Op 1 jan. 2020 om 10:50 heeft Brennan Ashton het > volgende geschreven: > > Ben, > If y

Re: ILI9341 port to STM32F4

2020-01-01 Thread Brennan Ashton
Ben, If you want to use vscode use this extension. https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug It gives you the debug functionality that you are asking about. There are also a lot of other powerful features if you dig into setting it up including ITM graphing. --Bren

Re: ILI9341 port to STM32F4

2020-01-01 Thread Disruptive Solutions
Thank you David! I do not need to make a new video, your video is very clear! And I always give credits to the people who deserve it ;-) The https://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/ is very useful and this seems to make Eclipse the only IDE that has this feature..? It see

Re: ILI9341 port to STM32F4

2019-12-29 Thread David Sidrane
Hi Ben, Below is a link to the same presentation I did in the Netherlands. There are links within that presentation to the tools. There's also a video online showing how to use it. Google PX4 hard fault debugging https://static.sched.com/hosted_files/px4developersummit/35/PX4%20HardFault%20Debu

Re: ILI9341 port to STM32F4

2019-12-29 Thread Disruptive Solutions
It looks like its happening here... (type previous mail: graphical) stm32_ltdc_lclear(overlay); /* Set layers framebuffer */ stm32_ltdc_lframebuffer(layer); <---?? Op zo 29 dec. 2019 om 19:39 schreef Disruptive Solutions < disruptivesolution...@gmail.com>: > I have most of it done for porting