Electronic – STM32 not booting without J-link

bootloaderembeddedresetstm32stm32f4

I've got a device with STM32F439 microcontroller on it. I flashed the firmware using the J-Flash utitilty (flashed and read back data is same). Then started the application from J-flash: everyting works fine. But when I restart the application without connected J-link the device is not booting.

P.S.: I think it should work if I would perform hardware reset, but device should start automatically on power on.

Update #1: I found a test board with STM32F417 on it and repeated the same action. The same result. Not starting without connected J-Link. But when I push "reset" button – it starts immediately. May be I should perform some internal resets before start?

Update #2: controller boots when there is permanent high voltage level on NRST pin.

Best Answer

Found solution. The problem was in JTAG connector: he gave a low level on NRST pin so external reset occured indefinitely.