Programming 16F1827 on EB006 multiprogrammer board
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Programming 16F1827 on EB006 multiprogrammer board
PPP don't want to program these devices. 1st message is about pic micro not erased, this is usually 1st tell tale sign that programming is going fail. Keep getting error
Programming failed: <config2>
The only difference between this and other devices, is microchip decided in their ultimate wisdom to have max Vpp of these devices at 9V. Maybe it will work if put a 270R resistor in series with psu for programming only?
Not sure is that will cause programming to about due to low voltage detected?
Any ideas please?
Programming failed: <config2>
The only difference between this and other devices, is microchip decided in their ultimate wisdom to have max Vpp of these devices at 9V. Maybe it will work if put a 270R resistor in series with psu for programming only?
Not sure is that will cause programming to about due to low voltage detected?
Any ideas please?
Martin
- Steve
- Matrix Staff
- Posts: 3431
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Programming 16F1827 on EB006 multiprogrammer board
We're working on an update to PPP that allows programming of a load more chips. I think we've got this one working, but we're currently struggling with the 16F727. Ben may be able to post a temporary solution for the 16F1827 though.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Programming 16F1827 on EB006 multiprogrammer board
Hello,
Yes I have got this device working with PPP and the EB006. If you extract the contents of the attached file into your "Flowcode v4/tools/ppp" directory then programming from Flowcode should then work correctly.
Let me know how you get on.
Yes I have got this device working with PPP and the EB006. If you extract the contents of the attached file into your "Flowcode v4/tools/ppp" directory then programming from Flowcode should then work correctly.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
Thanks for updated ppp files. Unfortunately still unable to program chip. If I click on Autodetect still says Could not ID the onboard chip.
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Programming 16F1827 on EB006 multiprogrammer board
Hi Medelec,
Hm thats odd. Right I have now packaged up all the PPP files into a zip. My copy here is autodetecting the 16F1827 correctly so hopefully we can get yours to do that too.
There may be two copies of PPP on your machine.
1) Used by Flowcode 4 is in the "Flowcode v4/Tools/PPP" folder
2) Referenced from the start menu is in the "matrix multimedia/common/PPPv3" folder
You shoul dbe ok to update the files in both folders with the files from the attachment, you may want to make backups of your files first just incase I have broken anything.
Let me know how you get on.
Hm thats odd. Right I have now packaged up all the PPP files into a zip. My copy here is autodetecting the 16F1827 correctly so hopefully we can get yours to do that too.
There may be two copies of PPP on your machine.
1) Used by Flowcode 4 is in the "Flowcode v4/Tools/PPP" folder
2) Referenced from the start menu is in the "matrix multimedia/common/PPPv3" folder
You shoul dbe ok to update the files in both folders with the files from the attachment, you may want to make backups of your files first just incase I have broken anything.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
Thanks Ben and Steve.
Chip auto detects OK, but still fails to program.
I also done a silly thing,so anyone reading this:
Warning "Please don't do this at home
"
Do not accidentally wire 13V psu to the 5V (+v) otherwise you will require a new programmer like I do right now!
In my defence, I was stressed with other things at the the time.
On the bright side, I do have a spare EB006, but like to keep Two. (one at work and one at home).
@Matrix Multimedia, do you offer a repair service, of have I got to buy a new one?
Chip auto detects OK, but still fails to program.
Code: Select all
Launching the compiler...
C:\Program Files (x86)\HI-TECH Software\PICC\9.80\Free Version\bin\picc.exe --CHIP=16F1827 -N48 HRV1AWDTON16F1827V4_ICD.c
..........
Return code = 0
Launching the linker/assembler...
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\DoNothing\DoNothing.exe
Return code = 0
Launching the programmer...
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Tools\PPP\PPPv3.exe -cs 2 -chip PIC16F1827 -nogui "HRV1AWDTON16F1827V4_ICD.hex"
Sending program...
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
Writing program memory
...................................................................
Writing configuration memory
Programming failed: <config2>
That took 20.529 seconds
Return code = 0
FINISHED
Warning "Please don't do this at home

