- 论坛徽章:
- 0
|
本帖最后由 louismaxwit 于 2011-03-05 14:49 编辑
Development Environment:
Ethernet chip: SMSC LAN91C111
SOC: OMAP3530
Environment: g-bios
The progress of project:
1.Finish reading ID of LAN91C.
According to the omap353x and LAN91C specs, we could found that followings:
a. The addressable of memory which GPMC controlled have been divided into eight banks.
b. try to chip-select bank1, so we should choose to set GPMC_CONFIG1_1 register and GPMC_CONFIG7_1 register.
c. set the chip-select base address and region size in GPMC_CONFIG7_1 register.
d. set the bank number which we choosed from MAC registers into the bank select register.
e. read the chip id from the corresponding register in LAN91C. |
|