Homemade Bus Pirate

Bus Pirate firmware and hardware development.

Homemade Bus Pirate

Postby Fezoj » Sun Nov 13, 2011 9:32 am

Hello,

I came across the Bus Pirate in a wiki and I was so fascinated about its capabilities that i could not resist to build one.
Unfortunately I just noticed that I cannot upload a firmware because i have access to "high voltage" pic programmer only.
According to information on this forum and I guess I have to build/buy some PicKit2 programmer as well. Am i correct?
I cannot wait to see the awesome Pirate in action :)

The Pirate in progress:
Image

Jozef
Last edited by Fezoj on Mon Nov 14, 2011 12:15 pm, edited 1 time in total.
Fezoj
Newbie
Newbie
 
Posts: 16
Joined: Sun Nov 13, 2011 8:42 am

Re: Homemade Bus Pirate

Postby TitanMKD » Sun Nov 13, 2011 10:39 am

Maybe buy PicKit3 it is the latest PicProgrammer replacing PicKit2 and supporting more PICxxx chipset.

Best Regards
Benjamin
TitanMKD
Full Member
Full Member
 
Posts: 118
Joined: Tue May 11, 2010 5:11 pm
Location: France

Re: Homemade Bus Pirate

Postby Fezoj » Mon Nov 14, 2011 12:13 pm

Actually I have found an old Max232 and ATMega8 chip among my spare parts and I still do have access to the COM port so I changed my mind a bit. Now i have a crazy idea. I am going to build a one shot programmer on breadboard because I only want to upload a bootloader to my BusPirate.

I saw that some people are working on PIC programmer application for the Bus Pirate. Unfortunately the code is not documented very well so I think that it will be faster if I learn the PIC24F programming specification and create another one.

Regards,
Jozef
Fezoj
Newbie
Newbie
 
Posts: 16
Joined: Sun Nov 13, 2011 8:42 am

Re: Homemade Bus Pirate

Postby dpropicweb » Tue Nov 15, 2011 1:36 am

TitanMKD wrote:Maybe buy PicKit3 it is the latest PicProgrammer replacing PicKit2 and supporting more PICxxx chipset.


Be aware of the PICkit3's shortcomings compared with the PICkit2 - see http://dangerousprototypes.com/docs/PIC ... rogrammers

I wouldn't recommend a PICkit3 to my worst enemy... unless it was the PICkit2 didn't support the device(s) for which it was needed (latest Microchip device file update for the PICkit2 was earlier this month).
dpropicweb
Sr. Member
Sr. Member
 
Posts: 261
Joined: Thu Apr 22, 2010 5:44 am
Location: The LAN Downunder

Re: Homemade Bus Pirate

Postby Fezoj » Mon Dec 05, 2011 1:29 pm

I finished a simple AVR based PIC24FJ programmer. If anybody has a same problem like I had feel free to ping me. I will upload firmware, application incl. sources somewhere.
Fezoj
Newbie
Newbie
 
Posts: 16
Joined: Sun Nov 13, 2011 8:42 am

Re: Homemade Bus Pirate

Postby ian » Wed Dec 07, 2011 11:19 am

It would be great to see your code for this, I'd like to do a post about it on the blog. Which 24Fs does it support/have been tested?
User avatar
ian
Crew
Crew
 
Posts: 10570
Joined: Mon Jul 06, 2009 6:14 am

Re: Homemade Bus Pirate

Postby BrentBXR » Thu Dec 08, 2011 6:15 pm

I cant wait to see this; I want to make my own PIC programemr! Or Ian needs to FREAKIN STOCK THE BP PROGRAMEMR FOR FUDGE SAKE..... GAWL.

comon ian, the programmers interface is beyond proof of concept. lets start providing the hardware and i bet we will see new developers come out the wood works sharing and helping develop the software!
User avatar
BrentBXR
Hero Member
Hero Member
 
