Page 1 of 1

Use EB006 for programming via ICSP

Posted: Fri Sep 10, 2010 7:45 pm
by mb02155
Hello,

What do I need to configure on the EB006 and in FlowCode to program a chip installed on another board via ICSP?

The specific board that I will be using is LAB-X (http://store.melabs.com/prod/boards/LABX1A.html)

Thanks,
Marty

Re: Use EB006 for programming via ICSP

Posted: Sat Sep 11, 2010 6:34 pm
by medelec35
Hello Marty
First I would get hold of a turned pin socket e.g.18 pin 0.3 inch from RS SN 197-2675
The reason I would use a turned pin socket is to solder wires on to socket, then push socket on to EB006 programmer. Last thing you would want is to use single core wires, plug into EB006 programmer socket, then a wire gets snapped off!.
Since this is a 18 pin socket look for an 18 pin microcontroller data sheet e.g 16F88.
One way of finding a matching microcontroller is to go to http://www.microchip.com/maps/microcontroller.aspx
Then select 8 bit, then select package from 18 pins to 18 pins. then select device and click on technical docs. Now select data sheet.
Look at the data sheet.
The connections you are interested in are:
VDD = +5V = pin 5
VSS = 0V = pin 14
VPP = High programming Voltage = pin 4
PGD = Programming Data = pin 13
PGC = Programming Clock = pin 12

Solder 5 wires (not to long or will be unsuccessful) to the 5 sockets of the 18Way Dil turned pin Socket. Plug socket on to the 18 pin socket holder of EB006 programming board, then the other ends of wires need to be connected to the ICSP of your experimental board.
Check with the manual for your experimental board but usually the ISCP connections are:
1= VPP/MCLR
2= VDD
3=VSS
4=PGD/ICSPDAT
5= PGC/ICSPCLK
As for configuration and programming via Flowcode, This would be no different as if your target chip was plugged on to E006 programming board. Just create your Flowchart then send to chip. Instead of going to chip, the data will go direct to your ISCP header of your experimental board.
Hope this helps.

Edit: You don't have to use an 18 pin socket, any size will be fine.
Just make sure all connections i.e. DATA, CLOCK, VPP +5V & GND are soldered to correct pins of the socket.
If you are using VPP, or DATA OR CLOCK connections then you must use resistors to prevent components connected to these pins from interfering/shorting the programming pins.
Have a read of chapter 3 of PICkit 2 Microcontroller Programmer User's Guide :
http://www.microchip.com/Microchip.WWW. ... e=en023805#

Also have a look here:
http://www.matrixmultimedia.com/mmforum ... 815#p14815

Re: Use EB006 for programming via ICSP

Posted: Sat Sep 11, 2010 7:55 pm
by mb02155
Awesome! Thank you for the reply! I will give that a try.

Marty