Bus Pirate as STK500 compatible programmer?

Via Hack a Day comes word of a USB PIC-based STK500 AVR programmer. The really interesting part of this project, to us, is the stk500.c source that handles the programming interface. It should be potable to the Bus Pirate as a separate firmware, or as a mode in the existing firmware.

AVRDude already supports the Bus Pirate as a programmer, but STK500 emulation would make it instantly compatible with AVRStudio and a ton of existing applications.

Tags: , , ,

  1. i saw this over a hackaday and i think its a great idea.

    when can i have one :)

    Reply

  2. Good idea. Hopefully it’s available when my preorder 3 gets here.

    Reply

  3. Q? would the PIC on the BP have enough space to host a STK500 amongst the other current goodies?

    AND What about a PIC programming option (pickit) too.
    then you’d only need one programmer?

    Reply

    1. @Tarik – you’re right, it’s getting pretty tight in there. The STK500 code doesn’t look like much though, so maybe if I use the existing buffer systems and just implement the command handler it won’t be too bad. If it doesn’t fit, we can make it an option firmware that you can bootload into the Bus Pirate when you need it.

      If there’s code that I can adapt, I don’t mind adding PIC programming, but I have no desire to write it on my own :)

      Reply

  4. Test source is in the SVN, it compiles but I haven’t tested it. Looking at the source, I think it might only support ATMEGA128 at the moment. I’ll test it with ATTINY13A and ATMEGA128 and winavr later today.

    Reply