|
Hi! I encountered a problem while trying to customize the BSP for the Olimex SAM9-L9260 board (Similar to the original Atmel kit but this uses a KSZ8721BL PHY instead of the DM9161). I modified the Chip ID and the communication between the PHY and the ARM looks fine. Register reading and writing works. I removed a small part of the code which used registers not present in the KS8721. EBOOT starts, even autonegotiate works (passes OK). When it tries to sent the BOOTME messages it seems nothing happens. The LED on the connector blinks when the BOOTME is sent according to the debug screen. Even the LED on my computer blinks but the packet seems to be lost. (Checked with Wireshark) When I send a packet from the computer to the board, the LED on the board blinks! According to the status registers the packet is sent without error (TCOMP). What did I do wrong? I tried both RMII and MII also, no results. The PHY is not in powerdown. Autonegotiation runs fine so it can TX/RX (does it?). PHY register access works fine (so it looks like no pullup-pulldown problem). Register settings seem fine. The packet sent looks correct when dumped to debug screen. I managed to get the BSP working on the SAM9261 Olimex board (BOOTME, etc works fine, but is uses a different ethernet chip). This beats me.
Thanks! KV
|