anielshri / stm32h745_ethernet Goto Github PK
View Code? Open in Web Editor NEWEthernet on STM32H745 using FreeRTOS and LWIP
License: MIT License
Ethernet on STM32H745 using FreeRTOS and LWIP
License: MIT License
First off, thanks for this, no doubt saved me a tonne of time messing about.
I just had one thing missing after following the guide which looking back at it i see you had set but seemingly not listed in the config steps.
CubeMX creates config where Middleware->FREERTOS_M7->Config Parameters(tab)->LIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY deafults to 5
and System Core->NVIC1->NVIC(tab)->Ether Global Priority defaults to 0. This results in calls to osDelay never returning, and sitting in vPortValidateInterruptPriority().
Without this step the DHCP server sees a Request, sends an Offer, but then the board hangs and never sends an ACK, won't reply to pings, and indeed any call to osDelay() just gets stuck as above.
I also had to disable USB device which was enabled by default and prevented setting the clock configuration to anything remotely fast - as the boards are not fitted with an HSE (X2) and thus rely on the HSI by default. As I will be using USB eventually too I have ordered an XTAL for X2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.