DiyLightAnimation

Hardware => Lynx SSR4 => Topic started by: cakeez on December 01, 2011, 06:52:26 pm

Title: Pic Programming
Post by: cakeez on December 01, 2011, 06:52:26 pm
Just got my Pickit2 in the mail today. Realized I bout the debug version instead of the Starter Kit. So where do I go from here? I want to program my own but need some help getting started. Is there a board that I can buy that will be setup to program both the SSR4's and Express chips? or do I need multiple boards? Kind of new to everything, but I write computer apps for a living, never had to write my code to a chip before though.

Thanks,
Chuck
Title: Re: Pic Programming
Post by: rrowan on December 01, 2011, 07:03:01 pm
You really don't need the starter kit to program pics. What you need is the boards to put the pics in to program them.

The dongle and SSR4 pics i.e.: pic18f2450 (dongle) and pic18f1220 (ssr4) need programmer boards. The Express does not need one unless you really want one.

Most members buy the boards from j1.sys http://stores.ebay.com/Joshua-1-Systems/_i.html?_dmd=2&_sid=3370456&_sop=10

You could get the whole kit of boards or just one that fits the two pics I listed above. Beware that the etherdongle requires the pickit3 since the pickit2 doesn't support that pic.

Hope that helps

Rick R.
Title: Re: Pic Programming
Post by: sadkisson on December 01, 2011, 09:08:12 pm
i purchased a pickit3 it came with a board but to be honest i have no idea what chip fits into what board.  i do see that most of the new lynx kits have icsp clips already on the board them selves so no need for a programming board im assuming.  i do plan on getting some ssr4 kits eventually tho.  it would be nice to have icsp clips on all lynx equipment just for the fact all one would need then is a pickit3
Title: Re: Pic Programming
Post by: rrowan on December 01, 2011, 09:44:10 pm
You are not allowed to view links. Register or Login
i purchased a pickit3 it came with a board but to be honest i have no idea what chip fits into what board.  i do see that most of the new lynx kits have icsp clips already on the board them selves so no need for a programming board im assuming.  i do plan on getting some ssr4 kits eventually tho.  it would be nice to have icsp clips on all lynx equipment just for the fact all one would need then is a pickit3

Little history lesson on Lynx hardware. All Lynx hardware before the LE v3 came out don't have the ICSP on board. This means you need a programming board for the following hardware (usb dongle, lynx controller, freestyle, ssr4-dmx, mr-16, LE v2). Without a major board redesign they will most likely never have the onboard ICSP.

All hardware since the LE v3 came out that and has a pic on it will include the ICSP. Which means you don't need a separate programming board to program/flash the pic. Of course if you are inclined to do so that is your call. :)

ICSP  = In Circuit Serial Port
pic = Microchip MicroController

I hope that clears up some info.

Cheers

Rick R.
Title: Re: Pic Programming
Post by: cakeez on December 01, 2011, 10:21:11 pm
you are all more than helpful. I will be ordering the boards tomorrow. Thanks for all the help.

Are there any tricks or gotcha's that I should know?
Title: Re: Pic Programming
Post by: rrowan on December 01, 2011, 10:29:20 pm
Not really, those boards require you to set jumpers for different versions of the pic. Like one pic will be all pins set to jumper W another will be to L. That site shows what is needed.

Rick R.