DSPRelated.com
Forums

AW: Help

Started by Christoph Ripcke July 27, 2001
Hi !

Have a try with the folllowing:

*(int*)0 = 1;

The write of a '1' to bit 0 of SYSCON (IOP 0) should reset the SHARC. At
least on the 21061 it works. (s.a. Apendix E.9 of SHARC user man. BITSRST)

regards
Christoph

-----Ursprgliche Nachricht-----
Von: Sundararaman Sivaraman [mailto:]
Gesendet: Dienstag, 24. Juli 2001 09:40
An:
Betreff: [adsp] Help Hi all,
iam working on a ADSP 21060 processor. Is there any
way to reset the processor thru software ? ie thru any
specified instruction or setting any particular bit in
a control register . A reply asap will be really
helpful to me.. thanks in advance

with regards
sundararaman sivaraman
Sasken Commn Technologies Limited
Bangalore, India

===== __________________________________________________ _____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/



Be aware that this will also wipe out the rest of the SYSCON register, which
will probably have catastrophic consequences...
Rather read back the SYSCON register values and OR in the 0x1, i.e.:
unsigned uSyscon = *(unsigned *)0x0;
uSyscon = uSyscon | 0x1;
(*(unsigned *)0x0) = uSyscon;

Cheers,
Clifford

Christoph Ripcke wrote:

> Hi !
>
> Have a try with the folllowing:
>
> *(int*)0 = 1;
>
> The write of a '1' to bit 0 of SYSCON (IOP 0) should reset the SHARC. At
> least on the 21061 it works. (s.a. Apendix E.9 of SHARC user man. BITSRST)
>
> regards
> Christoph
>
> -----Ursprgliche Nachricht-----
> Von: Sundararaman Sivaraman [mailto:]
> Gesendet: Dienstag, 24. Juli 2001 09:40
> An:
> Betreff: [adsp] Help
>
> Hi all,
> iam working on a ADSP 21060 processor. Is there any
> way to reset the processor thru software ? ie thru any
> specified instruction or setting any particular bit in
> a control register . A reply asap will be really
> helpful to me.. thanks in advance
>
> with regards
> sundararaman sivaraman
> Sasken Commn Technologies Limited
> Bangalore, India
>
> =====
>
> __________________________________________________
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
> this message will receive your answer. You need to do a "reply all" if you
> want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/


VCard
Clifford van Dyk <>

Design Engineer
Peralex Electronic Development

Peralex House
5 Dreyersdal Road
Bergvliet
Cape Town
Western Cape
7945
South Africa
Fax: +27-21-7123879
Home: +27-21-7152716
Work: +27-21-7120203