Arduino as a Pic Programmer!

Here is the reading part working :

Uploaded the prog to second post, but it's still buggy, and doesn't support config word yet

Really good work Soranne,I'm very intrested in this too,Will give it a try on later on the pic's i have and report back,Great Work Thanks XD

Thanks a lot sorrane for the finalization of that software, also which all pic's can we read? and do we have to select the respective PIC from the dropdown then in that case which one PIC you have covered?

also, Does the Arduino programme remains the same?

Also, Do we get the HEX file read from the PIC under C:/ drive?

WAS TRYING OUT WITH 2 12F683'S
I got the following (see attachement) prompt from it and while it shows all zeros in bits everywhere, so where im wrong.

The way i made connections to the 12F683 are in the attachment named conn..

EDIT:
the app is hanging when i click on read

1 Like

The program doen't work with 12F683 yet, I have to add support :s

But reading should work normally, if the program freezes that may be because you didn't reset the Arduino before starting the prog...
Tell me if it still doesn't work.
But remeber this is a beta version, so still a bit buggy... :s

For the read function : it only reads the 50 first words. And your connection with pic seems to be fine.

Its fine if it doesnt work with 12F683 but i really appreciate your efforts --> :slight_smile:

Ya it still doesn't work , i'm utilizing the program as follows

  1. Reset the arduino (offcourse after the sketch is loaded on arduino)
  2. Then start the Windows programme that you made.
  3. change the Port to the one which im connecting the arduino with.
  4. Then i change the name of the PIC to 12F683

then click on read, but nothing works the windows opens at some try's but it all shows 0000000000 , first i thought it may be happening bcz the PIC may be locked on its bits to protect the software , then i used another 12F683 that i bought afresh and after writing to it many times, whenver i read and if it worked sometimes then it shows all 000000000 in bits

That is weird, maybe the 12F683 has a really different protocol I need to checkout the datasheet.

Any Update?

As I'm a student, and that I have a lot of homework during the week I can only work on this project on week-ends.
Sorry about that.

Ok that is fine.

Updated C# code and arduino code, should work with many pics (doesn't support config word yet...).

Don't forget to reset PIC before reading/writing. If the prog says "access to COMX denied", just close and re-open the prog.

Thanks! i will get back to you with the results.

Ok! :slight_smile:
I'm not sure about writing, but reading should work fine :wink:

How can the Read software be saved?

Not implemented yet but you can still copy/paste the text from the output window...
Does reading work for you?

Hey, just wanted to give you two thumbs up for this project!
I've spent some time looking for a way to program pic through arduino and only found some (pretty arrogant) guys saying that it's not possible.. I wanted to make a PicKit2 clone, but needed something to burn hex to 16f2550, and it seems that your solution is exactly what I was looking for. It's unfortunate that I won't have time to try it soon, but keep up the good work!

Hey Sorraine,
This is a nice project. Does this work for PIC24 (PIC24FJ256GA110) ?

Hi, Soranne !

As I said on the french topic of your project - http://arduino.cc/forum/index.php/topic,93067.0.html - I'm trying to reproduce the same kind of project with a PIC18F2550.
When i'll finish it, i'll share it on this topic, attached with a report. I expect that will help everybody else to adapt this project to their favorite microcontroller.

Cordially,

Watchi~

Very interesting project!