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 support@ccsinfo.com

why error wizard ?

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



Joined: 25 May 2007
Posts: 26

View user's profile Send private message

why error wizard ?
PostPosted: Wed Apr 08, 2015 4:42 am     Reply with quote

I usually used wizard but wizard error...
I chanching pin or software .etc
#pin_select U1TX=PIN_E6
#pin_select U1RX=PIN_E7



Question



Question


Exclamation

/*.........................................................................................
.........................................................................................
.........................................................................................*/
AFTER...
#pin_select U1TX=PIN_E7
#pin_select U1RX=PIN_E6
Build Successful...


Very Happy
dyeatman



Joined: 06 Sep 2003
Posts: 1924
Location: Norman, OK

View user's profile Send private message

PostPosted: Wed Apr 08, 2015 5:03 am     Reply with quote

So whats the problem?
RPI86 is an input only pin....the error is valid
when you define E6 as a TX output.
_________________
Google and Forum Search are some of your best tools!!!!
1980best



Joined: 25 May 2007
Posts: 26

View user's profile Send private message

PostPosted: Wed Apr 08, 2015 5:09 am     Reply with quote

I think the wizard should not allow it
pins should be closed in the wizard

program would be more useful
This is my personal opinion

Thanks..
Ttelmah



Joined: 11 Mar 2010
Posts: 19383

View user's profile Send private message

PostPosted: Wed Apr 08, 2015 7:18 am     Reply with quote

Seriously, I don't think anyone who actually works with the compiler at all professionally uses the Wizard.
You have found one tiny little problem that it doesn't recognise that a particular pin is input only. However There are so many more major faults that worrying about this seem pointless.
The Wizard _has no 'intelligence' at all_. It'll allow you to setup all sorts of combinations that are impossible, and many of these will not be spotted by the compiler. Relying on it, is a sure way to shoot yourself in the foot.
The best way to work, is to start with the manufacturer's data sheet, and work out the settings you need for the chip involved. Then code just these. Store this setup as a PICxxxxsettings.h, and use this as the starting point whenever you use this chip.


Last edited by Ttelmah on Wed Apr 08, 2015 7:25 am; edited 1 time in total
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Wed Apr 08, 2015 7:24 am     Reply with quote

Quote:
the wizard should not allow


Face it: the wizard is not so smart. I've seen the proof of this many times over.
It is a well meaning concept but flawed in more ways than you realize.

Hence it is not a wise choice to depend on it.

Though i have the full IDE / Wizards - it is only for the purpose of untangling and reintegrating the messes other people have started to create using it.

MY suggestion:
Become the wizard you seek and use the command line version of the compiler
instead.
dyeatman



Joined: 06 Sep 2003
Posts: 1924
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Apr 09, 2015 5:29 am     Reply with quote

You are expecting way too much. Nothing substitutes for YOU reading the datasheet!

With the remappable pins and multitude of CPU versions out there, for the
CCS people to research and cover every possible pin combination would be
almost impossible. Not to mention, due to the hundreds of man hours it
would take, it would likely drive the compiler price way up!
_________________
Google and Forum Search are some of your best tools!!!!
temtronic



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

View user's profile Send private message

PostPosted: Thu Apr 09, 2015 6:06 am     Reply with quote

The 'Wizard' is about as smart as ISIS/Proteus...

sigh


NOTHING is better than reading the datasheets of the devices you're using. Yes, I know it can be 'boring,dreary and dull' BUT it it THE place to get the information about the PIC !! Heck 20 years ago that's what we had to do, 30 years ago it was all about assembler and reading papertape.


Think about it, would you take your new Corvette to a farm tractor dealership to be have the 'computer' reprogrammed ??

The more you read the datasheets, the better the programmer you'll become.Same is true about reading the CCS compiler manual and looking(if not testing) the tons of free, working example programs CCS supplies.

I point I want to make is that you should NOT put 'blind faith' in a 3rd party 'wizard' or 'simulator'. These day no one 'program' can possibly 100% correctly 'setup' the hundreds of PICs available. CCS is one of a handful that when reported DO correct the 'errors' in a reasonable amount of time. Far faster than the infamous 'blue screen of death' !

Jay
ELCouz



Joined: 18 Jul 2007
Posts: 427
Location: Montreal,Quebec

View user's profile Send private message

PostPosted: Thu Apr 09, 2015 3:03 pm     Reply with quote

It's true... don't expect anything from the wizard...

I've used it some times to generate some timer code but that's just me being lazy to write it hehe
_________________
Regards,
Laurent

-----------
Here's my first visual theme for the CCS C Compiler. Enjoy!
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