[En-Nut-Discussion] More Olimex SAM7-EX256 success
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Sun Sep 10 23:27:36 CEST 2006
Hallo,
more success with the Olimex SAM7-EX256 :-)
with the "PHY_PD" jumper removed, the httpd aquires a DHCP address and
serves the http port as expected.
The "PHY_PD" jumper either permanent pulls done the PD_N pin of the KS8721
PHYS, connects it to PB18 ot leaves the the PD_N pin pulled up with 1k.
On the AT91SAM7X-EK, RESET_N of the DM9161A seems to be connect fixed to
PB18.
I tried to read the datasheets of the Davicom and Micrel Phys for a
difference in Reset behaviour, but didn't find something.
at91_emacs.c:EmacReset()
permanent pulls down PB18:
#ifdef PHY_PWRDN_BIT
/* Disable PHY power down. */
outr(EMAC_PIO_PER, _BV(PHY_PWRDN_BIT));
outr(EMAC_PIO_OER, _BV(PHY_PWRDN_BIT));
outr(EMAC_PIO_CODR, _BV(PHY_PWRDN_BIT));
#endif
I tried to add
#ifdef PHY_PWRDN_BIT
outr(EMAC_PIO_SODR, _BV(PHY_PWRDN_BIT));
#endif
at exit of at91_emacs.c:EmacReset(), but to no avail.
Any ideas?
Thanks
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
More information about the En-Nut-Discussion
mailing list