ICSP

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

ICSP

Postby Jan Lichtenbelt » Wed Jul 24, 2019 1:38 pm

ISCP is working fine with a 10 cm connection between the programming BL0080 board and the microchip 16F1847.
If I exchange the microchip with the 16F18857, ISCP is not working correctly. Programming shows the procedure works correctly, but in practice the program does not work. In both cases the low powering has been disabled.
What can be the reason?

Kind regards


Jan

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1100
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 503 times
Contact:

Re: ICSP

Postby Steve001 » Tue Jul 30, 2019 12:47 pm

Hi Jan,

Don't believe this is a V8 issue

I experienced this with V6 as soon as you try to go past the supplied lead length with ICSP Programming you get all sorts of weird results and miss programming.
Have even tried twisted pairs and screen cables. Ended up sticking with the supplied lead.

There is a post bellow on microchip forums about this.

https://www.microchip.com/forums/m472339.aspx#472339

Steve
Success always occurs in private and failure in full view.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1100
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 503 times
Contact:

Re: ICSP

Postby Steve001 » Wed Jul 31, 2019 12:46 pm

Sorry Jan I misread your post -

Thought you where going past the standard length of cable supplied with the programmer

need new glasses I think .. :shock: :shock: :shock:

Steve
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8485
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2440 times
Been thanked: 3498 times
Contact:

Re: ICSP

Postby medelec35 » Thu Aug 01, 2019 3:39 pm

Hi Jan,
If Programming has been reported as successful i.e with no unable to erase messages,
then could the issue be configuration settings or a faulty chip?
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Jan Lichtenbelt
Posts: 794
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 261 times
Contact:

Re: ICSP

Postby Jan Lichtenbelt » Sat Aug 03, 2019 11:25 am

Hi Martin,

I used more microchips 16F18857. That can not be the reason. The config word is shown below. I use the same config word for programming the microchip on the programming board BL0080 and by means of ICSP. It is still a puzzle for me.
ConfigWord.jpg
ConfigWord.jpg (268.87 KiB) Viewed 642 times

Kind regards

Jan

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8485
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2440 times
Been thanked: 3498 times
Contact:

Re: ICSP

Postby medelec35 » Sat Aug 03, 2019 3:52 pm

Hi Jan,
None of you posts show what value OSCFRQ you're using within a c code block?
What value are you using?
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.