Hi,
I've just received a new Mikromedia for PIC32 board. On arrival it was displaying its tiger image just fine, and when I used mikroC v3.3.0 to produce a simple IO-toggling program, this worked fine too.
However after this I have been unable to get any of the examples to display images on the TFT. I tried the ones that come with mikroC; I tried the ones downloadable from libstock at http://www.libstock.com/projects/view/1 ... 2-examples . I tried VisualTFT v3.50, but only got as far as realizing that it does NOT have a hardware pattern for my board (no PIC32 for Mikromedia boards, although there is one for MikroMMB).
The examples appear to upload and run (I am using mikroBootloader v2.1.0.0), but the screen stays white. When I upload my IO-toggling program, I see RB0 toggling at the rate I expect; when I upload something else, I see RB0 staying flat.
I wonder if this has something to do with the insert that came with my board, which reads: "As of March 20th 2013, all mikroElektronika products that used to contain MI0283QT-2 display with HX8347D controller now feature the new improved MI0283QT-9A display with ILI9341 display controller." My board does indeed have the new display.
Can anyone help? I am working on a project that is all about displaying images...
Thanks,
Dan
Images not displaying on mikromedia for PIC32 with ILI9341
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
First of all, update the compiler to version 3.3.1 using Help -> Check For Updates options from the IDE.
Then load the examples from the attachment.
Regards,
Filip.
First of all, update the compiler to version 3.3.1 using Help -> Check For Updates options from the IDE.
Then load the examples from the attachment.
Regards,
Filip.
- Attachments
-
- mikromedia for PIC32.rar
- (775.02 KiB) Downloaded 313 times
Re: Images not displaying on mikromedia for PIC32 with ILI93
Thanks filip. I am trying to update to mikroC Pro v3.3.1.0, but this is failing. Help -> Check For Updates finds it, but when I try to actually download it I always get this pop-up:
"Download Error. Server connection problem. Yes/No"
(Choosing "Yes" attempts the download again, but it fails again. Choosing "No" closes the pop-up, but the IDE seems to be in a bad state: my cursor is stuck in its spinning-circle state. This is on Win7 home premium SP1 64-bit.)
Thanks,
Dan
"Download Error. Server connection problem. Yes/No"
(Choosing "Yes" attempts the download again, but it fails again. Choosing "No" closes the pop-up, but the IDE seems to be in a bad state: my cursor is stuck in its spinning-circle state. This is on Win7 home premium SP1 64-bit.)
Thanks,
Dan
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
I have the same problem. But I want to use my old programs. When comes the Visual TFT update? Or can I make the settings by hand?
Berni4
I have the same problem. But I want to use my old programs. When comes the Visual TFT update? Or can I make the settings by hand?
Berni4
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
Please, find the __Lib_TFT_Defs.c file in the attachment, replace it with the existing one found in the ..\mikroC PRO for PIC32\uses\ folder (backup just in case)
and the ILI9431 will be populated in the TFT_Defs library in the Library Manager.
Regards,
Filip.
Please, find the __Lib_TFT_Defs.c file in the attachment, replace it with the existing one found in the ..\mikroC PRO for PIC32\uses\ folder (backup just in case)
and the ILI9431 will be populated in the TFT_Defs library in the Library Manager.
Regards,
Filip.
- Attachments
-
- __Lib_TFT_Defs.rar
- (8.52 KiB) Downloaded 358 times
Re: Images not displaying on mikromedia for PIC32 with ILI93
Thank you Filip, with __Lib_TFT_Defs.c it is working now.
Dan
Dan
Re: Images not displaying on mikromedia for PIC32 with ILI93
Thank you.
Where is the controller setting which makes visual tft in the generated code?
Where is the controller setting which makes visual tft in the generated code?
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
We will be releasing the Visual TFT update soon which will cover this controller.
Regards,
Filip.
We will be releasing the Visual TFT update soon which will cover this controller.
Regards,
Filip.
Re: Images not displaying on mikromedia for PIC32 with ILI93
Update: I was able to get mikroC to update by running it as administrator, before asking it to check for updates.
Dan
Dan
Re: Images not displaying on mikromedia for PIC32 with ILI93
I have the same problem here...it seems that the new TFT is not compatible withe the examples provided.
could you please provide a hex working example for STM32 M4 (mikroC).
thanks
could you please provide a hex working example for STM32 M4 (mikroC).
thanks
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
Please find the TFT example for the new ILI9341 controller in the attachment.
Regards,
Filip.
Please find the TFT example for the new ILI9341 controller in the attachment.
Regards,
Filip.
- Attachments
-
- TFT (MMB).rar
- (322.05 KiB) Downloaded 369 times
-
- Posts: 18
- Joined: 12 Aug 2013 06:27
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hello filip
Can u please give me the same code for mikro C PRO for PIC18....
plz its very urgent and important..
thank you....
Can u please give me the same code for mikro C PRO for PIC18....
plz its very urgent and important..
thank you....
Re: Images not displaying on mikromedia for PIC32 with ILI93
Hi,
Which MCU and development board are you using ?
Regards,
Filip.
Which MCU and development board are you using ?
Regards,
Filip.