Question
STM32f427 SWD reset issue
Posted on May 21, 2014 at 14:51
On the board is STM32F427ZGT6 with SWD connection used alog with ULINK2 and KEIL 5.1 uVision.
The SWD connection is not recognized withot SWJ checked on, since at reset 32F427 switches to JTAG communication. The test program was compiled and successfully programmed in FLASH. When entering debug mode the stop must be issued, since the processor hangs in strange location.After manually setting R15 (PC) to 0x0800019c and starting , the code is running.Why reset button in keil uVision 5.1 is not reseting the target, only stops the target? The same code works with Discovery evaluation board without issue. NMI_Handler:0x08000198 1090 DCW 0x10900x0800019A 2000 DCW 0x2000 175: LDR R0, =SystemInit 0x0800019C 4808 LDR r0,[pc,#32] ; @0x080001C0 176: BLX R0 0x0800019E 4780 BLX r0 177: LDR R0, =__main 0x080001A0 4808 LDR r0,[pc,#32] ; @0x080001C4 178: BX R0 179: ENDP