Jump to content

Foxnec

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Thank you so much for the info! I will look into it! Daniel
  2. Hello, thank you for a prompt and exhaustive reply! I would have never figured something like that out by myself :-) I am afraid I am not a proficient enough programmer to even take a shot at modifying your scheduler, but I will surely take a look at it just in case. I will, however, consider finally implementing an RTOS, as my project (a snowball-type hobby project running for months :-) ) has reached a point where it would benefit from running an RTOS even before i started playing with ugfx. Thank you again, Daniel
  3. Hello, I am trying to get uGFX working on STM32F429-Discovery (with Keil MDK4 and using stdperiph libs), and so far I have managed to get the LCD and the touch panel working - with one problem. As long as i am in the process of calibration (blue screen), everything works fine, as soon as I finish calibration, the device goes into hard fault while switching context (or so it seems). Attached is a picture of my IDE - the highligthed instruction in disassembly is exactly where it goes bang. I have noticed that while the calibration is running, the program enters into gfxXSwitch() with a "random" value in R6 register but when it gets to this point in the execution, it is reset to 0x0. After the calibration though, R6 retains its value, which i believe causes a jump to a wrong address. EDIT: I have also attached the call stacks before CXT_RESTORE is called and then just before the fault. Thank you in advance for your help, Daniel. before CXT_RESTORE() after (it gets messed up somehow by having most of its content deleted, if I am understanding it correctly)
×
×
  • Create New...