Yahoo Groups archive

AVR-Chat

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

Message

DebugWire question..

2005-12-28 by Micah Stevens

Hi, 
 
 I'm working on a design utilizing an ATMega88, and it's pretty full up. The 
DebugWire interface is what I would like to use to program the chip in 
production, but to turn on that interface, apparently you need to set 
something using the serial interface. 
 
 However, I need to use one pin of the serial interface(MOSI I think) as a PWM 
output. I'm concerned that during normal operation, any sort of header would 
just turn into an antenna at the PWM frequencies I'm using. 
 
 Has anyone run into this and discovered a convenient way to do double duty in 
this scenario, or am I hosed? 
 
 I'm not opposed to going to just a Serial programmer, but the same situation 
applies there as the same pin is being used. 
 
 Thank you for any suggestions, 
 -Micah

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.