Because mplab8 and C18 are no longer, on the new laptop I am having to use mplab x and xc8.
I started with the picc18 template, I liked the look of it at first, so first job I thought was give the ADC a go, I looked in the xc8 docs folder and found
MPLAB_XC8_Peripheral_Libraries.pdf
So looked up my chip 18f4685 and looked at the ADC example, the idea was to copy the example across, But turns out although the doc is named MPLAB_XC8_Peripheral_Libraries.pdf the actual lib used is the C18 lib! so when I tried to use the #include uart.h it tells me it cant find it in the IDE, I have tried adding the file manually but no luck.
Am I correct in thinking that if you use the xc8 compiler then you cant use the C18 header files? in that case why put them in the docs for XC8??
Or is there something I have missed in the reading? 5 days now and still getting nowhere with this tool chain, ok that could be me, but surely it shouldnt be this difficult to get it working?
Finaly got the mplabx to recognize my ICD3, the solution was simple, keep closing and opening mplabx until it finally said it recognized it!!
Yes some are saying I am bashing microchip for no reason, but lets be fair here, taking away tools that worked and making you use tools that in all honesty, are not ready to be released is unfair.
I have gone through the tutorials, I have read the docs. I have contacted microchip support, they take was its my fault I am using windows 8.1! I pointed out that wasnt by choice, it was a new laptop and now thats what you get on them.
Just as a comparison ARM MDK with Attol IDE and I had a 32 bit chip doing graphics and touch screen within 40 mins of starting, and no I didnt use the libs included, the tool just works and works well.
I am willing to give mplabx and xc8 a fair shot, so any advice? what am I doing wrong? because none the documentation has told me yet.
I started with the picc18 template, I liked the look of it at first, so first job I thought was give the ADC a go, I looked in the xc8 docs folder and found
MPLAB_XC8_Peripheral_Libraries.pdf
So looked up my chip 18f4685 and looked at the ADC example, the idea was to copy the example across, But turns out although the doc is named MPLAB_XC8_Peripheral_Libraries.pdf the actual lib used is the C18 lib! so when I tried to use the #include uart.h it tells me it cant find it in the IDE, I have tried adding the file manually but no luck.
Am I correct in thinking that if you use the xc8 compiler then you cant use the C18 header files? in that case why put them in the docs for XC8??
Or is there something I have missed in the reading? 5 days now and still getting nowhere with this tool chain, ok that could be me, but surely it shouldnt be this difficult to get it working?
Finaly got the mplabx to recognize my ICD3, the solution was simple, keep closing and opening mplabx until it finally said it recognized it!!
Yes some are saying I am bashing microchip for no reason, but lets be fair here, taking away tools that worked and making you use tools that in all honesty, are not ready to be released is unfair.
I have gone through the tutorials, I have read the docs. I have contacted microchip support, they take was its my fault I am using windows 8.1! I pointed out that wasnt by choice, it was a new laptop and now thats what you get on them.
Just as a comparison ARM MDK with Attol IDE and I had a 32 bit chip doing graphics and touch screen within 40 mins of starting, and no I didnt use the libs included, the tool just works and works well.
I am willing to give mplabx and xc8 a fair shot, so any advice? what am I doing wrong? because none the documentation has told me yet.