Search found 390 matches

by picdog
25 Feb 2009 14:59
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: a weird result - ROM total space of 6014A depending on code
Replies: 20
Views: 13799

Hello Goran, could you please to inform us about which mail features are you adding or updating (or correcting) on dsPIC compiler (like a sort of changelog you are implementing) ? I use your mikroC extensively on my projects (I found and reported some bugs in the past, to improve the compiler) and I...
by picdog
12 Feb 2009 22:57
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: def file error for dsPIC33FJ128GP706
Replies: 5
Views: 4434

I fully understand your position. I appreciate mikroC for dspic very much. I wrote a lot of code for it. The only thing we kindly ask, is to know - not certainly, but approximately - when you will put out the new version. One month, or two month, or when? Not a problem when - just to know approximat...
by picdog
12 Feb 2009 03:47
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Hello thepwner, I'm glad that you have written code that runs and you are on the right way. Regarding your next question, I suggest you to read carefully the other examples that come as default with mikroC; please take a look not only on 12F but also 18F examples, there are many routines that might ...
by picdog
09 Feb 2009 01:00
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

No it is not good. Please put a 470 ohm (or about 470-1000 ohm to test) in series with the leds. Regarding MCLR: go to menu "Project -> Edit Project" and see MCLRE_ON or _OFF; if needed, pull-up MCLR pin (see the number, I remember it is nr. 4? please check) to the positive rail with a 10 kiloohm re...
by picdog
09 Feb 2009 00:46
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Did you put some appropriate current-limiting resistor in series with the led? You can't put the led directly without a resistor; even if you put two leds in series you cannot to do it this way.
Which voltage (Vcc) are you using?
picdog
by picdog
08 Feb 2009 21:27
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

You are intending something like "high-Z". To achieve this, you could set the pin as "input". This is performed by setting the TRISIO (e.g. .F0, .F1 ...) to "1". TRISIO.F0 = 0 sets GPIO pin 0 to Output (then, use GPIO.F0 = 0 or = 1 to set pin low or high). TRISIO.F0 = 1 sets GPIO pin 0 to Input, tha...
by picdog
08 Feb 2009 11:18
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Writing PIC programs is still underestimated a lot!
... Dany, I fully agree with you!

Regards,

picdog
by picdog
08 Feb 2009 09:20
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Please see the datasheet for difference between 12F675 and 12F683. Check the registers that I indicated. For your application you shouldn't find many differences (if any). Regarding your first post: ...so I want the pin to do nothing, (turning off the LED) wait a certain amount of time, go low (turn...
by picdog
07 Feb 2009 13:08
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Hello, I verified on my PC, there is an example under easypic board examples folder (supplied with mikroC installation) for 12F675 "Led blinking" that exactly explains (TRISIO, ANSEL, CMCON ...) what I proposed to you.
picdog
by picdog
07 Feb 2009 09:58
Forum: mikroC General
Topic: n00b who needs a very small program, should take 60 seconds
Replies: 48
Views: 15378

Hello, see "led blinking" on mikroC examples folder. It is very simple, something like: while(1) { GPIO.F0 = 0; delay_ms(100); GPIO.F0 = 1; delay_ms(100); } but before you have to set GPIO for output on F0: TRISIO.F0 = 0; and something disabling the comparator: CMCON = 7 I think and perhaps on your ...
by picdog
03 Jan 2009 10:37
Forum: mikroC General
Topic: BOR PIC18F4320
Replies: 3
Views: 1743

I agree with Around, the pins of the main rail are not visible because perhaps they are hidden pins and connected by default to the power rails. You can configure the rails (voltage) in a dedicated menu in ISIS. However, the voltage I remember on the menus is a fixed value, you can change it but sta...
by picdog
02 Jan 2009 22:07
Forum: mikroC General
Topic: BOR PIC18F4320
Replies: 3
Views: 1743

Hello, I am not sure that BOR is simulated on VSM for PIC18 (see http://www.labcenter.co.uk/products/pic18.cfm#features).

Did you check also the labcenter forum? (see http://support.labcenter.co.uk/forums/v ... &hilit=BOR )

picdog

Happy new year to all!
by picdog
24 Dec 2008 09:15
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: Access violation
Replies: 5
Views: 5143

Hello, just my 2 cents. I am developing a quite long program (about 4.000 lines of code) for a dsPIC + display, and I also suffered some things like those you pointed. Normally the access violation requires only a restart of mikroC, then if the code is ok it is compiled without other problems. Other...
by picdog
20 Nov 2008 12:51
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: a weird result - ROM total space of 6014A depending on code
Replies: 20
Views: 13799

Hello, any news on that? You said: "...so statistics (message) show only ROM memory available for constants, and not the whole ROM space." I have a dsPIC33FJ256GP710 and I have to treat an array of string that occupies about 40k. I am not able to utilize all the ROM space, because of this bug; it co...
by picdog
07 Nov 2008 08:16
Forum: mikroC for dsPIC30/33 and PIC24 General
Topic: a weird result - ROM total space of 6014A depending on code
Replies: 20
Views: 13799

Hello Marko, well, great support! Please give us some indications about the date of the new release. I rely on your product for creating my projects. As my devices go to dozens of customers, I would to have a stable firmware generated, like I do on PIC side with mikroC for PIC that is rock-solid (so...

Go to advanced search