[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Uisp-dev] Failed to enter programming mode.
From: |
Theodore A. Roth |
Subject: |
Re: [Uisp-dev] Failed to enter programming mode. |
Date: |
Tue, 25 Nov 2003 11:26:29 -0800 (PST) |
On Mon, 24 Nov 2003, Harald Vogt wrote:
> I get this error message when trying to upload a program. I have an AVR ISP
> programmer. When I run (on Linux):
>
> $ uisp -v=4 -mode=s -dprog=stk500 -dpart=ATmega128 --upload if=helloworld.hex
>
> I get the output:
>
> Transmit: { 0 [30] [20] }
> Receive: { . [14] . [10] }
> Transmit: { B [42] . [b2] . [00] . [00] . [01] . [01] . [01] . [01] . [03]
> . [ff] . [ff] . [ff] . [ff] . [01] . [00] . [10] . [00] . [00] . [02] .
> [00] . [00] [20] }
> Receive: { . [14] . [10] }
> Transmit: { A [41] . [82] [20] }
> Receive: { . [14] . [0e] . [10] }
> Transmit: { A [41] . [81] [20] }
> Receive: { . [14] . [01] . [10] }
> Firmware Version: 1.14
> Transmit: { E [45] . [04] . [08] . [d7] . [a0] . [00] [20] }
> Receive: { . [14] . [10] }
> Transmit: { P [50] [20] }
> Receive: { . [14] }
> Receive: { . [11] }
> Failed to enter programming mode.
>
> I know that it has worked at some point. But I don't remember what I've
> changed since then... Does anybody know a fix for this problem?
There's a lot of things that can cause this problem.
The most obvious is that the 6pin isp header isn't connected properly.
If you are using a skt501, you need to make sure that jumpers for
Vtarget etc are setup right.
In most of the cases I've seen, it was a connector problem.
BTW, what's the -mode=s option supposed to do? It's not in the cvs
cource as far as I can tell.
Ted Roth