robban
Senior Member
Offline
Posts: 265
Thank You
-Given: 34
-Receive: 38
Warrior
|
|
« on: March 14, 2012, 08:12:34 20:12 » |
|
Anybody got hold of this? Crack or serial? Thanx in adv. Robban
|
|
« Last Edit: August 15, 2012, 03:47:34 03:47 by metal »
|
Logged
|
Code Warrior
|
|
|
|
pumper
Junior Member
Offline
Posts: 35
Thank You
-Given: 13
-Receive: 18
|
|
« Reply #2 on: March 24, 2012, 09:23:53 09:23 » |
|
I installed c18fake then old full version 3.10 and then 3.41 upgrade and it worked for me
|
|
|
Logged
|
C++ is designed to give the programmer choice, even if this makes it possible for the programmer to choose incorrectly
|
|
|
sertek
Junior Member
Offline
Posts: 37
Thank You
-Given: 0
-Receive: 71
|
|
« Reply #3 on: April 07, 2012, 01:18:13 13:18 » |
|
1) Download C18FAKE.EXE from address below hxxp://math.haifa.ac.il/robotics/SWdevEnv/2007/MICROC~1.40_/?C=N;O=D
2) Run C18FAKE.EXE
3) Download Microchip C18 Compiler V3.35 Upgrade from microchip website. hxxp://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB-C18-Upgrade-v3_35.exe
4) Installed 3.35 Upgrade (Selected C:\MCC18 as the directory to install to)
5) Download & Installed 3.38 Upgrade or later (Selected C:\MCC18 as the directory to install to) hxxp://ww1.microchip.com/downloads/en/DeviceDoc/mplabc18-v3_41-windows-upgrade-installer.exe
|
|
|
Logged
|
|
|
|
|
mitsos
Hero Member
Offline
Posts: 860
Thank You
-Given: 3090
-Receive: 4596
|
|
« Reply #5 on: May 22, 2012, 05:30:21 17:30 » |
|
hi here http://ftp://Compilers-RO:C0mP[email protected]/MPLAB%20C%20for%20PIC18/mplabc18-v3.40-windows-full-installer.zip you can find the full version of mpabv18 compiler, after install it you can apply the updates. regards mitsos
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #6 on: May 22, 2012, 11:12:54 23:12 » |
|
I don't know why you are still using this compiler. Microchip has already released XC compilers, and it seems that they got rid of PICC-18 and stick to c18 for which all the libs were originally written. Hi-Tech has taken over c18 development, so I expect XC to be better now concerning c18.
xc v1.0 doesn't mean the compilers within that setup are mature. But the strange thing is the release of two updates for c18 after releasing xc8, this is rather confusing.
seems I started to contradict myself here.
|
|
|
Logged
|
|
|
|
spasbyspas
Active Member
Offline
Posts: 169
Thank You
-Given: 735
-Receive: 366
|
|
« Reply #7 on: May 23, 2012, 05:09:30 05:09 » |
|
I don't know why you are still using this compiler.
Because it's (XC) too new! Once clear of the bugs will be actively used! Viva C18!
|
|
|
Logged
|
|
|
|
mitsos
Hero Member
Offline
Posts: 860
Thank You
-Given: 3090
-Receive: 4596
|
|
« Reply #8 on: May 23, 2012, 05:20:05 17:20 » |
|
Metal
the first thing is a clean(or official) method to install without fake.exe or other tricks. Second I know that these compilers are going to at its end as soon they are substituted with xc ones, so my post concerns the collectors.
I install xc8 and I see in installation folder known parts from both hitech and mplabc18 compilers. I think they mix the compilers. I see from time to time posts in various forums, personal opinions about what compiler is the best. I think the most experienced members here after a discussion, to post a sticky for this: how to test a compiler.
It is easily to say that the good compiler is that who
gives the smallest (in size) possible code gives the fastest (in execution time) possible code has as many as possible libraries (functions and peripheral chips) has a very friendly and powerful debbuger and so on
Sometime ago I see an application note from TI, in which I read how to implement the function sin(x) very effectively for signal proccesing purposes in dsp controllers. I see in the pic and avr compilers that sin(x) in most cases is approximated by Taylor series which is very time consuming.
regards mitsos
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #9 on: May 23, 2012, 10:19:47 22:19 » |
|
mitsos, I have nothing against your post, I do appreciate your posts and effort on the forum :- ) Experienced users know how to use small asm routines that do big jobs, as you 've already said, you can do existing functions with smaller codes, whether in asm or in C. Isn't it better to write your own functions that convert integers/decimals to char to display them on the LCD instead of using printf? It is not always necessary or a must to use existing compiler functions and libraries, look at this one function, I used it to display two digits only for a clock function: char* bin2bcd( unsigned int val ) { char i; static char digit[2]; val -= 100; i = '0' + 10; do i--; while( (val += 10) & 0x8000 ); digit[0] = i;
digit[1] = val | '0'; return digit; } This is truly a nice routine to use instead of using % and / or even the printf function.
|
|
|
Logged
|
|
|
|
omni
Active Member
Offline
Posts: 139
Thank You
-Given: 169
-Receive: 176
|
|
« Reply #10 on: June 02, 2012, 03:05:50 15:05 » |
|
|
|
|
Logged
|
|
|
|
Diecore
Junior Member
Offline
Posts: 78
Thank You
-Given: 55
-Receive: 109
|
|
« Reply #11 on: July 12, 2012, 10:25:41 22:25 » |
|
I don't get what's the point of C18 updates when XC18 is out? Well i know at least for compatibility reasons as i also tried to compile an old version of Microchips TCP/IP stack and i didn't work with the XC18 but i didn't expect that microchip will continue supporting C18 when they released XC18 v1.0
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #12 on: July 12, 2012, 10:57:42 22:57 » |
|
I don't get what's the point of C18 updates when XC18 is out? Well i know at least for compatibility reasons as i also tried to compile an old version of Microchips TCP/IP stack and i didn't work with the XC18 but i didn't expect that microchip will continue supporting C18 when they released XC18 v1.0
answer is simple, XC8 is very buggy!!! If microchip shows you the list of bugs they received in the last couple of weeks, you won't even think about downloading XC8 to use it with PIC18 :- ) Header files for many PICs were suddenly changed from v1.00 to v1.01, ironic indeed.. It is by far better to stick to C18. If you have read the topic, and came across spasbyspas and mitsos answer, you would not have posted this question again... I have already fallen into the same trap, till I saw some bugs that made me revert back to what I was using in the past..
|
|
|
Logged
|
|
|
|
odessa
Newbie
Offline
Posts: 22
Thank You
-Given: 101
-Receive: 16
|
|
« Reply #13 on: July 23, 2012, 08:54:46 20:54 » |
|
Hi,
This is C18 ver 3.10 Full
Requires no fix,no serial plus it can be updated using the updates from Microchip. Just remember to point the update to the install directory ( default is C:\MCC18 )
|
|
|
Logged
|
|
|
|
tomywong
Active Member
Offline
Posts: 140
Thank You
-Given: 101
-Receive: 213
|
|
« Reply #14 on: August 15, 2012, 03:27:51 15:27 » |
|
|
|
|
Logged
|
|
|
|
jayanthd
Guest
|
|
« Reply #15 on: December 31, 2012, 08:23:14 20:23 » |
|
@mitsos
I am not able to download mplabc18-v3.40-windows-full-installer.zip Please provide me a new link
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #16 on: January 12, 2013, 04:42:24 16:42 » |
|
New MPLAB C18 fake:
Created to make it possible to install MPLAB C18 compiler without the need to install the full compiler setup in order to save disk space and time waiting for the setup to finish!
It is possible to delete folder C:\MCC18 once you are done installing the latest compiler version.
MeTaL
|
|
|
Logged
|
|
|
|
towlerg
Senior Member
Offline
Posts: 263
Thank You
-Given: 474
-Receive: 104
What is this for?
|
|
« Reply #17 on: January 19, 2013, 11:26:54 11:26 » |
|
Metal
probably a dim question but where (in the directory structure) do you put "mcc18-traditional.exe". If I execute it, it reports itself as "MPLAB C18 v3.10" which of course is the object of the exercise. If I rename the default C18 3.1 directory, C:\MCC18, to something else I am still able to build and make successfully. I'm clearly missing something!
Rgds towlerg
|
|
|
Logged
|
Win 7 Ult x64 SP1 on HP2570p
|
|
|
Magnox
Senior Member
Offline
Posts: 250
Thank You
-Given: 986
-Receive: 285
Oink!
|
|
« Reply #18 on: January 19, 2013, 11:56:14 11:56 » |
|
You do not need the fake at all, once a real version has been installed. The fake is only detected during the real installation process to allow the installation to happen. Afterwards, rename it, delete it, drop it in a lake... MPLAB doesn't care! As MeTaL said: It is possible to delete folder C:\MCC18 once you are done installing the latest compiler version.
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #19 on: February 17, 2013, 04:03:45 04:03 » |
|
|
|
|
Logged
|
|
|
|
odessa
Newbie
Offline
Posts: 22
Thank You
-Given: 101
-Receive: 16
|
|
« Reply #20 on: March 12, 2013, 08:58:19 08:58 » |
|
Hi, There is a bug in the software library files of 3.45 that affects a few chips. I was using a 4520 and the SPI library and kept getting a compile error Error - could not find definition of symbol 'WriteI2C1' in file....... The fix is to copy the lib folder from 3.43 into 3.45 until its fixed. Or not to be lazy like me and write your own libraries
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #21 on: March 12, 2013, 09:32:59 09:32 » |
|
can you specify the line in the file that is causing the error?
|
|
|
Logged
|
|
|
|
odessa
Newbie
Offline
Posts: 22
Thank You
-Given: 101
-Receive: 16
|
|
« Reply #22 on: March 12, 2013, 01:42:13 13:42 » |
|
Hi Metal, Its when you try and include and use the SPI Library and I2C library. The commands WriteI2C and WriteSPI aren't recognised. I spent ages looking for the reason then found this: http://www.microchip.com/forums/m710413.aspx
|
|
|
Logged
|
|
|
|
CrankCase
V.I.P
Newbie
Offline
Posts: 23
Thank You
-Given: 100
-Receive: 7
|
|
« Reply #23 on: March 25, 2013, 04:18:01 04:18 » |
|
Can confirm here - we do a lot of PIC18 code, and for sure the Microchip XC version of this stuff is no that great. For us the regular 8.30 ~ 8.80 IDE is much faster and easier on older machines. The java stuff---is OK only on a newer machine that can handle it.
For now stick to the C18, don't upgrade unless you have to. At least that's what we do at our shop. Especially if you're using the TCP/IP stack.
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #24 on: June 03, 2013, 09:08:02 09:08 » |
|
|
|
|
Logged
|
|
|
|
|