EmbeddedRelated.com
Forums

Use Reset pin as IO

Started by rahmatoolah abedini January 19, 2008
Hi friend:
I face with a problem when I want to use Reset pins as IO in ATMEGA8. For this means Ive marked RSTDISBL fuse bit in programming stage in Codevision program with ISP STK 200/300 , but after programming process my programmed IC didnt work at all.
Best Regards
Ali


---------------------------------
Never miss a thing. Make Yahoo your homepage.





What did you set the other code bits to? The very first mistake I made in
programming an AVR was to set the oscillator bits incorrectly. Actually,
I didn't even bother looking and the programmer set them to the wrong
bits.

I only made that mistake once.
:-)

Zack

On Fri, 18 Jan 2008, rahmatoolah abedini wrote:

> Hi friend:
> I face with a problem when I want to use Reset pins as IO in ATMEGA8. For this means Ive marked RSTDISBL fuse bit in programming stage in Codevision program with ISP STK 200/300 , but after programming process my programmed IC didnt work at all.
> Best Regards
> Ali
>





Dear freind

stk 200/300 programmers use Serial Programming method in which RESET pin is needed for programming proccess. so I think due to u disabled that pin, the programming procedure failed at all. Even if the programmer could did the right programming, your IC was not be able to be programmed again by that kind of programmer. I sugget to use a parallel programmer for your task. you may find more topics about parallel programmers on the web.
Regards

Navid Zeraatkar

----- Original Message ----
From: rahmatoolah abedini
To: a...
Sent: Saturday, January 19, 2008 11:04:58 AM
Subject: [AVR club] Use Reset pin as IO

Hi friend:
I face with a problem when I want to use Reset pins as IO in ATMEGA8. For this means Ive marked RSTDISBL fuse bit in programming stage in Codevision program with ISP STK 200/300 , but after programming process my programmed IC didnt work at all.
Best Regards
Ali

------------ --------- --------- ---
Never miss a thing. Make Yahoo your homepage.



____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ




If you are using serial programming, then you can't use reset pin as IO.
If you disabled reset pin you can't further program by serial.

now you need to enable reset pin by parallel programming.

--- In a..., Zack Widup wrote:
> What did you set the other code bits to? The very first mistake I
made in
> programming an AVR was to set the oscillator bits incorrectly.
Actually,
> I didn't even bother looking and the programmer set them to the wrong
> bits.
>
> I only made that mistake once.
> :-)
>
> Zack
>
> On Fri, 18 Jan 2008, rahmatoolah abedini wrote:
>
> > Hi friend:
> > I face with a problem when I want to use Reset pins as IO in
ATMEGA8. For this means I've marked RSTDISBL fuse bit in programming
stage in Codevision program with ISP STK 200/300 , but after
programming process my programmed IC didn't work at all.
> > Best Regards
> > Ali
> >
>
Parallel programmers are rather expensive in comparison with home
made STK 200/300, and one may choose to buy another uC instead!

Now I have 3 AVR uC on my desk and their fusebits are set to run with
external clock. I know an external clock source can bring them back
to life using the same STK 200/300 programmer, but the problem is
that I don't know how to do this. What is the right level of peack to
peack voltage and the waveform? can a 555 make such a clock source?
How can I find the circuit diagram on the internet?
--- In a..., Navid Zeraatkar
wrote:
>
> Dear freind
>
> stk 200/300 programmers use Serial Programming method in which
RESET pin is needed for programming proccess. so I think due to u
disabled that pin, the programming procedure failed at all. Even if
the programmer could did the right programming, your IC was not be
able to be programmed again by that kind of programmer. I sugget to
use a parallel programmer for your task. you may find more topics
about parallel programmers on the web.
> Regards
>
> Navid Zeraatkar
>
>
>
> ----- Original Message ----
> From: rahmatoolah abedini
> To: a...
> Sent: Saturday, January 19, 2008 11:04:58 AM
> Subject: [AVR club] Use Reset pin as IO
>
> Hi friend:
> I face with a problem when I want to use Reset pins as IO in
ATMEGA8. For this means Ive marked RSTDISBL fuse bit in programming
stage in Codevision program with ISP STK 200/300 , but after
programming process my programmed IC didnt work at all.
> Best Regards
> Ali
>
> ------------ --------- --------- ---
> Never miss a thing. Make Yahoo your homepage.
>
>
>
>
>
>
>
>
______________________________________________________________________
______________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
>
>
>