Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 19th October 2007, 05:49 PM   #1
Default mikroC demo version limits

I may have to switch back to Windows for PIC control development for PIC18F2620 and make sure that I don't wire up the programmer headers incorrectly (or it will freeze again). I'm planning on going with the demo version on http://www.mikroe.com/en/compilers/m...c/download.htm. There's a limit on the hex file for the program word being 2k. So how many commands/complex my control code can it be before I exceed the program memory limit for the demo version?
ssylee is offline  
Old 19th October 2007, 06:30 PM   #2
Default

Don't know about mikroC, but using Basic with a datalogger project will probably put you at the limit. In my case, multiple 1-wire temp sensors, I2C eeprom and RTC, and a Uart for serial LCD.
nickelflippr is online now  
Old 19th October 2007, 06:34 PM   #3
Default

I'm planning to program in C for a datalogger project, which I guess would likely put me over the limit. I'm also relooking into using MPLAB, but unsure what's the limit on the student version of the C18 compiler.
ssylee is offline  
Old 19th October 2007, 06:49 PM   #4
Default

You probably would be safe if you instead used an internal timer and a PC for display purposes, it really depends on your requirements.
nickelflippr is online now  
Old 19th October 2007, 06:58 PM   #5
Default

I would most likely have an LCD connected to it for display purposes when needed, so I would likely be over the limit with my guesses.
ssylee is offline  
Old 19th October 2007, 07:11 PM   #6
Default Using MikroC

I'm from Serbia from where the MikroC is. I have tried it and the demo version is very limited. I have tried to do some GLCD programing but the generated code for only a one string conversion from float number were exceeded the demo limit. I'm using now CSS C which is very good and I'm satisfied with it. I would advise you to try it if you want a very optimised code.
Best regards Otto
csuszo is offline  
Old 19th October 2007, 08:16 PM   #7
Default

Quote:
Originally Posted by ssylee
I'm planning to program in C for a datalogger project, which I guess would likely put me over the limit. I'm also relooking into using MPLAB, but unsure what's the limit on the student version of the C18 compiler.
There is no size limitations in C18 compiler. Code compiled after 60 days won't be optimized (=bigger) but as long as the program memory of your PIC is large enough you'll have a fully functional hex file.
eng1 is offline  
Old 19th October 2007, 08:23 PM   #8
Default

Probably another dumb question: how much bigger would it be (in terms of percentage) typically for non-optimized version of the hex file. PIC18F2620 has 32,000 words of program memory available.
ssylee is offline  
Old 19th October 2007, 09:21 PM   #9
Default

Obviously it depends on the particular program, but I wouldn't worry about it, you have a HUGE amount of space available, and it's only slightly larger.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Tags
demo, limits, mikroc, version

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
What is the best PCB Layout Software Suraj143 General Electronics Chat 44 24th July 2007 12:06 PM
Open MultiSim DEMO Files mayo General Electronics Chat 1 3rd May 2007 04:52 PM
mcuStudio an Eclipse based IDE for PIC: flash demo available octal Micro Controllers 0 23rd August 2006 06:44 AM
Networking Harddrives crazymonkey General Electronics Chat 3 9th March 2004 05:55 PM
multism 7 demo cool-agent General Electronics Chat 5 15th January 2004 04:18 AM



All times are GMT. The time now is 05:21 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker