Search found 11 matches

by zdan
23 Apr 2013 05:18
Forum: Visual TFT General
Topic: Help getting started - just to load an example 18fj MMB v1.1
Replies: 8
Views: 3538

Re: Help getting started - just to load an example 18fj MMB

Is it possible that your board has a new display that is not supported by the version of the compiler that Visual TFT is using? If so you might be able to solve the problem by updating, and possibly hand-editing the code that Visual TFT produces in order to be sure that it is calling the correct ini...
by zdan
17 Apr 2013 22:59
Forum: mikroC PRO for PIC32 General
Topic: very frustrated with debugger
Replies: 16
Views: 6817

Re: very frustrated with debugger

Thanks for the kind words.
by zdan
16 Apr 2013 16:45
Forum: mikroC PRO for PIC32 General
Topic: very frustrated with debugger
Replies: 16
Views: 6817

Re: very frustrated with debugger

Your set of #define statements is not actually syntax-checked by the compiler: it's handled by the preprocessor. In your usage example, the compiler sees something like this: Port_IO_Output((IO) {IOPORT_F, 13}.Port,(IO) {IOPORT_F, 13}.Pin); which is not valid C. For one thing, the member accesses bi...
by zdan
16 Apr 2013 08:57
Forum: mikroC PRO for PIC32 General
Topic: very frustrated with debugger
Replies: 16
Views: 6817

Re: very frustrated with debugger

The suffixes on an integer constant just define what sort of integer it is: U makes it unsigned, and L makes it long. Given that we have a PIC32 compiler where int is 16 bits (!), it seems like a good idea to be explicit about the types of integer constants. It's not a given that a plain 0x01 will p...
by zdan
16 Apr 2013 05:03
Forum: mikroC PRO for PIC32 General
Topic: very frustrated with debugger
Replies: 16
Views: 6817

Re: very frustrated with debugger

Hi paulinemartinez, I haven't tried your code, but looking at it, at least one problem is that an unsigned int is only 2 bytes in the mikroC compiler; so in struct PortRegMap, you will want to replace all the unsigned ints with unsigned longs. Also I believe that in your functions, you will want to ...
by zdan
11 Apr 2013 21:55
Forum: Development Boards
Topic: Blank TFT
Replies: 10
Views: 4002

Re: Blank TFT

I had a similar problem on a different development board, and it turned out that it was because the boards have just started shipping with a new TFT and controller. It required a compiler update in order to get updated libraries which support the new hardware. See http://www.mikroe.com/forum/viewtop...
by zdan
11 Apr 2013 21:48
Forum: Development Boards
Topic: Images not displaying on mikromedia for PIC32 with ILI9341
Replies: 12
Views: 7021

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
by zdan
11 Apr 2013 01:51
Forum: Visual TFT General
Topic: Getting USB dongle to work: Solved in V3.6!
Replies: 13
Views: 4892

Re: Getting USB dongle to work

Robert's workaround does not work for me, at least as I understood it. I was about to write asking for help, but I figured out something that does work, which appears to be the opposite of what Robert was saying. Let me explain here in case it helps someone else: I am running Win7 home premium 64-bi...
by zdan
05 Apr 2013 17:08
Forum: Development Boards
Topic: Images not displaying on mikromedia for PIC32 with ILI9341
Replies: 12
Views: 7021

Re: Images not displaying on mikromedia for PIC32 with ILI93

Thank you Filip, with __Lib_TFT_Defs.c it is working now.
Dan
by zdan
04 Apr 2013 16:17
Forum: Development Boards
Topic: Images not displaying on mikromedia for PIC32 with ILI9341
Replies: 12
Views: 7021

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. C...
by zdan
04 Apr 2013 00:57
Forum: Development Boards
Topic: Images not displaying on mikromedia for PIC32 with ILI9341
Replies: 12
Views: 7021

Images not displaying on mikromedia for PIC32 with ILI9341

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....

Go to advanced search