[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] stk500 and firmware 1.14
From: |
Theodore A. Roth |
Subject: |
Re: [avrdude-dev] stk500 and firmware 1.14 |
Date: |
Wed, 19 Feb 2003 22:07:33 -0800 (PST) |
Hi,
I just got done adding a -dparallel option to uisp, so I thought I'd pass on
my results here.
>From stk500.c:
434 buf[1] = p->devicecode;
435 buf[2] = 0; /* device revision */
436 buf[3] = 0; /* parallel and serial programming */
437 buf[4] = 1; /* full parallel interface */
438 buf[5] = 1; /* polling supported - XXX need this in config file */
439 buf[6] = 1; /* programming is self-timed - XXX need in config file */
Setting buf[3] to 1 forces the stk500 to use hi-v parallel programming when
accessing the device. I stuck an old 8515 into the stk500, erased it with
serial ISP to be sure it still works. Then I wired it up for hi-v par and
was able to upload a program to it.
This should probably be added to the config file of avrdude for parts which
don't have serial ISP functionality. Look at the attached Devices.h (from
Atmel appnote AVR061 avr061.zip file) and you can see which devices this is
(serMP = FALSE).
Another config item might be whether the device has a Full hi-v parallel
support or not. Some devices (8-pins ones I think) can't use hi-v
parallel programming but can use hi-v serial programming. This would be
buf[4] in avrdude, I believe.
Ted
Devices.h
Description: Text document
- [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, E. Weddington, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/19
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14,
Theodore A. Roth <=
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Brian Dean, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Joerg Wunsch, 2003/02/20
- Re: [avrdude-dev] stk500 and firmware 1.14, Theodore A. Roth, 2003/02/20