2023-11-12 02:26 PM
Hi, I'm using an STM32F401RE board for a class(programming using MacOS). Right now, I'm using VSCode and make to edit and compile my code, then using stlink to flash it. All I'm trying to do is print hello world to the tty.usbmodem* screen in the /dev/ directory. To do this, I'm using the screen /dev/tty.usbmodem* but all I'm getting is [screen is terminating] anyone know why?
Here is my code:
while (1) {
}
Solved! Go to Solution.
2023-11-12 02:53 PM
This is probably because you're using "screen" as a terminal app. Try a terminal app that is better suited for serial ports, more robust.
2023-11-12 02:36 PM
NVM. Got it to work, plugging and unplugging it somehow solved the issue???
2023-11-12 02:53 PM
This is probably because you're using "screen" as a terminal app. Try a terminal app that is better suited for serial ports, more robust.