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 two short videos (registration required) highlighting:

System Workbench for STM32

You are viewing a reply to USB and L4 discovery board  

USB and L4 discovery board

I have use variuos usb devcie (cdc/hid/msc) with various stm32f4 but always via CubeMX and always worked almost of the box
So it”s worth ginving iy a try.

iti s quite easy to miss one init and break everything by copy pastign only part of exmaple it is wize to use the exampel as start point
What about clok ? Are your sure about your 48MHz? if that clcok is wrong usb will not work.
Do you have usb ip clk enable ?
do you have the all the PCD and USB LL file right ?
Not that “fs id” is needed only if you want to suport “otg”, the minimal requirement for devcie only (self pwoered) is DP/DM all other are optional.

if the base usb is ok at least you should get a first Irq (on cable plug ) after that much more need to happen to compelte the enumeration .

Yes usb code from L4689 eval shalll work on dsicovery (same mcu)
note that debuging usb emueration and transsfer comonly lead to enumeration or xfer failure due to short time out on the host side but its still help udedrtanding how things going on device.


Newest Forum Posts

  1. Firmware Installation Process Issue by valkundesuyash@gmail.com, 2019-12-12 16:14
  2. STM32F746-Discovery by stanandrzej, 2019-12-12 13:55
  3. Can't debug by deksnys4life, 2019-12-12 08:16
  4. Can't download StdPeriph library during project creation by klopi90, 2019-12-09 08:46
  5. Building project - subdir.mk error by nupurkohadkar1997, 2019-12-06 18:10
  6. openOCD Wrong device detected by maxim221, 2019-12-06 12:32
  7. STM32429I_Discovery board with printf float support problem by johannes.visser@msc-technologies.eu, 2019-12-05 16:08
  8. malloc heap issue with CubeMX Project by johannes.visser@msc-technologies.eu, 2019-12-05 16:04
  9. Debugger not working by Daniel Jack Morley, 2019-11-27 21:46
  10. Compiler change problem by Lucian Pop, 2019-11-20 17:41

Last-Modified Blogs