Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] ccs compiler plugin and mplab IDE

Status
Not open for further replies.

ab.vasanthan

Newbie level 5
Joined
Mar 5, 2012
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,341
Hi everyone,
what is the advantage of using ccs compiler plugin in mplab IDE ?
why don't use IDE provided by ccs itself ?
i am currently using ccs compiler plugin in mplab IDE but i don't know the advantage of doing so and why it being done this way!
can you please tell me why?

Thanks and regards
 

which language you used to write your codings? assembly or c?
 

Hi everyone,
what is the advantage of using ccs compiler plugin in mplab IDE ?
why don't use IDE provided by ccs itself ?
i am currently using ccs compiler plugin in mplab IDE but i don't know the advantage of doing so and why it being done this way!
can you please tell me why?

Have you ever tried to write the code for LCD using the CCS LCD Wizard, it generates wrong code.
This is one of the fault of CCS Compiler.

One Another big issue, that i personally feels is that, CCS PIC-C Compiler doesn't follow the C Standards Properly..

For Example

Code:
#include<16f877a.h>

#use delay(clock=20000000)
#fuses HS,NOWDT,NOPROTECT,NOLVP

//#use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7,parity=N,bits=8,ERRORS)
#use rs232(UART1,baud = 9600)

#define LCD_ENABLE_PIN PIN_C0
#define LCD_RS_PIN PIN_C1
#define LCD_RW_PIN PIN_C2
#define LCD_DATA4 PIN_D4
#define LCD_DATA5 PIN_D5
#define LCD_DATA6 PIN_D6
#define LCD_DATA7 PIN_D7

#include <lcd.c>
//[B][I][U]This line after the #define is not valid in C Language[/U][/I][/B]
//[B][U][I]And lcd.c this is wrong as per my knowledge[/I][/U][/B]

unsigned char receive;
void main()
{
	set_tris_d(0x00);
	set_tris_c(0x00);
	lcd_init();
 	Delay_ms(100);
	while(1)
	{
		lcd_gotoxy(1,1);
		Delay_ms(1000);
		lcd_putc("Arun Sharma");	// /f clears the display
	}
}

Thats why i don;t prefer CCS Compiler,
and now time to answer ur question.
Why to use CCS Plug-in and write code with MPLAB IDE.
MPLAB IDE is a very good environment, it is having several Debuggers, like MPLAB SIM(Free),Proteus VSM, ICD3 option..etc etc

By using these features you can easily analyze your code.

This i personally feels,
MPLAB IDE is much more advanced and to use that features CCS has provided the Plug-In for that..

Hope this helps
 
Thank you .... it was very useful


Regards
vasanthan
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top