Question
My debugger [J-Link] cannot recognize and erase or download the program to the MCU [SWD]
Posted on September 04, 2015 at 13:33NOTE: edited by moderator on Oct 6th, 2016I'm working on my board to erase or download the program to the MCU. my MCU is STM32F103RBT6 and my programmer/debugger is J-Link. I have wired up the JLink to MCU like this. this is the JLink:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]Due to this pinout:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]And for my board(Please consider that R2 and R3 both are 10KOhm):[[this link/image has been flagged as malicious by our security scan software and has been deleted]]When I hook up the board and the debugger, looks like everythings are ok. Vcc is 2v5 and there is no connection(or short) between SWDIO and SWCLK pins to other pins. but I cannot connect the debugger to the MCU. my IDE is Keil. it give me this error:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]and then:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]I also have a STM32F0 board and always use this way to connect to it and I don't have any problem.When I connect the debugger to the STM32F103 this way, both LEDs(red and green) on the J-Link are light. but when I connect Pin15(Reset) of the J-link to the Reset pin of the MCU, just green LED is light. and when I trying to connect to the board, I get these errors:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]and then:[[this link/image has been flagged as malicious by our security scan software and has been deleted]]What's the matter with my board? should I connect the Reset pin of J-Link to the Reset pin of the MCU? #flash #stm32f103 #swderror #erase
