Hi Richard,

PICprog connection for PIC16F526 needs 5 pins: Vdd, Vss, MCLR, ICSPCLK, ICSPDAT. You can also do programming out of Your device (ZIF socket - if You have one - connected to PICkit), so You don't necessarily need ISCP pins in Your design. But is is quite convenient to instantly download code when debugging without need to again and again move IC out and in...

Regarding SDCC for PIC I can't provide any help. I use SDCC for another processors... For PIC I use (in my job) MPlabX.

BR,
Hynek



Dne 1.2.2017 13:48, Richard Gray napsal(a):
Hi Guys,

I need a bit of guidance, and I'm certain you guys will have some experience to point me in the right direction.

I have a little problem at home which I am confident that I can solve with a PIC16 chip. I /could/ solve the problem using discrete logic, but the component count would be problematic because I have to work in a physically quite small space. The chip I have in mind is a PIC16F526 in it's DIL 14-pin configuration.

I seem to think that the PICKIT 3 is the thing I need, but on my actual circuit board I think I need a row of header pins (6 or maybe 8) connected somehow to permit in-circuit serial programming? On my last PIC project, now many years ago, I had a PICstart programmer with a ZIF socket that was driven from an RS232 port on a PC, and in-circuit programming wasn't an issue; but it looks like that is now obsolete. I have found similar programmers (such as one from Dataman); but they're frighteningly expensive.

I will probably use SDCC for my project, and although fairly simple I'd rather not write the code in assembler!

Can anybody offer me a bit of guidance as to the bits and pieces of hardware that I need to buy?

Many thanks!

Richard.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to