tpiprogtpiprog; V 1; 2010-12-15; communicating with microcontrollers over the TPI (Tiny Programming Interface)
Synopsis and descriptiontpiprog [--direct-port=port] [--ppdev=device] [--calib-us] [calib-n=n] [--clock-t=T] [--hi-voltage] [--stat-progress] [--stat-flow] [--ignore-errors] [--interactive] [command ...]
The only microcontrollers known to me to use the TPI is Atmel's ATtiny4, ATtiny5, ATtiny9 and ATtiny10 family. The hardware dongle supports both SMD and DIP chips as well as connector for in situ programming. Downloading and compilingSource code and manual pages: Requirements:
LPT dongleThe LPT adapter for ATtiny4/5/9/10 allows both programming and testing the chip. All four outputs can be controlled individually. Additionally, the PB3 pin (!RESET) may be powered from a 12-volt source to allow the high voltage programming. It is based on the 74LS125 tri-state TTL buffer. The board requires an external 6-12 V power supply for programming. The standard LPT outputs do not provide enough current to support flash write operations even though entering TPI mode and reading from memories is possible. Both SOT23 and DIP8 connectors are available, as well as the 6-pin row connector for programming outside of the board. Mounting the SMD package is a bit tricky since you will need something to hold the chip in its place. I use a paper clip for that. Board layoutElements needed to build the dongle:
PCB
Bottom layer:
Top layer:
Via placement:
|
2011-11-08 Matlib |