OpenSTM workbench frustration
Bernard, thanks for the pointers and yes, I have tried migrating with/without startup files. And please don't take my frustration as anything more than that.
I now have 4 discovery boards with the most recent, a 469, arriving today. The F7, F429 and F469 all exhibit the same problem when trying to build the most basic HAL USB VCP program. They will not enumerate when plugged into the PC. I don't have this problem with the other tool chain I built, just the Ac6. And it doesn't make any sense at all because the startup files are near identical in function if not in coding. Set that aside. What I really need is an example that works from cube to Ac6 that send/receives data using VCP. I have built the code about two dozen times. I select the pins in cube, selecting either HS or FS depending on the board. I then set the clock so that PLL_Q derives a 48Mhz USB signal (if needed because some of the boards have an external PHY). I then generate the code, compile and I get an Unknown USB device (Device3 Descriptor Request Failed) in device manager. I've tried every combination of HS/FS and on the F7 which has two ports, I made sure I had the correct port and mode.
I've read for hours on the web of people that had the same problem. They are in two broad categories, those that had a clock problem (PLL_M, N, P, Q not set correctly with HSE = 8000000) and those that got connected and then sent data too quickly prior to ensuring the connection is complete. There is a subset that had HS mode on an FS only connector but they are in the minority.
I need the HS USB VCP to work as my app sends real time ADC acquired data to the PC at a baudrate over 400k. I have it running on the F407 and it works great. I want to integrate one of the displays, most likely the F469 since it has the vertical resolution I need.
I will gladly make a contribution to the Ac6 cause if someone could demonstrate by example starting with Cube thru Ac6 to get an F469 (or F429 or F746) board enumerated. No transfer of data, just a successful enumeration would help. I think I have 100 hours in this bug which should have been easy. I tried mbed, which works, but their uart code is dropping characters so I had to pass.
Thanks for the help and if you contributed to this project, I think it is great overall.
Jerry