STM32F767VI ETH MAC Problem
Posted: Mon Jan 08, 2018 1:47 pm
Hello,
I'm working on PPPoS using lwip and Chibios. I used Marco's code, which are described in post linked below.
Link to Marco's post
Before I started to work on PPPoS I had Chibios 17.6.3 and lwip 1.4.1 only with ETH connection and everything was OK.
Then I used lwip 2.0.0 and PPPoS as Marco in his project. PPPoS looks like it works well. But I have some problems with MAC communication.
In function lwipEthernetIFStart Marco create ethernetif_thread. This thread called function macStart. Consequently function mac_lld_start is called.
In this function processor stuck on this code:
When I comment this while, everything works fine. But I don't understand why.
Could anyone help me with this issue?
Thank you in advance,
Franek
I'm working on PPPoS using lwip and Chibios. I used Marco's code, which are described in post linked below.
Link to Marco's post
Before I started to work on PPPoS I had Chibios 17.6.3 and lwip 1.4.1 only with ETH connection and everything was OK.
Then I used lwip 2.0.0 and PPPoS as Marco in his project. PPPoS looks like it works well. But I have some problems with MAC communication.
In function lwipEthernetIFStart Marco create ethernetif_thread. This thread called function macStart. Consequently function mac_lld_start is called.
In this function processor stuck on this code:
Code: Select all
/* Transmit FIFO flush.*/
ETH->DMAOMR = ETH_DMAOMR_FTF;
while (ETH->DMAOMR & ETH_DMAOMR_FTF);When I comment this while, everything works fine. But I don't understand why.
Could anyone help me with this issue?
Thank you in advance,
Franek