Page 1 of 2

Demo Limit

Posted: 16 Feb 2007 19:47
by ahmad-al3omar
dear;;
while compiling a program an error of (( Demo Limit )) appear what does it mean :roll: ,, does it mean i have to buy mikro c .
:?: :?: :?: :!: :arrow: :idea:

Posted: 16 Feb 2007 20:15
by picdog
Hello,
MikroC demo version is free but is limited to 2k of program words.
To compile bigger programs you need to buy (register) MikroC, ... but it is really a good investment ;-)
picdog

Re: Demo Limit

Posted: 19 Nov 2011 12:55
by UR90
Hi,

i also have the same problem, but i have a registered version of mikroC software. Problem appears when i use some math function for example random function rand(). Why is that so ?

Re: Demo Limit

Posted: 26 Apr 2012 03:53
by hichems
plz can someone give to me a key to register Mikroc i have a project to finish it and i have this big problem plz help me
this is my email hichemsoui@hotmail.com

Re: Demo Limit

Posted: 26 Apr 2012 10:00
by filip
Hi,

If you wish to obtain a license, please follow the steps from the document below :
http://www.mikroe.com/eng/downloads/get ... y_v102.pdf

Regards,
Filip.

Re: Demo Limit

Posted: 07 Aug 2013 07:45
by pinalamrutiya
i have successfully made a hex file of 10 kb on my Micro C pro using PIC18F4520 controller and it works perfectly...., But now i m trying to compile another code using same PIC controller and im using SPI_Ethernet library and C_string library which comes with compiler, this time i got the demo limit error..
only demo limit error is there nothing else is the problem i think...
so what should i do please suggest some solutions

Re: Demo Limit

Posted: 09 Aug 2013 12:37
by marina.petrovic
Hi,

If I understand you correctly you have licensed version of mikroC PRO for PIC compiler,
and you compile your projects earlier without any problems,
but now you have "Demo limit" error message when you try to compile your code?

Demo limit version of compiler can be used for programs with less than 2k programming words.

If you have licensed version but you get "Demo limit" error:

1. First uninstall the present version of the software.
2. Download and install the latest version of the software on the same
workstation and the same hard disk partition. Please note that
license key will be invalid if you install the software on different hard
disk or partition.
3. Run the license key application on that same workstation.
4. If you still have problems please contact our support department

Best regards,
Marina Petrovic

Re: Demo Limit

Posted: 28 Aug 2013 11:23
by cerego
"DEMO LIMIT"
hello my name is Luke, I installed version 6.0.0 of micro c compiler, duly registered and when I compile this file http://www.libstock.com/projects/downlo ... oc_pic.rar me this error: "demo limit" why? can anyone help me? thanks

Re: Demo Limit

Posted: 29 Aug 2013 09:20
by filip
Hi,

Please, open a new ticket regarding this issue on the Support Center.

Regards,
Filip.

Re: Demo Limit

Posted: 13 Aug 2016 07:54
by Korisnik3
Dobar dan,

Skinuo sam demo verziju mikroC i interesuje me zbog čega se pojavljuje 'Demo limit' error prilikom 'build' programa koji zauzima 1515 bita. Primetio sam da program ima ograničenja prilikom izvršavanja nekih matematičkih operacija.

Takođe postoje ograničenja i kada hoću da koristim određene biblioteke, razni banalni erori(npr. kod definisanja void main funkcije), nepoznavanje svih kodnih reči koje su definisane na mikroC library stranici a kojih nema u biblioteci koju sam dobio skidanjem demo verzije.

Ovi nedostaci nisu navedeni kada skidamo demo verziju, jedino ograničenje koje je navedeno je ono koje se tiče limita od 2k programskih reči, i da li postoji mogućnost prevazilaženja ovih problema u demo verziji osim kupovine originalne verzije programa.

Nadam se skorom odgovoru, unapred hvala.

Re: Demo Limit

Posted: 13 Aug 2016 23:49
by Aleksandar.Mitrovic
Hi,

Dear user please keep in mind that the rules of the forum is to use English language.
So I suggest that all future posts you write in English.
Good day,

I have download a demo version of mikroC and I'm interested why "Demo limit" error appear during "build" of program which occupy 1515 bits. I have notice that program have limitations when executing some of the mathematical operations.

Also, there are limitations when I want to use certain libraries, different errors(eg. when defining void main function), not able to recognize all code word which are defined on the mikroC library page and which are not located in the library which I received downloading the demo version.

These deficiencies are not listed when we are downloading a demo version, the only limitation specified are that which concern the limit of the 2k of program words.
And whether it is possible to overcome these problems in the demo version except for the purchase of the original version of the program?

I hope to see you soon reply, thank you in advance.
Which libraries have you included in your project?
And which code are you trying to build?

Kind regards,
Aleksandar

Re: Demo Limit

Posted: 07 Mar 2017 15:54
by viniciusov
Hello...

I know about this 2k words Demo Limit.
But is there a way to count how many words my code is generating? If yes, how can I do it?
(I tried to use the search tool but I couldn't find an explanation about how exactly can I count the output words).

Re: Demo Limit

Posted: 09 Mar 2017 10:01
by dusan.poluga
Hi,

For PIC18 one program word is 2 bytes.
And for PIC16 it is 14bits.
So you can calculate the memory space depending on the 2K word limit.

Regards,

Re: Demo Limit

Posted: 09 Mar 2017 13:23
by viniciusov
dusan.poluga wrote:Hi,

For PIC18 one program word is 2 bytes.
And for PIC16 it is 14bits.
So you can calculate the memory space depending on the 2K word limit.

Regards,
But how I calculate?
Do I have to see the .hex file size (in bytes) then divide it by 2, is this correct?

Re: Demo Limit

Posted: 09 Mar 2017 17:09
by dusan.poluga
Hi,

There is a easy way to calculate the maximum hex size from the known information is by this formula:

PIC18: ((2000*16)/8)/1024 = 3.9Kb hex size is the 2k limit
PIC16: ((2000*14)/8)/1024 = 3.4Kb hex size is the 2k limit

Regards,