Hi Roberthh,
Could you be more specific about your idea?
Did you mean that connecting virtual machine to STM32L4R9IDISC is harder if not say impossible than connecting to the actual Ubuntu (maybe by dual bootloader)?
Hi Roberthh,
chrismas9 wrote: ↑Wed Nov 13, 2019 1:10 pmThe board has two USB connectors, one on top and one on bottom side. You will need two USB cables to get USB REPL to work. You need power into STlink port. It can be from phone charger or PC. The second cable must go from USB port labelled USB FS OTG to PC. You should then see. Virtual com port on your PC with REPL because USB is enabled in mpcongigboard.h
Hi Roberthh,Roberthh wrote: ↑Wed Nov 13, 2019 12:05 pmI would agree to your last statement. But my experience is more general about USB devices connected to virtual machines. And VMware supports USB better than VirtualBox. You could try to boot Linux from a live CD/DVD image to tell, whether that works better.
I agree with you. Probably, i have a bigger problem to concern about. I think I will check all the files I wrote and changes i made in library files. Using clocks is also a great idea to give it a go.chrismas9 wrote: ↑Fri Nov 15, 2019 2:21 amIf you can't get the green LED to flash you have a more fundamental problem than no REPL. I would review the driver and HAL interface changes you made for the MCU. On one port I did the interrupt vector table was different to most and I have also found the occassional bug in the STM32hal libraries.
I would also run STM32cubemx application from ST and set up the clock pins, then go to the clock page and run an auto tune. Some of the newer parts have more PLLs and you may find a peripheral that does not have its clock set up properly.