AnsweredAssumed Answered

Code only executes when semihosting

Question asked by smith.john.021 on Jun 28, 2016
Latest reply on Jul 1, 2016 by cnoviello
I have a STM32F4 Discovery board. I have GDB connected to OpenOCD and when I run my program on GDB it executes perfectly. When I disconnect the board and program it via ST-Link nothing happens. I tried and older program that I wrote and it worked on both GDB and ST-Link. What could be causing it to work on GDB in semihosting mode? And when I stop semihosting, the program stops running...

Outcomes