Page 1 of 1

PPPv3 config problems with PIC18F4455

Posted: Thu Feb 23, 2012 11:09 pm
by chuckie
My environment is
WINXP SP3
PPPv3.9.12.26 Firmware v8
FCv5.1.0.0
EB006-00-8 with PIC18F4455
Experience level = enthusiastic fumbling beginner

I am having problems selecting "XTAL" and "PIC18F4455" in PPPv3.
I open PPPv3 and select Options>Configure PICMicro...
I select the Oscillator "XTAL"
On the PICmicro Configuration screen the Select chip dropdown only has PIC12FXXXX and PIC16FXXXX devices available for selection so I have to click on 'Switch to Expert config Screen' to be able to select "PIC18F4455". (Why aren't other chips shown?)
I click on OK to accept the defaults.
If I go back to check the settings, the Oscillator selection has defaulted back to RC.
The only way to get the "Oscillator" parameter to = XTAL is to set "OSC Select" parameter = div by 3 {12MHz input} on the "PICmicro Configuration (expert) - Slot 0" screen.
I want to use the "XTAL" setting and "no divide {4MHz input}"
(As I am using FC5.1 I have NOT applied http://www.matrixmultimedia.com/mmforum ... 46&t=10112 )

When I fix this I can go back to my original problem: when I click on Autodetect I get the error message 'Could not ID the onboard chip' error.

Re: PPPv3 config problems with PIC18F4455

Posted: Thu Feb 23, 2012 11:27 pm
by medelec35
chuckie wrote:when I click on Autodetect I get the error message 'Could not ID the onboard chip' error.
For this issue you state you have got a PIC18F4455.
Since EB006 are shipped with a 16F88, have you still got that plugged in to U18 socket?.
If it is then you will need to remove it before autodetecting 18F4455.

Re: PPPv3 config problems with PIC18F4455

Posted: Fri Feb 24, 2012 10:03 pm
by chuckie
Hi medelec35, Yes I did remove the PIC18F88 chip.
I actually have 2 EB006-8 boards and I get the same error 'Could not ID the onboard chip' error in both. I have a PIC18F877A chip and that works in both.
I am using the parameter settings for PIC18F4455 from the Elektor article 'Eblocks go twitter' so I assume they are correct (although I think they were using FCv4, and I am not sure which version of PPP they used). The EB006 boards are switched to XTL and FAST.
I gave the steps to recreate the error (see above) - I would like MM to see if they can recreate the error otherwise I have fried my chip!
Thanks for your suggestion.

Re: PPPv3 config problems with PIC18F4455

Posted: Mon Feb 27, 2012 4:40 pm
by MJU
Hey Chuckie, I had that problem ones with the 18F4550.

The chip couldn't be configured with the automatic settings.
I did some testing and found these settings.

Image

These may not work for the 18F4455 but it could be a start to look into the expert settings for that chip.
Again, these are settings I used for a 18f4550.

Re: PPPv3 config problems with PIC18F4455

Posted: Mon Feb 27, 2012 4:45 pm
by MJU
Chuckie, me again.

Suddenly I remembered that the ECIO40 uses a 18F4455, so maybe you can fetch the settings for that chip?
Try and make a simple Flow for the ECIO40 and search for the settings for that chip into the generated C-code??

Re: PPPv3 config problems with PIC18F4455

Posted: Mon Feb 27, 2012 5:22 pm
by Benj
I have had minor problems with programming these devices in the past. They seem a little temperamental at times whereas at other times they are perfectly fine.

Have you tried unplugging, replugging the board to see if power cycling the chip has any effect?

Sometimes re-programming with a pickit seems to free the chip up for use with PPP again. I've given up on these chips before too and presumed dead chips have previously come back to life for no reason after being power cycled a few times.

The most reliable way I have found for these chips is to get a fresh device and load on a bootloader using PPP or PICkit. Once you have done this you can reprogram the device using the bootloader and this works great. This is how our ECIO range works. Microchip offer free bootloader examples as part of their examples library.

Re: PPPv3 config problems with PIC18F4455

Posted: Wed Feb 29, 2012 4:47 am
by chuckie
Thanks MJU and Ben, I'll try your suggestions.
As a last resort I'll try an old trick from my IBM days - sacrifice a goat at midnight and leave the entrails on the keyboard overnight.
Ah those were the days - ferrite core memory, 80 column cards.... now where has Billy disappeared to...