Jump to content

Joel Bodenmann

Administrators
  • Posts

    2,654
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Joel Bodenmann

  1. Hello rabryan, We have indeed changed the algorithm of gdispDrawArc(). I'll forward this to inmarket as he was the one who "invented" the new algorithm. You can copy the gdispDrawArc() routine of the old state which still worked for you and replace it with the new one - that should fix it for now. ~ Tectu
  2. Thank you very much for your support. From my own experience (mainly as a user), I agree that x.0 releases are always a bit tricky as there are some major restructurings happening It would be nice if you could contribute a boards/base directory for the Open407V-D to the community. ~ Tectu
  3. Fixed. Thank you very much, we appreciate these bug reports a lot. One of our major problems is that we can't test every possible case with the settings in the gfxconf.h as they are just too nested. ~ Tectu
  4. I don't see any problem there. The provided Makefiles within the example directories are of course supposed to include the board files for the board they are written for. You are of course not supposed to include the board files of a board you do not own in your project directory, hence the # your board comment. The guide states this: If you're using some well known dev board, it's very likely that there are already board files for this board. Inside the /boards/base/ directory, you can find the supported boards. Simply include the board.mk for the appropriate board in your Makefile. I will try to rewrite the "Get µGFX" guide within the following week - there was just too little time. Long story short: Don't include board files of a board you do not want to use. ~ Tectu
  5. I have fixed the wrong /boards/base/xxx/chibios_board/board.mk files. What was the small modification you had to make? ~ Tectu
  6. You are right - there's a problem. I'll fix that as soon as I get time (won't be before wednesday, I'm afraid). Thank you very much for finding and reporting. If you have any other issues by compiling µGFX 2.0, please open a new thread. ~ Tectu
  7. Can you please give some more information about bad paths etc? We built every single /boards/base/ before the release and it seemed to work fine. Please open a new thread with an appropriate thread name in the development & feedback section. ~ Tectu
  8. Hello steved and welcome to the community. The major performance "issue" you will face is the actual interface speed between you and your display controller. 800x480 are quite a lot of pixels that need to be handled. Within our algorithms, we try to just modify the area which needs to be (no complete screen redrawings). However, if you build some GUI inteface like where you clear the complete screen often, you will still observe quit a long build-up time if you use a slow interface. The display controller used in the video is an SSD1963 as well, but in 8-bit mode. Using the 16-bit mode instead would lead to a very big performance gain.Long story short: Choose a microcontroller which provides a fast parallel interface to talk to your SSD1963. Every STM32F1xx and STM32F4xx MCU does provide a 16-bit FSMC interface. Make sure you get a package with enough pins for all your stuff as the FSMC will eat up 20 pins (watch out for pin collisions!) If you can afford it (no mass production etc), go for some STM32F407 instead of an STM32F1xx as that one runs on a frequency twice as high. Also, more RAM and FLASH is never a bad option anyway. You might just need the basic elements like buttons and check boxes, but the GUI will look A LOT nicer if you blit some custom bitmaps (images) over them. With 1MB of flash, you can store a lot of bitmaps I hope that answers your question a bit - feel free to ask any further. ~ Tectu
  9. That sounds about right. However, you'll have to create a file called board_KS108 instead of the gdisp_lld_board.h when you're using the new GDISP structure - which I highly recommend (you'll see that by looking at the SSD1306 from the GDISPStreaming branch as well). When you don't use that branch, your driver won't work with anything after µGFX v1.9. The project you linked seems about right to get some information about how to talk to the display. However, make sure you're not violating any licenses. ~ Tectu
  10. Welcome to the community and thank you very much for your kind words! Let's keep in mind that the quality and the success of the projects depends a lot on contributions from community members as well There's currently no driver for the KS108 display controllers. It shouldn't be a big problem to write one yourself. I'd suggest you to take the SSD1306 driver as a template because this is a monochrome display driver as well. I assume that the used interface is similar to the HD44780 (TDISP module) driver (16-bit parallel with WR/RD). Therefore you could have a look at that to get an idea on how to implement the interface. The forum is always available for questions, should you face any problems. One last thing: µGFX 2.0 is supposed to be released within a week or two. There are critical changes to the GDISP driver structure. Therefore I'd suggest you to directly write your driver for that new structure. For that, just take the GDISPStreaming branch, instead of the master branch from the repository. ~ Tectu
  11. I took a quick look at the board_SSD1306_spi.h file of the current GDISPStreaming branch: static const SPIConfig spi1config = { NULL, /* HW dependent part.*/ SSD1306_MISO_PORT, SSD1306_MISO_PIN, 0 //SPI_CR1_BR_0 }; This is actually the CS, not the MISO port and pin. I don't want to touch file in case of inmarket is still working on it - could you please fix this as well? Also note that there's a missing (void)g; in the write_cmd() call. ~ Tectu
  12. Please read the guide which already has been linked. ~ Tectu
  13. I strongly suggest you to take the working ARMCM4-STM32F407-DISCOVERY demo which comes within ChibiStudio and start modifying it from there. ~ Tectu
  14. I'm sorry, but I don't really use ChibiStudio myself. I myself develop without any IDE since I got fed up by all this crazy stuff. I wrote this guide back the days in case of you're interested. Using that method, you won't have any problems with the Makefile modifications etc. at all because the Get µGFX Guide is 100% accurate for that method. Otherwise I suggest you to take the working F407 Discovery demo and start building your own stuff around it. ~ Tectu
  15. See, this is exactly the problem I mentioned When you're using Keil as your IDE, you have to add all the used .c and .h files of µGFX to your project path. I did this once for a friend quite a while ago and it was a real pain. Sadly it's not possible to build from an external Makefile out of Keil, so you can simply forget about the Makefile (modification). I'd suggest you to use ChibiStudio. That's a ready-to-use eclipse setup coming with the compiler and flasher already built-in and setup. ~ Tectu
  16. There's not much sense in building such a demo for us. There are just too many factors which differ from system to system. Even if we build such a demo, there will be problems regarding toolchains. People use different compilers, different IDEs, different flash tools... As soon as we are through that, we have the problem that the panel settings differ from each display (the gdisp_lld_panel.h). However, the STM32F407 discovery board is well supported by ChibiOS/RT and it runs out of the box. The SSD1963 driver of µGFX itself is used by many community members as well and there's even a demo board file for the STM32F407 discovery. Assuming that your toolchain is working fine and that you're able to wire it up correctly, there's really nothing that can go wrong beside the panel config file - and that's where we simply can't give any working demo at all. If you have specific questions, please feel free to open up a new thread and ask, we will help you as best as we can. ~ Tectu
  17. Sounds good to me! The video has been added to the blog. ~ Tectu
  18. That's cool! May I put the video onto the blog? Please note that you have to contribute your modifications of µGFX due section 2.1.c of the license. ~ Tectu
  19. Wow, that's a great video... but is that already µGFX or something done by the distributor? :shock: ~ Tectu
  20. Nice to hear that you finally got it working! Maybe you could provide a small video once you got something working? It would be nice to have a demo showing cyrillic stuff. Why do you use STDperiph lib for the FSMC by the way? There are many example board files showing how to use FSMC within ChibiOS/RT. May I ask how much you paid for that board? I cannot find any price information ~ Tectu
  21. Nice to hear that you got it working! Good luck with the SPI - the forum will always be there ~ Tectu
  22. We need to have the schematics of your hardware in order to check your board file. ~ Tectu
  23. This guide leaves some notes about getting the GDISP_RAM value set properly. ~ Tectu
  24. Hello tronicgr and welcome to our forum! I tested the SSD1289 driver myself two days ago and it still worked fine, therefore the issue must be somewhere else. How is the display connected on your board? Is it a GPIO bit bang or does it use the FSMC interface of the F4? Can you attach the schematics of the board? I have some F4 discovery and an SSD1289 here, so I can try to hook one up to that board. Also, what does 'black/white screen' exactly mean? Do you see anything or just a black screen and nothing at all? And to answer your question: There are no ChibiStudio examples themself, sorry. But I am sure we can make this working without any problems ~ Tectu
  25. This guide should lead you through the process without any problems. In the Integrate µGFX section, you can find a link to a working Win32 Makefile. Basic examples can be found under /demos/modules/gdisp/. All these demos are meant to work out of the box just by copying the gfxconf.h and the main.c file from the demo directory to your working project. ~ Tectu
×
×
  • Create New...