Programming 16F887 SMD chip with ICSP interface .. need help
Posted: Mon Jan 07, 2013 9:03 am
Hello to all specialists,
as newbie to pic SMD devices I would need some help for the programming of a SMD 16F887 device.
As somebody told me I would just need the ICSP Data and ICSP Clk Signals for programming the SMD device, I wired the device as follows:
Pin VSS (Gnd) from Voltage Regulator
Pin VDD (5V) from Voltage Regulator
Pin MCLR attached to pin 18 of the chip through resistance to 5V (pullup resistance 390 Ohm)
Pin ICSP Data attached to the pin 17 of the chip - connected to pin 40 of the MatrixMultiprogrammer board.
Pin ICSP Clk attached to the pin 16 of the chip - connected to pin 39 of the MatrixMultiprogrammer board.
When trying to transfer the programm from FlowChart the following error appears:
Could not ID the onboard chip - assuming it is the one specified in the configuration screen i.e.16F887
Followed by the message:
pic micro has not beed erased ... Continue
Here the resume of the Flowchart messages:
File name: D:\Documents\FlowCode (Pic)\Test1 PIC16F88 Analog In et LED Out et Switch In\Flowcode 16F887 TEST D0.c
Title:
Description:
Generated by: Flowcode v5.4.0.0
Date: Monday, January 07, 2013 09:00:44
Licence: Professional
Registered to: MartinMaximilianMayr
Licence key: ZM06Y5
http://www.matrixmultimedia.com
Compilation is up-to-date
Linking is up-to-date
Launching the programmer...
D:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe -cs 2 -chip PIC16F887 -nogui "Flowcode 16F887 TEST D0.hex"
Sending program...
.......................................................................................................................................................................................................................................................................
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
....................................................................................................................................................................................................................................................................................................
Writing program memory
Writing configuration memory
Programming failed: <config1> & <config2>
That took 151.274 seconds
Return code = 0
FINISHED
Now my question how can I program a smd chip soldered onto an external circuit with the ICSP Interface - what do I have to connect otherwise then what I did ?
Hope to get a response from you specialists, or maybe some explanation what else happens when the Chip is on the programmer instead of being connected a side through ICSP Interface ?
I tried something more - still without success: I connected pin 1 from J5 to pin VPP of the Microcontroller (pin 18 of the 44pin SMD chip) I expeted from the documentation that the VPP should move to 13.25 V during programming, but it only moved from 5.01 to 5.25V. And still the same error messages ...
Please I need some help to get my chip ICSP programmed now ...
Anyone with a schematics on how to cable and configure correct the Multiprogrammer (my revision is the Multiprogrammer EB-006-00-8
Best regards
Max
as newbie to pic SMD devices I would need some help for the programming of a SMD 16F887 device.
As somebody told me I would just need the ICSP Data and ICSP Clk Signals for programming the SMD device, I wired the device as follows:
Pin VSS (Gnd) from Voltage Regulator
Pin VDD (5V) from Voltage Regulator
Pin MCLR attached to pin 18 of the chip through resistance to 5V (pullup resistance 390 Ohm)
Pin ICSP Data attached to the pin 17 of the chip - connected to pin 40 of the MatrixMultiprogrammer board.
Pin ICSP Clk attached to the pin 16 of the chip - connected to pin 39 of the MatrixMultiprogrammer board.
When trying to transfer the programm from FlowChart the following error appears:
Could not ID the onboard chip - assuming it is the one specified in the configuration screen i.e.16F887
Followed by the message:
pic micro has not beed erased ... Continue
Here the resume of the Flowchart messages:
File name: D:\Documents\FlowCode (Pic)\Test1 PIC16F88 Analog In et LED Out et Switch In\Flowcode 16F887 TEST D0.c
Title:
Description:
Generated by: Flowcode v5.4.0.0
Date: Monday, January 07, 2013 09:00:44
Licence: Professional
Registered to: MartinMaximilianMayr
Licence key: ZM06Y5
http://www.matrixmultimedia.com
Compilation is up-to-date
Linking is up-to-date
Launching the programmer...
D:\Program Files (x86)\Flowcode\v5\Tools\PPP\PPPv3.exe -cs 2 -chip PIC16F887 -nogui "Flowcode 16F887 TEST D0.hex"
Sending program...
.......................................................................................................................................................................................................................................................................
Erasing the PICmicro
NOTE: EEPROM data will also be erased!
....................................................................................................................................................................................................................................................................................................
Writing program memory
Writing configuration memory
Programming failed: <config1> & <config2>
That took 151.274 seconds
Return code = 0
FINISHED
Now my question how can I program a smd chip soldered onto an external circuit with the ICSP Interface - what do I have to connect otherwise then what I did ?
Hope to get a response from you specialists, or maybe some explanation what else happens when the Chip is on the programmer instead of being connected a side through ICSP Interface ?
I tried something more - still without success: I connected pin 1 from J5 to pin VPP of the Microcontroller (pin 18 of the 44pin SMD chip) I expeted from the documentation that the VPP should move to 13.25 V during programming, but it only moved from 5.01 to 5.25V. And still the same error messages ...
Please I need some help to get my chip ICSP programmed now ...
Anyone with a schematics on how to cable and configure correct the Multiprogrammer (my revision is the Multiprogrammer EB-006-00-8
Best regards
Max