CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Free replacement for MPLABX as IDE?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
djsb



Joined: 29 Jan 2011
Posts: 41

View user's profile Send private message

Free replacement for MPLABX as IDE?
PostPosted: Fri Nov 29, 2024 9:13 am     Reply with quote

I am tired of setting up the CCS plugin for MPLABX and then coming back to use it a few months later to find that it doesn't work any more. I've had to set it up at least four times, and now it STILL does not work properly.
I could use the command line for PCM and then program the hex file into my device using a SNAP, ICD3 or PICK kit using IPE, but then I don't get to see any errors etc in a convenient way.
Does anyone use any FREE IDE's (Notepad++ for instance)? I'm considering buying the workshop compiler, but cant decide which 13 devices to configure for it. PCWHD is tempting, but I'll have to wait for a favourable exchange rate before I spend nearly 500 English pounds on it. Pity there are no Black Friday deals today.
temtronic



Joined: 01 Jul 2010
Posts: 9231
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Nov 29, 2024 11:27 am     Reply with quote

Interesting as I've used MPLAB V8.92 for ,sigh decades on several PCs / Windows versions and never,ever had to reinstall. it just works.
I suspect you're using a PC that does 'other things' like Internet, accounting, email, etc. and perhaps when 'they' update, they corrupt the MPLABX operations ?
I'm sure others will know.
Ttelmah



Joined: 11 Mar 2010
Posts: 19524

View user's profile Send private message

PostPosted: Fri Nov 29, 2024 12:32 pm     Reply with quote

If he is using a chip supported by 8.92, then this is free, and is better by far
than MPLAB X.
You can as others have reported use any number of code platforms to
give syntax checking, and then just program with CCSLOAD.
MPLAB X should not be that bad. I've got older versions still installed and
running fine from years ago.. 4.20, 5.25, and the current versions, and they
all work when I return to them. Key (of course), is to turn off auto updating
and just do a manual update when you want. The automatic updates do
sometimes seem to do silly things.
There was one change needed to the plugin a year or more ago, but
otherwise it just works.
PrinceNai



Joined: 31 Oct 2016
Posts: 480
Location: Montenegro

View user's profile Send private message

PostPosted: Fri Nov 29, 2024 3:26 pm     Reply with quote

For me the only thing that matters is that the chip is old enough to be supported by MPLAB. MPLABX is or will be the reason to switch to something else. There are cheaper and more powerful options with the same disgusting interface, but working. My workflow is to write everything in CCS, then import it to MPLAB. MPLAB is aware of any change in code. I've tried Notepad++, but it was just adding another level of complication. MPLAB simply works, from WIN 95 on. I can not understand why Microchip is trying to replace something wonderful, in spite of all the comments either here or on their own forum. Unbelievable, having the best of the best and going somewhere south from there.
Ttelmah



Joined: 11 Mar 2010
Posts: 19524

View user's profile Send private message

PostPosted: Sat Nov 30, 2024 1:20 am     Reply with quote

Do a search on:

"why did Microchip get rid of MPLAB".

You will find hundreds of replies, voicing how much people hate MPLAB-X.
It does now normally work. The first perhaps 50 versions did not even manage
that.

On a scale of 1 to 10, The last versions of MPLAB, were perhaps a fairly solid
7. The layout and interface a bit clunky, but worked well. MPLAB-X, manages
perhaps a 3. Layout and interface even worse, and thousands of oddities
about how to actually get it to work.
jeremiah



Joined: 20 Jul 2010
Posts: 1351

View user's profile Send private message

Re: Free replacement for MPLABX as IDE?
PostPosted: Mon Dec 02, 2024 8:39 am     Reply with quote

djsb wrote:
I am tired of setting up the CCS plugin for MPLABX and then coming back to use it a few months later to find that it doesn't work any more. I've had to set it up at least four times, and now it STILL does not work properly.
I could use the command line for PCM and then program the hex file into my device using a SNAP, ICD3 or PICK kit using IPE, but then I don't get to see any errors etc in a convenient way.
Does anyone use any FREE IDE's (Notepad++ for instance)? I'm considering buying the workshop compiler, but cant decide which 13 devices to configure for it. PCWHD is tempting, but I'll have to wait for a favourable exchange rate before I spend nearly 500 English pounds on it. Pity there are no Black Friday deals today.


