Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


TxDMA on STM32F4 hangs

I’m not using Cube but my own HAL. My ethernet module becomes “mute”: DMA transmission stops and I’m unable to recover. I have setup a break point inside the interrupt handler, the portion processing abnormal interrupt or AIS(15) bit in DMASR. The cause of AIS is a fatal bus error status FBES(13), the value of error bits status EBS(25:23) bits is 3. I was unable to find ANY code anywhere to see how to deal with this event.
The test program I’m running is just receives frames with my mac address and echoes the back to sender. No protocols, just raw echo. Wireshark is monitoring.
When incomming traffic is in kHz this event happens. If below - no problem. The working theory is whenever incoming frame is received during TxDMA in progress it gets stopped...forever.

Thanks in advance,