C programmer needed for PIC support!

Posted on Wednesday, November 25th, 2009 in Bus Pirate, help by Ian

We’re looking for a C programmer who can add serial port output to usbpicprog. It’s all that stands in the way of bringing PIC 12F/16F/18F/ds30 programming to the Bus Pirate*.

usbpicprog is an open source multi-platform programmer that uses wxWidgets toolkit and libusb. It currently sends byte commands to a USB HID driver. Your goal, should you accept it, is to send output to a serial port instead.

We’ll send the author a PIC programming charge pump accessory board, and another Bus Pirate goodie that’s not yet public.

*You’ll need a 13volt supply and simple switch too, we’ll release a few simple circuits that will work.

This entry was posted on Wednesday, November 25th, 2009 at 12:27 pm and is filed under Bus Pirate, help. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

8 Responses to “C programmer needed for PIC support!”

  1. Hi, I think it’s a good idea to create a fork of usbpicprog which supports the serial port. (Not even such a big issue I guess)
    Maybe we can share code so that it will be possible to program avr’s as well with usbpicprog!

  2. pppd says:

    What’s the deadline? I think it’s a fairly easy task and you could easily go without the HW if there is anyone who could test it on daily basis.

  3. Ian says:

    Hi Frans, thanks for joining us. Your project is great, thank you for all the hard work.

    I’d be happy to help you port the AVR programmer firmware, there’s only a few defines and registers to change. As you said on the survey page, it would only take one extra pin from the ICSP header to adapt your hardware.

    The Bus Pirate is 3.3volts, so 24F/ds33/18FxxJxx programming should all be possible. I’d like to add the firmware side of that after the other part is working.

    @pppd – No deadline, whenever it’s done. I’d do it myself, and eventually will if no one else does, but I’m not a PC-side programmer. I’m all set up for microcontroller development, but in cross-platform PC software I’m totally lost.

  4. pppd says:

    If nobody starts working on this until late December/January please let me know and I think I could do it. I’m graduating from college now and I have lots of other stuff to do that’s why I can’t start working on it immediately.

  5. Sean Nelson says:

    That sounds easy! I’ll take a look at the source code, and if it seems easy enough I could add the serial interface.

  6. Sean Nelson says:

    I’ve actually added serial support to it already, but instead of making a fork I think it will be better to add a way to switch between USB and serial interfaces. I’ve done all the “splitting” of the code for both interfaces and added a gui switch to choose interfaces. As soon as I finish, i’ll post a patch against SVN.

  7. Sean Nelson says:

    Ok. I’ve done as much as I could without having hardware to test. I have a patch for usbpicprog for Linux/Mac serial. I could add windows serial if need be. The patch is here:

  8. Ian says:

    Sean does an amazing job as usual. Thank you so much, excellent work!

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Mikee: Whoo Hoo!
  • Peter: Howdy!
  • Kurt: It doesn't matter who my father was; it matters who I remember he was.
  • Max: Hey, good job quoting as an abstract something the author writes about someone else's project... For the record, I do appreciate the proper attention to...
  • imqqmi: Also interesting to note that arduino's use the DTR signal to reset the device. I found this out because repetier was able to do this...