Forgive me if this is not the right forum to ask, I'm new here. I have a problem with the simplest test like the one in demos/STM32/RT-STM32F429-DISCOVERY. I have an OpenPilot Revolution board, which runs an STM32F405. I have created a custom board.(c/h) setup, which initializes my USB correctly, or at least I think so. I have also set up my LED PINs. The test runs just fine up to and including stable_19.1.x. However, versions above that one have issues. Here is a small table, which summarizes what works where:
Code: Select all
led ttyACM0 shell
stable_19.1.x blinks yes yes
stable_20.3.x blinks once yes no
stable_21.6.x blinks once yes no
stable_21.11.x blinks no no
As shown above, with version 19.1 I can connect to my board using ttyACM0 on Linux, I obtain a shell, I can run tests and generally use the whole shell functionality. In versions 20.3 and 21.6 however the shell doesn't work. When the board starts I can see one blink of the LED, then it's silent. I see that the device has registered as ttyACM0 by looking at dmesg, but when I connect the console I get no input/output. Version 21.11 is different in that the LEDs keep blinking (so the blinker thread is active), but the USB device does not register in Linux (no info in dmesg) and I don't have the console.
I think that the USB is initialized correctly: all works fine in 19, and the USB device registers in Linux in versions 20.3 and 21.6. It looks like something is wrong with the shellThread in those two cases. Version 21.11 is a total mystery.
Could anyone shed some light on that?