fjpanag opened a new pull request, #8943:
URL: https://github.com/apache/nuttx/pull/8943

   ## Summary
   
   Fixes the issue reported in #8576.
   
   Essentially, when "abnormal" events occurred, the datasheet dictates that 
the MAC must be reset.
   However, there is no error-handling at all.
   
   This PR will check the relevant register, and execute the MAC reset, as 
needed.
   
   ## Impact
   
   STM32 Ethernet operations should be more reliable now.
   
   ## Testing
   
   I couldn't "force" this interrupt to trigger, but I used my debugger to 
create such an "artificial" event, and force this code branch to be taken.
   
   Indeed the MAC resets. After that, network operations are resumed and 
everything seems normal.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to