# Universal Programmer

**URL:** <https://forum.buspirate.com/t/universal-programmer/1385>\
**Category:** Development\
**Created:** [January 6, 2026, 2:55pm UTC](https://forum.buspirate.com/t/universal-programmer/1385 "2026-01-06T14:55:57Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 6, 2026, 2:55pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/1 "2026-01-06T14:55:57Z")

</div>

![20260105_140131](https://forum.buspirate.com/uploads/default/original/2X/4/46cf31f65c242a96d082d4998df8e9ecda5f78b0.jpeg)

As teased on social media, @smdprutser built hardware and added a new `up` command in SPI mode.

I’m trying to get a handle on all the features, leaving useful documentation here.

Command actions:

- test (test programmer pins/IO expanders)
- vtest (test voltage)
- til305 (the LED demo from social media)
- dram (supporting 4164, 41256)
- logic (test patterns to verify 14/16/20/24/28/40 40xx and 74xx logic chips)
- buffer (load a file into the buffer for programming, with 128K limitation)
- eeprom (read/write/erase/id various 27xx type EEPROMs, high voltage types)

Links:

- [Logic database](https://github.com/Johnlon/integrated-circuit-tester)
- [Generate Logic XML](https://github.com/radiomanV/TL866/tree/master/InfoIcDump)
- [up command git branch](https://github.com/DangerousPrototypes/BusPirate5-firmware/tree/up)

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 6, 2026, 3:16pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/2 "2026-01-06T15:16:59Z")

</div>

Hardware notes:

I would put a 4.7v zener on the VPP feedback to bus pirate and ensure the resistors are scaled in a way the feedback should always be less than 4.3 volts. See for example the circuit of the DDR4 breakout.

The current device hardware is 32 pins, so 40 pin stuff is out of the question? Adding a 3rd IO expander would be able to do all 40 pins, plus one 8 bit port left over for controlling stuff on the board (VPP, VCC). That would free two pins to set the VPP/VCC via PWM margining.

---

<div class="post-metadata">

**Author:** ![smdprutser](https://forum.buspirate.com/user_avatar/forum.buspirate.com/smdprutser/32/4575_2.png) [@smdprutser](https://forum.buspirate.com/u/smdprutser)\
**Post date:** [January 6, 2026, 3:35pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/3 "2026-01-06T15:35:25Z")

</div>

32 bit is the sweet spot as the mcu is also 32 bits, so every operation is quite easy to do with standard c operations. adding more pins require more fiddeling.

Also the overhead is quite high to address the io expanders (a 32pin read write is 16 bytes on the SPI bus. 40 (or 48) pin would add 8 writes op the SPI bus. Speed will drop quite a bit.

Will add the zener later on. good catch.

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 6, 2026, 4:14pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/4 "2026-01-06T16:14:29Z")

</div>

Ah sure, good point about the extra 16 bits of write.

SPI DACs could be used to margin the VPP/VCC. For example the [MCP49x](https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/22250A.pdf), but then it needs an additional CS pin we don’t have.

Could gain two pins by also adding SPI ADCs and remove VCCH and VPPH, then replace with CS pins for ADC and DAC… but that’s getting way out there.

---

<div class="post-metadata">

**Author:** ![smdprutser](https://forum.buspirate.com/user_avatar/forum.buspirate.com/smdprutser/32/4575_2.png) [@smdprutser](https://forum.buspirate.com/u/smdprutser)\
**Post date:** [January 6, 2026, 4:58pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/5 "2026-01-06T16:58:39Z")

</div>

they are bytes no bits 😘 But still significant difference.

Love to develop my own silicon to minimize the overhead..

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 6, 2026, 7:29pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/6 "2026-01-06T19:29:02Z")

</div>

Could use a USB power delivery trigger to provide a PPS voltage from a USB plug. Still needs 2 pins and you only get one voltage.

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 13, 2026, 12:37pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/7 "2026-01-13T12:37:55Z")

</div>

Seems like there’s some new additions:

- spirom
- display (dl1414, til305)
- ram (4164, 41256, 6264, 62256, 621024)

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 13, 2026, 2:49pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/8 "2026-01-13T14:49:40Z")

</div>

![image](https://forum.buspirate.com/uploads/default/original/2X/2/2e2d6d8f6935204bcc5de034b5e106bfabcc2dbe.png)

Since we have the names of the logic ICs in a nice struct we can print the available devices when the type is unknown. Not pretty yet, that needs a bot more work. Maybe tabs?

 ![image](https://forum.buspirate.com/uploads/default/original/2X/2/2acfc70f75e41b9809523d46e90e79ae2dc6f794.png)

Added some basic help. It doesn’t cover a fraction of the sub-actions, but it helps show some of the available features.

---

<div class="post-metadata">

**Author:** ![tayken](https://forum.buspirate.com/user_avatar/forum.buspirate.com/tayken/32/498_2.png) [@tayken](https://forum.buspirate.com/u/tayken)\
**Post date:** [January 14, 2026, 3:11pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/9 "2026-01-14T15:11:11Z")

</div>

> Since we have the names of the logic ICs in a nice struct we can print the available devices when the type is unknown. Not pretty yet, that needs a bot more work. Maybe tabs?

Maybe split them up by CMOS vs TTL first, then group them by function (logic gate, counter etc.) similar to the category on [this list](https://en.wikipedia.org/wiki/List_of_4000-series_integrated_circuits#Parts_list)? This may be more useful than grouping by pin count only?

---

<div class="post-metadata">

**Author:** ![Dreg](https://forum.buspirate.com/user_avatar/forum.buspirate.com/dreg/32/175_2.png) [@Dreg](https://forum.buspirate.com/u/Dreg)\
**Post date:** [January 14, 2026, 8:18pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/10 "2026-01-14T20:18:55Z")

</div>

Thx @smdprutser & @ian Being able to buy a handful of different chips from AliExpress and learn electronics and hardware hacking at low cost with that programmer sounds like a great idea to me. I use the aux cables in parallel a lot in the BPV6 trainings, we’re hacking with commands, and at the same time we watch on the logic analyzer what that command is doing underneath. It’s super educational.

Also, since it has so many free physical slots, I can make auxiliary boards that sit on top of the ZIF for lots of things. I love the UP idea.

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [January 14, 2026, 8:36pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/11 "2026-01-14T20:36:16Z")

</div>

It is an amazing project from @smdprutser!

---

<div class="post-metadata">

**Author:** ![smdprutser](https://forum.buspirate.com/user_avatar/forum.buspirate.com/smdprutser/32/4575_2.png) [@smdprutser](https://forum.buspirate.com/u/smdprutser)\
**Post date:** [January 14, 2026, 9:27pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/12 "2026-01-14T21:27:52Z")

</div>

Thanks @dreg ! we are expecting to get the ‘almost’ final hardware next week and move from there.

feel free to share your ideas for adapter boards. ‘UP’ can provide 32 (flexible) IO’s with flexible Vio (iirc 1.8v upto 5v) and multiple (other) supplyvoltages.

---

<div class="post-metadata">

**Author:** ![smdprutser](https://forum.buspirate.com/user_avatar/forum.buspirate.com/smdprutser/32/4575_2.png) [@smdprutser](https://forum.buspirate.com/u/smdprutser)\
**Post date:** [January 14, 2026, 9:33pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/13 "2026-01-14T21:33:14Z")

</div>

@tayken you are still around and still got your old avatar! Sup…?

---

<div class="post-metadata">

**Author:** ![Dreg](https://forum.buspirate.com/user_avatar/forum.buspirate.com/dreg/32/175_2.png) [@Dreg](https://forum.buspirate.com/u/Dreg)\
**Post date:** [January 14, 2026, 9:47pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/14 "2026-01-14T21:47:04Z")

</div>

One of the most useful things about this kind of ZIF-boards is that you can also make an adapter with a custom TH+IDCx-board (for polarity), and then use a Pomona-style clip or some custom pogo-thing-setup to probe external PCBs and do things there, both for hardware hacking and for my own PCBs.

 ![image](https://forum.buspirate.com/uploads/default/original/2X/2/29ff8df6c21d4bf1f8f63235d35dd880fc91f718.jpeg)

---

<div class="post-metadata">

**Author:** ![ian](https://forum.buspirate.com/user_avatar/forum.buspirate.com/ian/32/28_2.png) [@ian](https://forum.buspirate.com/u/ian)\
**Post date:** [December 4, 2026, 9:11am UTC](https://forum.buspirate.com/t/universal-programmer/1385/15 "2026-12-04T09:11:09Z")

</div>

![image](https://forum.buspirate.com/uploads/default/original/2X/1/1f97eb54a8e139e66b01e35c41cfcf37c6bc9d68.png)

I ported UP to the new help/command line hinting framework, it is now in main.

- Changed prompt text to UNIPROG
- Commented out PSU on startup, we need to gate that with a prompt to avoid damage to any hardware.
- [Documentation created](https://github.com/DangerousPrototypes/BusPirate5-firmware/blob/main/docs/modes/up_mode.md), but not yet added to docs

---

<div class="post-metadata">

**Author:** ![smdprutser](https://forum.buspirate.com/user_avatar/forum.buspirate.com/smdprutser/32/4575_2.png) [@smdprutser](https://forum.buspirate.com/u/smdprutser)\
**Post date:** [December 4, 2026, 5:50pm UTC](https://forum.buspirate.com/t/universal-programmer/1385/16 "2026-12-04T17:50:43Z")

</div>

wow you did an amazing job on the documentation !