We use Visual Studio Code (not Visual Studio itself, a different thing). Since the CCS compiler is also command line we just call CCS via command line (which is what mplabx does).

There's no specific CCS compiler extension for Visual Studio Code but there are a ton of C ones you can pick from.
djsb



Joined: 29 Jan 2011
Posts: 41

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 9:35 am     Reply with quote

Thanks everyone for your replies. It looks like I will be going with buying the full PCWHD suite. As I've bought the PCM and PCH compilers before, I can upgrade for a reasonable price. I also get the FULL set of compilers that comes with an integrated IDE.
Had another go at MPLABX today and wasted another hour or so on top of the whole of last Friday trying to get it to work.
I like using the CCS compilers, and they are much easier to use than XC8.
It would still be nice to know how to get the CCS command line compilers working with Visual Studio Code. I can then pass the knowledge onto the students I work with in my Job. Free is good from a student perspective.
Ttelmah



Joined: 11 Mar 2010
Posts: 19524

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 10:46 am     Reply with quote

Have you looked at this thread?:

[url]
http://www.ccsinfo.com/forum/viewtopic.php?t=59296
[/url]
djsb



Joined: 29 Jan 2011
Posts: 41

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 11:34 am     Reply with quote

Thanks Ttelmah and everyone else,

I will give the Visual Studio Code set up a try at some stage. At the moment, I just need something that works and doesn't get in the way of me actually learning to use CCS and the actual hardware in more depth.
I've been asked to review an academic years worth of code examples, so MPLABX (or a combination of the plugin and MPLABX) not working is just getting in my way. Not sure what the root cause is yet, but I'll find out eventually.
temtronic



Joined: 01 Jul 2010
Posts: 9231
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 11:57 am     Reply with quote

curious as to which PIC you're using....maybe MPLAB 8.92 will work for you ??

Also, consider a dedicated PC for PICs. Cheap these days and NO need for internet connection or upgrades.
djsb



Joined: 29 Jan 2011
Posts: 41

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 12:35 pm     Reply with quote

The classes use PIC16F819, PIC16F1827 and PIC16F1847 (all 18 pin) and the version of MPLABX and CCS PCM is an older version and works fine (MPLABX 6.xx and PCM 5.xx respectively).
As I work from home occasionally, I use the newer versions of both on my home PC. I'm using MPLABX 6.20 and the compiler is 5.11 or thereabouts.
This is the last version of MPLABX that supports programming with the ICD3 programmer we use in the labs.
It should work on my PC as well. I'm still not sure why. Maybe there is a problem with the packs that MPLABX downloads? Not sure.
Ttelmah



Joined: 11 Mar 2010
Posts: 19524

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 12:45 pm     Reply with quote

Er.

You are making problems you don't have.
_ALL_ of those chips are supported by MPLAB 8.92. Just use this. Has the
simulator, ICD, etc. etc..
Forty times better, and I've got versions installed ten years ago still merrily
running.
djsb



Joined: 29 Jan 2011
Posts: 41

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 12:57 pm     Reply with quote

Thanks Ttelmah,
Downloading it now. I'll give it a try.










PS I'm also going to try aligning with the version I use at work as that works with no problems. Whatever just works, I'm going to stick with.


Last edited by djsb on Mon Dec 02, 2024 3:51 pm; edited 1 time in total
temtronic



Joined: 01 Jul 2010
Posts: 9231
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Dec 02, 2024 3:07 pm     Reply with quote

Hint. After you install MPLAB 8.92, go to the 'build configuration' and select 'release' instead of the default 'debug'. That way, when you F10-compile, the code will be correct to download into the PIC and run.
If you select 'debug' , it adds 'stuff' expecting you to be 'debugging' the code.
Since I only use the Real World to 'debug', MY default is 'release'.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group