- 0
PIC18F4550, MPLABX and XC8 - Am I missing something?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 4 replies
- 7 views
-
NASA announces huge upgrade with next-gen processors being "at least 100 times" faster
By hellowalkman,
- hspc processor
- nasa jpl
- (and 8 more)
- 2 replies
- 3 views
-
- 0 replies
- 879 views
-
- 4 replies
- 2,353 views
-
- 10 replies
- 2,428 views
-
Question
n_K
I've just had to switch from a dsPIC to a PIC18F4550 due to data size, and I think I might have found a problem...Using MPLABX IDE v1.85 and XC8 v1.20; It's telling me that my use of TRISC is wrong, and insists the only parts of TRISC that exist are TRISCbits.: TRISC0, TRISC1, TRISC2, TRISC6, TRISC7 I.e. no 3, 4, or 5... All of which are present in the datasheet.I'm not sure if I'm doing something wrong or what, anyone else got a similar issue?Nevermind, fixed that, you use to use PORTC not LATC... Pretty stupid seeing as they're mapped to the same address...
Also how the hell do you enable the extended CPU instructions? You enable it using the configuration bits but when you try and build it gives an error saying the program wasn't built with them! There's nothing in the whole of project settings that I can see to enable it either.
Also anyone else having problems with neowin removing ALL formatting and making just a wad of text when they post?
Link to comment
https://www.neowin.net/forum/topic/1181891-pic18f4550-mplabx-and-xc8-am-i-missing-something/Share on other sites
6 answers to this question
Recommended Posts