Do not accidentally wire 13V psu to the 5V (+v) otherwise you will require a new programmer like I do right now!
In my defence, I was stressed with other things at the the time.
On the bright side, I do have a spare EB006, but like to keep Two. (one at work and one at home).
@Matrix Multimedia, do you offer a repair service, of have I got to buy a new one?
Martin
- Steve
- Matrix Staff
- Posts: 3431
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Programming 16F1827 on EB006 multiprogrammer board
I can offer a better service for you - I'll send you a new one free-of-charge! Treat this as a "thank you" for the massive contribution you make to this forum. I think we're due to send you a dsPIC/PIC24 programming E-block sometime next week, so I'll put one in there too.medelec35 wrote:I also done a silly thing,so anyone reading this:
Warning "Please don't do this at home"
Do not accidentally wire 13V psu to the 5V (+v) otherwise you will require a new programmer like I do right now!
In my defence, I was stressed with other things at the the time.
On the bright side, I do have a spare EB006, but like to keep Two. (one at work and one at home).
@Matrix Multimedia, do you offer a repair service, of have I got to buy a new one?
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
Wow!!Steve wrote:I can offer a better service for you - I'll send you a new one free-of-charge! Treat this as a "thank you" for the massive contribution you make to this forum. I think we're due to send you a dsPIC/PIC24 programming E-block sometime next week, so I'll put one in there too.

Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Programming 16F1827 on EB006 multiprogrammer board
Sounds like something I would do
I spent 2 days making an AVR board at home and then in about 2 minutes of using it I had disabled the SPI configuration on the AVR device making the board non reprogrammable and effectivly useless. Doh. Good news is I won't be doing that again in a hurry

I spent 2 days making an AVR board at home and then in about 2 minutes of using it I had disabled the SPI configuration on the AVR device making the board non reprogrammable and effectivly useless. Doh. Good news is I won't be doing that again in a hurry

Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
16F1827 appears to be getting more popular.
Is there any progress on a fix for programming these devices with PPP please?
Is there any progress on a fix for programming these devices with PPP please?
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
Sorry Ben.
It does program chip OK.
I thought as it said
But I was wrong.
It does program chip OK.
I thought as it said
Code: Select all
Writing program memory
Writing configuration memory
Programming failed: <config2>
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Programming 16F1827 on EB006 multiprogrammer board
Hi Martin,
No problems
.
To confirm, are you saying:
A) you get the config failed message when you try to program but it works or
B) you thought you saw the error but then next time it was ok or
C) you get the error and the config is not being programmed correctly
No problems

To confirm, are you saying:
A) you get the config failed message when you try to program but it works or
B) you thought you saw the error but then next time it was ok or
C) you get the error and the config is not being programmed correctly
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Programming 16F1827 on EB006 multiprogrammer board
A)
I program chip, get the warning message every time, but program is sent to chip OK and chip works as expected.
Ah I can see why you are asking, I left a few words off at the end.
Should of read:
I program chip, get the warning message every time, but program is sent to chip OK and chip works as expected.
Ah I can see why you are asking, I left a few words off at the end.
Should of read:
Sorry Ben.
It does program chip OK.
I thought as it saidIt would not have sent program to chip......Writing program memory
Writing configuration memory
Programming failed: <config2>
But I was wrong.
I did not test chip after..I should of done really.
Martin
-
- Posts: 13
- Joined: Thu Oct 15, 2009 9:16 am
- Has thanked: 3 times
- Been thanked: 1 time
Re: Programming 16F1827 on EB006 multiprogrammer board
Hi
I do not have an EB006 board but a more vintage V2.1 board run from a parallel port. (well actually I have about 30 of these so hope I can get things to run).
I am using PPPV3
I have downloaded various patches for the 16F1827 and the programmer sees the 1827 fine under autodetect.
The read PIC code option also seems to work as the pic returns sensible values mainly 3FFF for all the program eeprom
However erase pic fails (it tries 10 times to do this) as does write/program.
I am aware the programmers are now long in the tooth but wonder if anyone has any ideas.
Many thanks for looking.
Sean
I do not have an EB006 board but a more vintage V2.1 board run from a parallel port. (well actually I have about 30 of these so hope I can get things to run).
I am using PPPV3
I have downloaded various patches for the 16F1827 and the programmer sees the 1827 fine under autodetect.
The read PIC code option also seems to work as the pic returns sensible values mainly 3FFF for all the program eeprom
However erase pic fails (it tries 10 times to do this) as does write/program.
I am aware the programmers are now long in the tooth but wonder if anyone has any ideas.
Many thanks for looking.
Sean
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Programming 16F1827 on EB006 multiprogrammer board
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel