Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Debugging a ATmega48V - what's going on?

2007-11-12 by John Samperi

At 06:14 AM 13/11/2007, you wrote:
>The only difference being the RF matching network.

I would start looking around here then. Do the pins in question
control transmission? Does the board work without the Dragon
otherwise?

If it only stops working when the Dragon is connected, I would
suspect RF getting into the reset line and killing the comms.

Do you have a pull up resistor on the reset line? I know they say
it is not required but won't hurt trying it out. 10K or 4K7.

>After working for quite a while, I discovered the offending code as
>"PORTB.0 = 1;".  All I am doing is setting the PORTB.0 pin high but as
>I single step through the code it will hang right here.

Another thought, does VCC remain good when both pins go high? Too much
current being drawn and the BOD kicks in momentarily? The oscillator
stops or misses beats?


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

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.