Author Topic: ISP MINI - yet another avr programmer  (Read 3668 times)

0 Members and 1 Guest are viewing this topic.

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
ISP MINI - yet another avr programmer
« on: October 06, 2015, 02:33:58 pm »
I'm unimpressed with most of the open or cheap AVR programmers. They're either limited to SPI, or big chunky affairs with multiple headers and jumpers. Typically not very well protected. Okay, mostly I'm just pissed I blew my mkii clone by connecting it wrong. Wasn't protected well enough and the microcontroller itself blew up. Couldn't find a replacement I really liked, so I'm going to NIH this shit. :-+

Here's my take on a small, open-hardware AVR programmer.

- Based on the existing LUFA mkii-clone firmware, I don't care to NIH that. Slightly modified, however.
- Supports SPI, TPI, PDI all out one connector, no messing around with multiple headers.
- Full target-powered level-shifting down to 1.2V to cover the full range of AVR voltages.
- Programming port is short-circuit and ESD protected. You should not be able to blow this up.
- Relatively small (40mm x 25mm); still built with nothing smaller than 0603.

Limitation: does not provide target power. I refuse to half-ass features, and there's no room in this design for proper target power will full protection as I would insist on having.

Known bug in rev 0: crystal footprint is too small. I stupidly assumed 12 MHz for the USB crystal, forgetting that the AVR USB by default wants 8 MHz. No 8 MHz crystals are available in that footprint. Workaround: solder leads of a PTH crystal to the pads. rev 1 will be fixed. I called it rev 0 for a reason. ;)

Regardless of interest, I'll make this available soon as a shared OSH Park project and DigiKey BOM for anyone to build themselves. If enough people think my "improved" take on this is worth the effort to care about yet another AVR programmer, I will definitely consider selling them, either as kits or fully built units.

Possible future additon: ISP MAXI. Larger, more complete version. Full target power, slightly different (more 'proper') implementation of signal muxing, overcurrent protection also on ground. Considering features: JTAG to support non-AVR Atmel chips, storage for firmware images to allow for field programming, some user IO or at least UART to the target to allow batch testing after programming.

Currently the BOM cost is $16, in low quantity.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: ISP MINI - yet another avr programmer
« Reply #1 on: October 06, 2015, 04:12:34 pm »
Schematic and PCB renders are now in the git repository.

Schematic (rev0)
PCB (rev0)

Repository: cpavlina/ispmini
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: ISP MINI - yet another avr programmer
« Reply #2 on: October 27, 2015, 06:45:37 pm »
Rev0 has been thoroughly tested and revised for rev1.

- Fix the DFU button, it didn't work.
- Make room for a full-sized crystal.
- Remove reverse-programming capability (connect another ISP device up its own port, for debug). Didn't work properly and isn't very important.
- Choose a proper case and reorganize the board to fit.

I'll have a bunch of boards made - anyone who wants a board and BOM, let me know. At the moment I'm not buying full parts or assembling, as I don't know how many people want them.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline lukaq

  • Regular Contributor
  • *
  • Posts: 78
  • Country: si
Re: ISP MINI - yet another avr programmer
« Reply #3 on: October 28, 2015, 08:27:09 am »
looks small, very good :-+

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: ISP MINI - yet another avr programmer
« Reply #4 on: October 28, 2015, 11:23:33 am »
The enclosure is a Hammond 1551NGY - cute little 35mm/1.4in square. (Alternatively, 1551NTBU which is translucent blue :-+)
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2196
Re: ISP MINI - yet another avr programmer
« Reply #5 on: October 28, 2015, 12:19:25 pm »
Looks cool c4757p.

I say forget powering the target - that is the target's job!
 

Offline Ysjoelfir

  • Frequent Contributor
  • **
  • Posts: 543
  • Country: de
Re: ISP MINI - yet another avr programmer
« Reply #6 on: October 28, 2015, 12:31:45 pm »
Nice little board! If the shipping to germany wouldn't probably cost a fortune, I would be quite interested in one of those boards.
Greetings, Kai \ Ysjoelfir
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: ISP MINI - yet another avr programmer
« Reply #7 on: October 28, 2015, 12:40:25 pm »
Looks cool c4757p.

I say forget powering the target - that is the target's job!

Thanks.

Indeed, which is why I didn't really bother on this - it's a cool thing to have in a select few cases, but not really something I need. It's something I'd expect on a "full-featured" programmer, but nothing smaller than that.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline georges80

  • Frequent Contributor
  • **
  • Posts: 916
  • Country: us
Re: ISP MINI - yet another avr programmer
« Reply #8 on: October 28, 2015, 03:01:20 pm »
Nice job, but I'm happy enough with Atmel's own little USB programmer. Cheap enough, fully supported and a small mod to add a little regulator board and a switch and it can provide target power (or not) for my boards.

I need target power since I program 100's of small boards at a time and having a single pogo pin based adapter that powers the board during programming is an essential feature to streamline the process.

For any debugging etc I use a ONE which was on sale a couple of years back for $200. Nice for debugwire debugging.

cheers,
george.
 

Offline c4757pTopic starter

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: ISP MINI - yet another avr programmer
« Reply #9 on: October 28, 2015, 04:54:16 pm »
Fair enough, I can see how that's useful for you :-+

I'm still considering doing a larger version in the future with all of that, except of course being supported by Atmel - obviously, if you can afford the official ones they're nice to have, but the good stuff is still a bit pricey.

Wonder if I could figure out how to get one debugging.
No longer active here - try the IRC channel if you just can't be without me :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf