Open jmadden173 opened 1 week ago
Tagging @mirellameelo as we experiences issues where UART/Serial was not working when connected to a host device. When powering via DC power supply to simulate a battery, the program would not run. I know that has worked in the past when connected to a USB hub for power delivery, but is slightly buggy.
Describe the Bug After a session of debugging the stm32 with the ST-Link, upon flashing with the
stm32
env, there was no log messages being printed. I believe we've experienced this on other devices prior.To Reproduce Steps to reproduce the behavior:
Expected Behavior When running not attached to a debugger, the program should print out over UART.
Screenshots N/A
Environment
OS: Linux spruce 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux
Hardware version: 2.2.1-7 Software version:122-support-extending-buffer-size-with-sd-card
Platformio Version: 6.1.15Additional Context When running the debugger again I was able to view the log messages. To me it seems like some hardware flag is being set that can't be fixed through reflashing. I've tried using the STMCubeProgrammer to clear the flash memory without success.