Jump to content

dm13dv1b

Members
  • Posts

    34
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks No worries.
  2. Yes, I'm using ChibiOS_2.6.8 with the latest uGFX. It is a little bit strange because with the ChibiOS_2.6.5 everything was ok. As I switched to 2.6.8 the touch stopped to work.
  3. Tectu, do you think is it something like my problem? http://harapofogo.blogspot.hu/2015/06/ssd1289-ads7843-chibios268-ugfx-23-gnu.html
  4. I have forgotten that the code is under the chibios directory/projects/stm32f4ugfx....
  5. Ok, and thank you again. Sorry for the post outside I know what you mean but I did not know what happens if I write that long post... So now I have the last version of my code, everything before I have updated ChibiOS and uGFX. That one is the only one what worked. The repo is here: https://dm13dv1b@bitbucket.org/dm13dv1b/stm32f4_chibios_ugfx_working.git It includes both the ChibiOS and uGFX sources!!! Since that I have tried two things. Updated the uGFX and used the ChibiOS_2.6.5. Did not worked. Updated the ChibiOS and used the uGFX 2.1. Did not worked. Updated both, did not worked. I will try to summarize the problems soon. Take your time. I take mine.
  6. That is why I do not want to steal your time But I will do.
  7. Ok, I think I give it up. I've tried with fresh OS, fresh uGFX and could not make it. Something was always wrong. Thank you! And thank you again for this awesome work! Maybe in the future I will try it again. If I would be a better programmer...
  8. I did not want to make a long post so I wrote it to my blog, you can find it here: http://harapofogo.blogspot.hu/2015/06/ssd1289-ads7843-chibios268-ugfx-23-gnu.html Please have a look I think I have answered your suggestions and questions.
  9. No it does not stuck in the code the system is up and running. I know because it is weird - the touch sometimes senses but not at the position where I touch it. Once again - it is not a hardware issue. I've checked the getpin_pressed() pin with an oscilloscope and Im sure it is ok. And yes, I have changed ChibiOS_2.6.8 from 2.6.5... I guess this will be the problem.
  10. Little update. It is not the touch device. I went back to my old laptop and successfully uploaded the source with the old ugfx and chibios and everything worked fine. I did push the to the repo, cloned to the new laptop, changed what I needed to change, compile, flash, run, stuck at calibration. It seems my SPI never get initialized. So it is not an uGFX issue.
  11. I could not even sleep yesterday I've found out how to save the calibration data but it is useless since something is wrong. I can't do the calibration, it stops at the first cross. So I hooked up my Saleae Logic and become sad. Picture here: http://i35.photobucket.com/albums/d183/dm13dv1b/spi_zpskabmhxhq.jpg I think the touch become defective in the last 6 month...
  12. What I use now: SSD1289 board file: http://paste.ugfx.org/show/b5012b0b23 (actually the display is ok as it was before) ADS7843: http://paste.ugfx.org/show/adde5e0a72 And the board file witch was used before and it worked: http://paste.ugfx.org/show/f7023539bf
  13. Looks like I still need your help. Before I had this in the mouse.c: GSourceHandle ginputGetMouse(uint16_t instance) { #if GINPUT_MOUSE_NEED_CALIBRATION Calibration *pc; #endif // We only support a single mouse instance currently // Instance 9999 is the same as instance 0 except that it installs // a special "raw" calibration if there isn't one we can load. if (instance && instance != 9999) return 0; But now it is only: GSourceHandle ginputGetMouse(unsigned instance) { if (instance == GMOUSE_ALL_INSTANCES) return (GSourceHandle)&MouseTimer; return (GSourceHandle)gdriverGetInstance(GDRIVER_TYPE_MOUSE, instance); } So how can I put my calibration data as I did before?
  14. Board: STM32F4Discovery SSD1289 ADS7843 I guess the drivers are ok now. What I miss now is the touchpad. As I remember I have used the ginputGetMouse(9999); somehow and I had to insert the calibration data manually. Even if I dont have that, something is not ok now since the calibration routine does not work. I have the calibration screen but it does not see anything. A wiring and the hardware have been double checked. I guess I miss something on the SPI side... The source is here: https://github.com/dm13dv1b/STM32F4_ChibiOS_uGFX_gwin_2.git But I dont want anyone to write my code Just if you are curious.
  15. I think I know what you sayn' and I feel that I have to rewrite a lot of things
×
×
  • Create New...