Page 1 of 1

Olimex STM32-P107 RevB and LWIP

Posted: Sun Mar 08, 2020 9:03 pm
by gstraccia
Hi all.

I'm trying to resurrect my old Olimex STM32-P107 Rev B board.

For that reason i've download the full chibistudio package and
imported in eclipse the "workspace191".
I've seen that the reference board is the release A:

#define BOARD_NAME "Olimex STM32-P107 Rev.A"

Therefore,to activate the lwip stack, i've modifyed in board.h
the define to my true physical device KS8721BL:

#define BOARD_PHY_ID MII_KS8721_ID

Now after recompiled, i see a blinking led on the board,
the green and yellow leds on my ethernet connector are on,
but i can't ping or browse my board.

Do i need to change some other definition in the code?

Voster,
G.

Re: Olimex STM32-P107 RevB and LWIP

Posted: Sun Mar 08, 2020 9:12 pm
by Giovanni
Hi,

I haven't used that board for ages, you need to verify if this rev B is compatible with rev A, some GPIOs could be different, clocks could be different too. If so then board files would need an update.

Giovanni

Re: Olimex STM32-P107 RevB and LWIP

Posted: Sun Mar 08, 2020 9:23 pm
by gstraccia
The only relevant difference that i see - apart the phy chip -
is in the ETH_RMII_REF_CLK on pin PA2.

In REv A this pin wan't used.