Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] ATTiny programming and debug

2010-09-03 by Dave McLaughlin

Hi Philippe,
 
You need to check the datasheet for the intended devices you want to use.
Some of the later Tiny devices have debug wire to allow in circuit software
debugging. This uses the reset line so no IO lines need be used up.
 
As for sharing the I2C with programming, you can most often get away with
fitting a resistor in series with the I2C device to allow the lines to be
used for programming. 
 
As you will only be using the programming port for production, this won't be
an issue for you as during development the programming would be done via the
DebugWire interface so your IO pins will be fully available during source
level debugging.
 
Dave.
 
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Philippe Habib
Sent: 03 September 2010 10:48
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] ATTiny programming and debug
 
  
I'm considering an ATTiny part but I'm not totally clear on the 
programming and if source level debug is supported. My reason for the 
ATTiny is the physical size I can have is very constrained.

The programming data line is also the I2C data line. Does that mean 
no I2C if I want in circuit programming?

Is source level debugging possible on the part?

I'm guessing that I can't have source level debug and I2C at the same 
time since they share a pin.

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.851 / Virus Database: 271.1.1/3107 - Release Date: 09/03/10
01:50:00


[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.