Posts: 567
Joined: Sat Nov 19, 2011 5:09 pm
Location: Cleveland, Ohio

Re: Homemade Bus Pirate

Postby tech2077 » Thu Dec 08, 2011 9:22 pm

Agreed, would be great to have a avr based pic programmer, would reduce the cost of starting pic development, especially for those which use AVR before-hand.
tech2077
Newbie
Newbie
 
Posts: 7
Joined: Sun Jul 24, 2011 4:42 pm

Re: Homemade Bus Pirate

Postby BrentBXR » Thu Dec 08, 2011 9:48 pm

like me! im fluent in AVRs and have tons laying around but want to get into PICS and AVRs. So this solution is perfect for me.
User avatar
BrentBXR
Hero Member
Hero Member
 
Posts: 567
Joined: Sat Nov 19, 2011 5:09 pm
Location: Cleveland, Ohio

Re: AVR based PIC programmer

Postby dmmedia » Fri Dec 09, 2011 5:25 pm

Yes, exactly the same problem. Free PCB built Bus Pirate waits until I manage to get or do the PIC programmer and I thought about some JDM-like circuit through the FT232 convertor IC, but AVR based programmer would save a lot of time, since I have already an Arduino and several AVR chips as well. Please, share your work, if you have such an intention.
dmmedia
Newbie
Newbie
 
Posts: 11
Joined: Fri Dec 09, 2011 5:19 pm

Re: Homemade Bus Pirate

Postby BrentBXR » Fri Dec 09, 2011 6:35 pm

frozj disappeared.... sucks I wanted that circuit.. I knew it was to good to be true; I doubt its real; he made it awful fast... I would need more time researching let alone building in that time.
User avatar
BrentBXR
Hero Member
Hero Member
 
Posts: 567
Joined: Sat Nov 19, 2011 5:09 pm
Location: Cleveland, Ohio

Re: Homemade Bus Pirate

Postby dpropicweb » Fri Dec 09, 2011 6:45 pm

"awful fast" was 3 weeks...

Anyway, did you contact him as he suggested?
dpropicweb
Sr. Member
Sr. Member
 
Posts: 261
Joined: Thu Apr 22, 2010 5:44 am
Location: The LAN Downunder

Re: Homemade Bus Pirate

Postby BrentBXR » Fri Dec 09, 2011 6:58 pm

I suppose it was faster then I originally thought; now that I double checked the post dates.

And yes, no reply.
User avatar
BrentBXR
Hero Member
Hero Member
 
Posts: 567
Joined: Sat Nov 19, 2011 5:09 pm
Location: Cleveland, Ohio

Re: Homemade Bus Pirate

Postby dmmedia » Mon Dec 12, 2011 1:16 pm

Yoohoo! Jozef has replied in PM that he will post something soon. Great!
dmmedia
Newbie
Newbie
 
Posts: 11
Joined: Fri Dec 09, 2011 5:19 pm

Re: Homemade Bus Pirate

Postby Fezoj » Sat Dec 17, 2011 11:40 am

Hello,

I uploaded firmware for ATMEGA8 and software at github: https://github.com/JoKr2/ApProg
I created this programmer according to following spec. http://ww1.microchip.com/downloads/en/D ... 39768d.pdf
My goal was to burn in bootloader into my homemade BusPirate. I never worked with PICs before so all I can tell is that programmer works for PIC24FJXXXGAXXX devices.

The PCB is not necessary - I used just few wires on BreadBoard:
Image

Note that MCLR wire is hidden under the BusPirate PCB. This wire is connected to PORTB pin 2.

I created a schematics because circuit is not clear from above picture:
Image

Enjoy :)
Last edited by Fezoj on Sun Dec 18, 2011 3:27 am, edited 1 time in total.
Fezoj
Newbie
Newbie
 
Posts: 16
Joined: Sun Nov 13, 2011 8:42 am

Next

Return to Bus Pirate Development

cron