2015-01-20 10:04 PM
Hi All,
I am trying to program STM32F105RCT7 using IAR, while I do program I am facing an error as belowUser error: Reset failed - Target held in reset state. I have check voltages at pin no. 1, 13, 19, 32, 48 and 64 I am getting 3.3Vdc. I have also tried to give GND on NRST pin but then also I am could not program my device. Similarly I tried with STM32F103R8 but it had not issue with program. Please help me if anybody have come across such issue. It is very urgent.2015-01-21 04:42 AM
It is very urgent.
Is someonehttp://www.catb.org/esr/faqs/smart-questions.html#urgent
? So maybe you have a schematic? Do you have the JTAG/SWD connector backward? Is the part correctly orientated?2015-01-21 09:07 PM
Dear Clivel,
I have SWD and it is working. As I mentioned that same ST-link/V2 is able to do program STM32F103 but unable to do program STM32F105. And yes of course part is correctly oriented.2015-01-22 02:10 AM
Ok, so your debug pod works on another board, with another chip, not sure that advances my understanding of this board.
Is this the SAME board design with a different chip soldered on it? Are you sure you don't have a short? Does a second board with F105 do the same?2015-01-22 02:56 AM
Dear Clive1,
I have checked all issue related to this. I have Two different board with two different chipset. one is with STM32F103 and one is with STM32F105. I have also program STM32F105 board more then 10 times. But suddenly It started showing this message.2015-01-22 03:10 AM
Does it do this if you reset the board with BOOT0 pulled high? This would cause it to run the System Loader, as apposed to user code which could turn off the power, or GPIO connectivity.
How about ''connect under reset'' type options for the debugger? NRESET should not be driven high by external circuitry, or tied to VCC.2015-01-22 04:27 AM
2015-01-22 05:40 AM
The Flash Loader Demonstrator with access to USART1 (PA9/PA10) would be able to, but this would require BOOT0 pulled high and running the System Loader. In normal operation BOOT0 should be pulled low.
The ST-LINK Utilities should provide a method, as do most IDE (Keil/IAR) to erase the flash independently of a debug session.2015-01-23 02:09 AM
Dear Clive,
I tried but all fail. I have removed my MCU and replace with new one. Now it is working.