Olimex STM32-P107 RevB and LWIP

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

gstraccia
Posts: 2
Joined: Sun Mar 08, 2020 8:45 pm

Olimex STM32-P107 RevB and LWIP

Postby gstraccia » Sun Mar 08, 2020 9:03 pm

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.

User avatar
Giovanni
Site Admin
Posts: 12747
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 694 times
Been thanked: 572 times
Contact:

Re: Olimex STM32-P107 RevB and LWIP

Postby Giovanni » Sun Mar 08, 2020 9:12 pm

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

gstraccia
Posts: 2
Joined: Sun Mar 08, 2020 8:45 pm

Re: Olimex STM32-P107 RevB and LWIP

Postby gstraccia » Sun Mar 08, 2020 9:23 pm

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.


Return to “STM32 Support”

Who is online

Users browsing this forum: Google [Bot] and 5 guests