DiyLightAnimation

Hardware => Lynx EtherDongle => Topic started by: Orion on March 24, 2013,

Title: Programming Etherdongle Pickit3 help
Post by: Orion on March 24, 2013,
I am having problems programming my etherdongle firmware.  I have the pickit3 connected to board and PC (arrows are correct).  I open pickit 3 program and program recognizes the pickit3.  I import DMX firmware.  I find the correct chip from drop down menu.  I hit erase and I get operation failed.  I can't seem to do anything.  Please help.  I will include and image of the program error.
Title: Re: Programming Etherdongle Pickit3 help
Post by: keitha43 on March 24, 2013,
How about checking target power on? I don't remember if I also had the power supply plugged in to the etherdongle at the time so you might try that too.

Sent from my Thunderbolt using Tapatalk 2.

Title: Re: Programming Etherdongle Pickit3 help
Post by: rdebolt on March 24, 2013,
I would check the power as Keith said, but also would not worry about erasing. Just select write and see what you get.
Title: Re: Programming Etherdongle Pickit3 help
Post by: keitha43 on March 24, 2013,
I also do an erase just to verify the software is working. In my case I didn't get a checksum when programming the etherdongle. I had to watch the large box to see value changes so I knew it worked correctly.

Sent from my Thunderbolt using Tapatalk 2.

Title: Re: Programming Etherdongle Pickit3 help
Post by: rdebolt on March 24, 2013,
No check sum does come up with the 512 chip. I think it has to do with the PicKit3 software.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on March 25, 2013,
still having the same issue.  Do i need the dongle powered up with the transformer?
Title: Re: Programming Etherdongle Pickit3 help
Post by: rdebolt on March 25, 2013,
No the pic should program in stand alone. Make sure that you have the white arrow on the pickit3 lined up  with the #1 pin on the header pins.
Title: Re: Programming Etherdongle Pickit3 help
Post by: TexasStingray on March 25, 2013,
Orion, have you used the ED before? What's happens when you apply voltage via the power jack? If you have not used it before, please post some good quality high res pictures!
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on March 26, 2013,
i am only using the quick ap to program with the pickit from the wiki.  Do i need the whole programmer software(where to get full version.  my software CD does not install on my PC).  I will go over all component placement tonight.  My DW works for a electronic assembly firm and I had her look at all of my solder joints and got the ok.  I also worked for the same company for 8 years as a technician.  I am familiar with solder defects too.  I have a little extra solder on some joints but that shouldn't affect the board functionality. 
Title: Re: Programming Etherdongle Pickit3 help
Post by: caretaker on March 26, 2013,
Orion I noticed when you posted the screen shot from your PicKit 3 software you did not have the check mark next to "Target Power" checked. Try checking that and then try writing the hex file to the PIC. 
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on March 27, 2013,
Ok i tried the target power also with no luck.  I have a new pickit 3.  Do I have to do any updates on it?
Title: Re: Programming Etherdongle Pickit3 help
Post by: Kasey911 on March 27, 2013,
Just to confirm, did you load the PICkit operating system to your PICkit 3?  This is done from the Tools menu, I believe.  Not sure if this was done or not, just thought I'd throw it out there just in case.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on March 28, 2013,
What OS would I have to download and where could I find it?
Title: Programming Etherdongle Pickit3 help
Post by: Kasey911 on March 28, 2013,
It is part of the PICkit utility. Connect your PICkit 3, go to the tools menu and select download OS.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on March 30, 2013,
my issue now is where are the operating systems located?  I go to load a OS and the directory is my desk top.  Do i need to download one or are they located in a program file?  Thank everyone again for all your help.  I'm sure we will be able to solve the issue together.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Kasey911 on March 30, 2013,
Sorry about that, the file you are looking for is PK3OSV020000.hex or something very similar.  The file should be in the same location where you installed the PICkit utility.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on April 02, 2013,
are these OS part of the pickit3 software or is it part of the app.  I found where to load them I just can't find them on my PC
Title: Re: Programming Etherdongle Pickit3 help
Post by: drlucas on April 03, 2013,
There is a decent walkthrough posted here...

http://www.loggerheadinstruments.com/site/software/Using%20PicKit3%20to%20reprogram%20firmware.pdf

looks to be a folder called picket3 scripting where the hex file is located.

my programmer is sitting in it's packaging waiting for the LE coop to arrive so I haven't actually had to go through this myself...but hope the above helps you out!

cheers!
Ryan
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on April 11, 2013,
can some one tell me where do I update device database file.  I downloaded the file from the wiki but I do not know where to install it or drop it in.
Title: Re: Programming Etherdongle Pickit3 help
Post by: Orion on April 13, 2013,
anyone?  I figured out that i downloaded the wrong pickit programmer.  Now I can load OS on the pickit but now I can't find where to load the new device list fot the etherdongle pic?
Title: Re: Programming Etherdongle Pickit3 help
Post by: rrowan on April 13, 2013,
I think Kasey said to just put the file you downloaded into the pickit3 directory where the program is.

Restart the program (if it was running) and connect the pickit to the etherdongle. Hopefully you can select the correct pic and then when you load the firmware for the etherdongle and click on read it will load the new data file for the pic.

Rick R.
Title: Programming Etherdongle Pickit3 help
Post by: Kasey911 on April 13, 2013,
If you look in the wiki under software, right below the PICkit 3 entry is a link for a modified database file I creates to support the PIC in the EtD. Copy it into the folder where the utility is installed ( overwrite the existing one) and the relaunch the tool.
Title: Programming Etherdongle Pickit3 help
Post by: Kasey911 on April 13, 2013,
LOL, Rick beat me to it.

[edit]

Here is the link the the Wiki and under the PICkit 3, there is a link to download the new database file:

PICkit 3 Database (http://www.diylightanimation.com/wiki/index.php?title=Software#PIC_Programming)